Hi,
I'm using the Crazyflie for a research project. I've already made the necessary hardware and firmware modifications, and I wrote a Python program to control the Crazyflie autonomously. Essentially, I'm checking the values of two analog sensors (attached to the Crazyflie, currently done throught the logging framework) and, if they're below a certain threshold, executing a certain escape maneuver within a control loop (so the maneuver's duration is based on the value of the sensors), before executing a separate landing maneuver. This is done each time the sensor values drop below the threshold.
However, I'm finding that the wireless communication latency is a little too high, and so I'm trying to adapt the algorithm to run on the Crazyflie itself. Any advice/ideas/examples?
Thanks in advance!
Completely Autonomous Flight
Re: Completely Autonomous Flight
Nice, would like to see what you done so far, any chance of a video ?
What I think you should do is to hook in your algorithm instead of the commander (commander.c), or in parallel. The commander is called form the stabilization module each loop so that way you can insert your own desired set points.
What I think you should do is to hook in your algorithm instead of the commander (commander.c), or in parallel. The commander is called form the stabilization module each loop so that way you can insert your own desired set points.
-
- Expert
- Posts: 162
- Joined: Thu Jun 06, 2013 9:56 pm
- Location: Munich
Re: Completely Autonomous Flight
This sounds pretty awesome! Could you share any more details? Thanks!
Re: Completely Autonomous Flight
Any progress on this project?
Re: Completely Autonomous Flight
Hi everyone,
I'm really sorry—I've been extremely busy and completely forgot about this thread. I was actually selected as a Google Science Fair Regional Finalist (90 in the world) and a Computer Science Award nominee (15 in the world) for this project! I posted more details (along with links to a video/pictures/etc.) at http://forum.bitcraze.se/viewtopic.php?f=6&t=935.
Thanks so much, and sorry for the delay!
I'm really sorry—I've been extremely busy and completely forgot about this thread. I was actually selected as a Google Science Fair Regional Finalist (90 in the world) and a Computer Science Award nominee (15 in the world) for this project! I posted more details (along with links to a video/pictures/etc.) at http://forum.bitcraze.se/viewtopic.php?f=6&t=935.
Thanks so much, and sorry for the delay!