mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
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:
@@ -10,7 +10,7 @@ extra_args=
|
|||||||
baudrate=921600
|
baudrate=921600
|
||||||
device=
|
device=
|
||||||
ip="127.0.0.1"
|
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
|
case $opt in
|
||||||
b)
|
b)
|
||||||
baudrate=$OPTARG
|
baudrate=$OPTARG
|
||||||
@@ -27,6 +27,9 @@ while getopts ":b:d:p:qr:f:i:l" opt; do
|
|||||||
q)
|
q)
|
||||||
extra_args="$extra_args -qgc"
|
extra_args="$extra_args -qgc"
|
||||||
;;
|
;;
|
||||||
|
s)
|
||||||
|
extra_args="$extra_args -sdk"
|
||||||
|
;;
|
||||||
r)
|
r)
|
||||||
extra_args="$extra_args -r $OPTARG"
|
extra_args="$extra_args -r $OPTARG"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user