From 3bb61c23da52effe3d7ede48b655921688c17ebf Mon Sep 17 00:00:00 2001 From: Mehmet Killioglu Date: Wed, 20 Dec 2023 14:26:53 +0200 Subject: [PATCH] Run TCP server instead of client --- ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator b/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator index ef740b149c8d..6bd4d3f56c53 100644 --- a/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator +++ b/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator @@ -246,8 +246,8 @@ else echo "INFO [init] [UDP] PX4_SIM_HOSTNAME: localhost" simulator_mavlink start -u $simulator_udp_port else - echo "INFO [init] [TCP] PX4_SIM_HOSTNAME: localhost" - simulator_mavlink start -c $simulator_tcp_port + echo "INFO [init] [TCP-SERVER] PX4_SIM_HOSTNAME: localhost" + simulator_mavlink start -s $simulator_tcp_port fi else echo "INFO [init] PX4_SIM_HOSTNAME: ${PX4_SIM_HOST_ADDR}"