Skip to content

Commit

Permalink
Add missing rcS.sim_tcp_server for SITL
Browse files Browse the repository at this point in the history
  • Loading branch information
jnippula committed Dec 20, 2023
1 parent 1153a90 commit b018afa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions ROMFS/px4fmu_common/init.d-posix/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ px4_add_romfs_files(
px4-rc.params
px4-rc.simulator
rc.replay
rcS.sim_tcp_server
rcS
)
10 changes: 10 additions & 0 deletions ROMFS/px4fmu_common/init.d-posix/rcS.sim_tcp_server
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

# search path for sourcing rcS
PATH="$PATH:${R}etc/init.d-posix"

# Define TCP server
export PX4_SIM_USE_TCP_SERVER=1

# Continue to the main startup script
. rcS

0 comments on commit b018afa

Please sign in to comment.