jMAVSim: use PX4_SIM_SPEED_FACTOR, not cli arg

In order to be consistent between Gazebo and jMAVSim we should be using
the env variable PX4_SIM_SPEED_FACTOR in the same way. This enables
vscode to set the speed using the env variable.
This commit is contained in:
Julian Oes
2019-06-17 11:42:42 +02:00
committed by Daniel Agar
parent fea284f728
commit e1671571c8
3 changed files with 2 additions and 12 deletions
-3
View File
@@ -33,9 +33,6 @@ while getopts ":b:d:p:qsr:f:i:l" opt; do
r)
extra_args="$extra_args -r $OPTARG"
;;
f)
extra_args="$extra_args -f $OPTARG"
;;
l)
extra_args="$extra_args -lockstep"
;;