mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 15:13:34 +08:00
SITL: fix parse error on start
This fixes the error: etc/init.d-posix/rcS: 39: [: Illegal number: Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
@@ -36,7 +36,7 @@ if [ "$PX4_SIMULATOR" = "sihsim" ] || [ "$(param show -q SYS_AUTOSTART)" -eq "0"
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "$PX4_SIMULATOR" = "gz" ] || [ "$(param show -q SIM_GZ_EN)" -eq "1" ]; then
|
elif [ "$PX4_SIMULATOR" = "gz" ] || [ "$(param show -q SIM_GZ_EN)" = "1" ]; then
|
||||||
|
|
||||||
# set local coordinate frame reference
|
# set local coordinate frame reference
|
||||||
if [ -n "${PX4_HOME_LAT}" ]; then
|
if [ -n "${PX4_HOME_LAT}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user