diff --git a/Tools/sitl_run.sh b/Tools/sitl_run.sh index dc0123edde..c6961765e0 100755 --- a/Tools/sitl_run.sh +++ b/Tools/sitl_run.sh @@ -64,7 +64,7 @@ SIM_PID=0 if [ "$program" == "jmavsim" ] && [ ! -n "$no_sim" ] then - ./Tools/jmavsim_run.sh & + $src_path/Tools/jmavsim_run.sh & SIM_PID=`echo $!` cd ../.. elif [ "$program" == "gazebo" ] && [ ! -n "$no_sim" ]