once offboard is set by mavlink command ignore RC mode

This commit is contained in:
Thomas Gubler
2014-07-16 09:39:40 +02:00
parent 35a9dad998
commit 3c8927c423
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -206,6 +206,8 @@ struct vehicle_status_s {
bool offboard_control_signal_lost;
bool offboard_control_signal_weak;
uint64_t offboard_control_signal_lost_interval; /**< interval in microseconds without an offboard control message */
bool offboard_control_set_by_command; /**< true if the offboard mode was set by a mavlink command
and should not be overridden by RC */
/* see SYS_STATUS mavlink message for the following */
uint32_t onboard_control_sensors_present;