Andrew Tridgell's Blog – June 2011 Archive (1)

Inverted flight patch for APM

I thought it would be fun to have an 'inverted flight' switch on my transmitter. With an APM, it's easy! I just added a check for a PWM value above 1700 on channel 7 in read_control_switch(), and when it is above 1700 it sets a inverted_flight boolean. That adds 180 degrees to the nav_roll, which is the target roll for the stabiliser, and it switches the…


Added by Andrew Tridgell on June 12, 2011 at 7:30pm — 22 Comments

© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service