sitl_run.sh use full path to jmavsim_run.sh

This commit is contained in:
Daniel Agar 2016-09-09 18:42:07 -04:00 committed by Beat Küng
parent e7afecb544
commit 31ddf6bdd9
1 changed files with 1 additions and 1 deletions

View File

@ -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" ]