mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 11:23:06 +08:00
jMAVSim: update submodule, use -lockstep CLI arg
This updates the jMAVSim submodule which includes a fix for HITL. In order to fix HITL, a CLI argument `-lockstep` was required to enable lockstep. This has now been added to the command in jmavsim_run.sh.
This commit is contained in:
+1
-1
Submodule Tools/jMAVSim updated: 00bdf6d92b...0c25b7c189
@@ -61,11 +61,11 @@ fi
|
||||
ant create_run_jar copy_res
|
||||
cd out/production
|
||||
|
||||
java -XX:GCTimeRatio=20 -Djava.ext.dirs= -jar jmavsim_run.jar $device $extra_args
|
||||
java -XX:GCTimeRatio=20 -Djava.ext.dirs= -jar jmavsim_run.jar -lockstep $device $extra_args
|
||||
ret=$?
|
||||
if [ $ret -ne 0 -a $ret -ne 130 ]; then # 130 is Ctrl-C
|
||||
# if the start of java fails, it's probably because the GC option is not
|
||||
# understood. Try starting without it
|
||||
java -Djava.ext.dirs= -jar jmavsim_run.jar $device $extra_args
|
||||
java -Djava.ext.dirs= -jar jmavsim_run.jar -lockstep $device $extra_args
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user