Skip to content

Commit

Permalink
Run TCP server instead of client
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetkillioglu committed Dec 20, 2023
1 parent fa821f6 commit 3bb61c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 3bb61c2

Please sign in to comment.