|
|
|
@ -65,9 +65,9 @@ SIM_PID=0
@@ -65,9 +65,9 @@ SIM_PID=0
|
|
|
|
|
|
|
|
|
|
# Allow speed factor to bet set from environment. |
|
|
|
|
if [[ -n "$PX4_SIM_SPEED_FACTOR" ]]; then |
|
|
|
|
speed_factor=$PX4_SIM_SPEED_FACTOR |
|
|
|
|
speed_factor=$PX4_SIM_SPEED_FACTOR |
|
|
|
|
else |
|
|
|
|
speed_factor=1 |
|
|
|
|
speed_factor=1 |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$program" == "jmavsim" ] && [ ! -n "$no_sim" ]; then |
|
|
|
@ -116,7 +116,7 @@ export PX4_SIM_MODEL=${model}
@@ -116,7 +116,7 @@ export PX4_SIM_MODEL=${model}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -n "$DONT_RUN" ]]; then |
|
|
|
|
echo "Not running simulation (\$DONT_RUN is set)." |
|
|
|
|
echo "Not running simulation (\$DONT_RUN is set)." |
|
|
|
|
elif [ "$debugger" == "lldb" ]; then |
|
|
|
|
eval lldb -- $sitl_command |
|
|
|
|
elif [ "$debugger" == "gdb" ]; then |
|
|
|
|