Python script to take off drone

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
Posts: 1
Joined: Wed Dec 21, 2016 10:30 am

Python script to take off drone

Post by vaan46 » Wed Dec 21, 2016 11:27 am

Sorry for my question, you can take off the drone via a simple python script without using a joystick or client, then simply calling the script through command line?
to explain better, scripts like the examples in crazyflie-lib-python (basiclog, autonoumusSequence..)

Posts: 1218
Joined: Tue Feb 06, 2007 12:36 pm

Re: Python script to take off drone

Post by arnaud » Tue Jan 03, 2017 11:08 am

Hi, The autonomous sequence example is doing that, autonomous takeoff, but it requires a local positioning system of some sort.

What are you trying to achieve? Autonomous flight without a local positioning system of other extra sensor will only results in crash. This is because the Crazyflie has not way of knowing where it is in the room. That said you can always experiment with sending sequences of commands but most likely you will not be able to fly more than a couple of seconds before hitting something.

If you browse the forum for hover mode you will find a couple of attempt and even some code, for example this thread: viewtopic.php?f=6&t=2242.

Post Reply