forked from Archive/PX4-Autopilot
sitl_run.sh use full path to jmavsim_run.sh
This commit is contained in:
parent
e7afecb544
commit
31ddf6bdd9
|
@ -64,7 +64,7 @@ SIM_PID=0
|
||||||
|
|
||||||
if [ "$program" == "jmavsim" ] && [ ! -n "$no_sim" ]
|
if [ "$program" == "jmavsim" ] && [ ! -n "$no_sim" ]
|
||||||
then
|
then
|
||||||
./Tools/jmavsim_run.sh &
|
$src_path/Tools/jmavsim_run.sh &
|
||||||
SIM_PID=`echo $!`
|
SIM_PID=`echo $!`
|
||||||
cd ../..
|
cd ../..
|
||||||
elif [ "$program" == "gazebo" ] && [ ! -n "$no_sim" ]
|
elif [ "$program" == "gazebo" ] && [ ! -n "$no_sim" ]
|
||||||
|
|
Loading…
Reference in New Issue