Skip to content

Commit

Permalink
jmavsim_run.sh: enable SDK UDP port
Browse files Browse the repository at this point in the history
We forgot to add the option -s for jmavsim_run.sh which starts jMAVSim
with the UDP port connecting to the SDK (port 14540).
  • Loading branch information
julianoes committed May 9, 2019
1 parent d2ab31f commit e80d394
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tools/jmavsim_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
;;
Expand Down

0 comments on commit e80d394

Please sign in to comment.