admin
|
We don't use interrupts in the SRV-1 code. You might get some ideas on using interrupts from this thread, but I suspect an easier approach will be to modify the failsafe logic in the main polling loop in main.c to monitor for values that are out of range. As regards using the tilt sensor, is there for a flying robot ? The tilt sensor will indicate attitude change, but you need gyros to detect off-course drift.
|