mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 15:07:34 +08:00
Fix IO update when safety can not be set to on. From @zottgrammes
This commit is contained in:
@@ -200,8 +200,13 @@ then
|
||||
|
||||
if px4io start
|
||||
then
|
||||
# try to safe px4 io so motor outputs dont go crazy
|
||||
if px4io safety_on
|
||||
then
|
||||
# success! no-op
|
||||
else
|
||||
# px4io did not respond to the safety command
|
||||
px4io stop
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user