I’d like my Rover to disarm if the GPS_FIX_TYPE changes to be other than 5 or 6.
(I doubt it, but…) Is there a configuration parameter that will achieve this without code? (Somewhat similar to AHRS_GPS_MINSATS)
Else, what are the approaches to implementing this in code? Goal is something that’s quite robust, i.e. doesn’t drop messages, if even at the cost of programming complexity.
- Write a program (python?) that runs on the pixhawk at boot (standard etc/init.d startup), subscribes to MAVLINK messages, and sends a MAV_CMD_DO_SET_MODE message?
- Should I create a Lua Script (although it seems I would have to add a new binding)
- Install a companion computer and write a custom mavlink client that runs on it?
@rmackay9 any pointers in the right direction would be appreciated.
Thanks