programming trajectory pre-flight

Firmware/software/electronics/mechanics
Post Reply
Newbie
Beginner
Posts: 12
Joined: Sun Oct 31, 2021 8:30 pm

programming trajectory pre-flight

Post by Newbie »

Hi, I am absolutely new to drones and programming, so this might be a silly question: if a drone has a flowdeck, it can track altitude and speed without reliance on GPS, meaning it can track travelled distance. As such, it should be possible to program the drone beforehand to travel a certain trajectory i.e. how far to travel in meters, how many degrees to turn, and what altitude to have, and land after the trajectory, all of this autonomously during flight.

Am I correct in assuming this? If so, what are the usual programs to do this?

Thanks!
jonasdn
Expert
Posts: 132
Joined: Mon Mar 01, 2021 3:13 pm

Re: programming trajectory pre-flight

Post by jonasdn »

Hello Newbie!

You are right, this is possible. The usual ways are either by using radio (https://www.bitcraze.io/products/crazyradio-pa/) to upload trajectories, or to send setpoints of where the drone should go.

For more information about the Crazyflie and its eco-system you can start here: https://www.bitcraze.io/documentation/system/


For communicating over radio you can check out our python library: https://www.bitcraze.io/documentation/r ... on/master/ and once you've gotten the hang of that, check the examples in the https://github.com/bitcraze/crazyflie-l ... s/autonomy directory.

And if you prefer to check out "complete autonomy" you can read about writing applications that live on the drone firmware here: https://www.bitcraze.io/documentation/r ... app_layer/

Regards
Jonas
Newbie
Beginner
Posts: 12
Joined: Sun Oct 31, 2021 8:30 pm

Re: programming trajectory pre-flight

Post by Newbie »

Hi Jonas, thanks a million for the links! Kimberly from bitcraze also mentioned a few things and some links, and re-directed me to this forum. I ordered a Crazyflie, flowdeck and multi ranger a few days ago, so I am waiting right now and am very excited to get started. I am sure I will have many questions once I try to program the trajectory, so I hope this forum will be able to help.
Post Reply