aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_status.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-07-16 09:38:57 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-07-16 09:39:40 +0200
commit3c8927c42386a6528f120d04ec93f5ab9b453a5b (patch)
tree162af3bece7542ae5176e37e33bc5252785a96eb /src/modules/uORB/topics/vehicle_status.h
parent35a9dad998961c9f8aa5ab5d015cb4b3a642a9ce (diff)
downloadpx4-firmware-3c8927c42386a6528f120d04ec93f5ab9b453a5b.tar.gz
px4-firmware-3c8927c42386a6528f120d04ec93f5ab9b453a5b.tar.bz2
px4-firmware-3c8927c42386a6528f120d04ec93f5ab9b453a5b.zip
once offboard is set by mavlink command ignore RC mode
Diffstat (limited to 'src/modules/uORB/topics/vehicle_status.h')
-rw-r--r--src/modules/uORB/topics/vehicle_status.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_status.h b/src/modules/uORB/topics/vehicle_status.h
index b46c00b75..7a40ac636 100644
--- a/src/modules/uORB/topics/vehicle_status.h
+++ b/src/modules/uORB/topics/vehicle_status.h
@@ -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;