Failsafe functions

I am pouring thru all of the C code for ArduPilot and get most of it. I am having some difficulty understanding all that is done in the FailSafe code. Can anyone summarize what all is going on or point me to a reference?Thanks

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics
    As you no doubt figured out, that is just for the attiny processor on the board. It uses an interrupt-driven process to watch the PWM on the enable channel, looking for signals in three ranges: down, middle and up. It then sets Atmega pins 4 and 5 and the multiplexer switch pin high or low depending on which state it sees.
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…