Search found 3 matches
- Tue Sep 08, 2015 4:14 pm
- Forum: Developer Discussions
- Topic: Trim Parameter Packets
- Replies: 1
- Views: 1637
Trim Parameter Packets
My plan is to set the trim parameters on my CF2 from an iPhone app. I've seen someone set the altHold parameter (packet shown below) but I don't understand how to generate the packets to send trim parameter updates. struct __attribute__((packed)) { uint8_t header; uint8_t ident; uint8_t val; } altHo...
- Mon Jul 27, 2015 4:42 pm
- Forum: Developer Discussions
- Topic: Free fall detection in firmware (stabilizer.c)
- Replies: 3
- Views: 4492
Re: Free fall detection in firmware (stabilizer.c)
Thank you, using your code as a base I was able to play around a little bit with different ways to recover from a free fall.
- Tue Jul 21, 2015 3:30 pm
- Forum: Developer Discussions
- Topic: Free fall detection in firmware (stabilizer.c)
- Replies: 3
- Views: 4492
Free fall detection in firmware (stabilizer.c)
Hello, I am currently trying to implement a very basic free fall detection. I basically just check the current value of vSpeedAcc and after a certain threshold I set the actuatorThrust to the maximum. Flashing the firmware works fine, but even though I log values above the threshold, the Crazyflie d...