mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Fix gcs udp port to support more vehicles in multivehicle sitl
Limit remote udp port to 14549 Fix Cleanup port handling Fix bash syntax Fix
This commit is contained in:
@@ -109,7 +109,9 @@ param set MAV_SYS_ID $((px4_instance+1))
|
||||
simulator_tcp_port=$((4560+px4_instance))
|
||||
udp_offboard_port_local=$((14580+px4_instance))
|
||||
udp_offboard_port_remote=$((14540+px4_instance))
|
||||
udp_gcs_port_local=$((14570+px4_instance))
|
||||
[ $px4_instance -gt 9 ] && udp_offboard_port_remote=14549 # use the same ports for more than 10 instances to avoid port overlaps
|
||||
udp_gcs_port_local=$((18570+px4_instance))
|
||||
|
||||
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user