forked from Archive/PX4-Autopilot
Simplify getting sim PID
Follow up of https://github.com/PX4/Firmware/pull/15206#pullrequestreview-436356707
This commit is contained in:
parent
6dd0932158
commit
ae4ed87a31
|
@ -104,7 +104,7 @@ elif [ "$program" == "gazebo" ] && [ ! -n "$no_sim" ]; then
|
|||
gzserver "$PX4_SITL_WORLD" &
|
||||
fi
|
||||
fi
|
||||
SIM_PID=`echo $!`
|
||||
SIM_PID=$!
|
||||
gz model --spawn-file="${src_path}/Tools/sitl_gazebo/models/${model}/${model}.sdf" --model-name=${model} -x 1.01 -y 0.98 -z 0.83
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue