mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 06:43:34 +08:00
sitl bash fix for pid recording
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ then
|
|||||||
if [ -x "$(command -v gazebo)" ]
|
if [ -x "$(command -v gazebo)" ]
|
||||||
then
|
then
|
||||||
gazebo ${SITL_GAZEBO_PATH}/worlds/iris.world &
|
gazebo ${SITL_GAZEBO_PATH}/worlds/iris.world &
|
||||||
SIM_PID=echo $!
|
SIM_PID=`echo $!`
|
||||||
else
|
else
|
||||||
echo "You need to have gazebo simulator installed!"
|
echo "You need to have gazebo simulator installed!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user