forked from PX4/PX4-Autopilot
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing rcS.sim_tcp_server for SITL
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,5 +38,6 @@ px4_add_romfs_files( | |
px4-rc.params | ||
px4-rc.simulator | ||
rc.replay | ||
rcS.sim_tcp_server | ||
rcS | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |