From e80d3940a6e5c1d041230afdfca31f06b444d993 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 9 May 2019 09:41:06 +0200 Subject: [PATCH] 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). --- Tools/jmavsim_run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/jmavsim_run.sh b/Tools/jmavsim_run.sh index 5f41dcd54b..18c92485c1 100755 --- a/Tools/jmavsim_run.sh +++ b/Tools/jmavsim_run.sh @@ -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" ;;