jmavsim_run.sh: enable SDK UDP port

We forgot to add the option -s for jmavsim_run.sh which starts jMAVSim
with the UDP port connecting to the SDK (port 14540).
This commit is contained in:
Julian Oes 2019-05-09 09:41:06 +02:00
parent d2ab31f0d7
commit e80d3940a6
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ extra_args=
baudrate=921600
device=
ip="127.0.0.1"
while getopts ":b:d:p:qr:f:i:l" opt; do
while getopts ":b:d:p:qsr:f:i:l" opt; do
case $opt in
b)
baudrate=$OPTARG
@ -27,6 +27,9 @@ while getopts ":b:d:p:qr:f:i:l" opt; do
q)
extra_args="$extra_args -qgc"
;;
s)
extra_args="$extra_args -sdk"
;;
r)
extra_args="$extra_args -r $OPTARG"
;;