Fix bash syntax

This commit is contained in:
JaeyoungLim
2020-02-18 13:51:42 +01:00
committed by Julian Kent
parent 30cc3a1243
commit b365fbf1e9
+1 -1
View File
@@ -109,7 +109,7 @@ 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))
[ $px4_instance > 9] && udp_offboard_port_remote=14549 # use the same ports for more than 10 instances to avoid port overlaps
[ $px4_instance > 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))