px4io driver: force failsafe depending on actuator armed

This commit is contained in:
Thomas Gubler
2014-07-19 12:46:52 +02:00
parent d7e1502a26
commit 689536893c
2 changed files with 15 additions and 8 deletions
+2 -1
View File
@@ -56,6 +56,7 @@ struct actuator_armed_s {
bool armed; /**< Set to true if system is armed */
bool ready_to_arm; /**< Set to true if system is ready to be armed */
bool lockdown; /**< Set to true if actuators are forced to being disabled (due to emergency or HIL) */
bool force_failsafe; /**< Set to true if the actuators are forced to the failsafe position */
};
/**
@@ -65,4 +66,4 @@ struct actuator_armed_s {
/* register this as object request broker structure */
ORB_DECLARE(actuator_armed);
#endif
#endif