Skip to content
Snippets Groups Projects
Commit 18f7ee2d authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

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.
parent d6dc5a73
No related branches found
No related tags found
No related merge requests found
Subproject commit 00bdf6d92b6a8678f5b683a3ebca9e52e88cb5ce
Subproject commit 0c25b7c18990a64fc851cfd7fe3aac9a4060aea3
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment