mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 03:11:35 +08:00
jMAVSim: update submodule for new -f argument
This adds the argument -f for a speed factor to speed up the simulation.
This commit is contained in:
@@ -10,7 +10,7 @@ extra_args=
|
||||
baudrate=921600
|
||||
device=
|
||||
ip="127.0.0.1"
|
||||
while getopts ":b:d:p:qr:i:" opt; do
|
||||
while getopts ":b:d:p:qr:f:i:" opt; do
|
||||
case $opt in
|
||||
b)
|
||||
baudrate=$OPTARG
|
||||
@@ -30,6 +30,9 @@ while getopts ":b:d:p:qr:i:" opt; do
|
||||
r)
|
||||
extra_args="$extra_args -r $OPTARG"
|
||||
;;
|
||||
f)
|
||||
extra_args="$extra_args -f $OPTARG"
|
||||
;;
|
||||
\?)
|
||||
echo "Invalid option: -$OPTARG" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user