Skip to content

Commit

Permalink
Simplify getting sim PID
Browse files Browse the repository at this point in the history
Follow up of #15206 (review)
  • Loading branch information
Jaeyoung-Lim authored and bkueng committed Jun 24, 2020
1 parent 6dd0932 commit ae4ed87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/sitl_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ae4ed87

Please sign in to comment.