mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
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:
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user