mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00: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
|
if px4io start
|
||||||
then
|
then
|
||||||
|
# try to safe px4 io so motor outputs dont go crazy
|
||||||
if px4io safety_on
|
if px4io safety_on
|
||||||
then
|
then
|
||||||
|
# success! no-op
|
||||||
|
else
|
||||||
|
# px4io did not respond to the safety command
|
||||||
|
px4io stop
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user