Skip to content

Commit

Permalink
SYS_COMPANION add RTPS client option
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Apr 1, 2018
1 parent 247cd06 commit c2fc952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ROMFS/px4fmu_common/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,10 @@ then
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 115200 -m minimal -r 1000
fi
if param compare SYS_COMPANION 6460800
then
micrortps_client start -t UART -d /dev/ttyS2 -b 460800
fi
if param compare SYS_COMPANION 1921600
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 921600 -r 20000
Expand Down
1 change: 1 addition & 0 deletions src/modules/micrortps_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ if (GENERATE_RTPS_BRIDGE)
set(uorb_sources_microcdr)

# send topic files
message(STATUS "RTPS send: ${config_rtps_send_topics}")
set(send_topic_files)
foreach(topic ${config_rtps_send_topics})
list(APPEND send_topic_files ${PX4_SOURCE_DIR}/msg/${topic}.msg)
Expand Down
1 change: 1 addition & 0 deletions src/modules/systemlib/system_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ PARAM_DEFINE_INT32(SYS_MC_EST_GROUP, 2);
* @value 538400 Minimal Telemetry (38400 baud, 8N1)
* @value 557600 Minimal Telemetry (57600 baud, 8N1)
* @value 5115200 Minimal Telemetry (115200 baud, 8N1)
* @value 6460800 RTPS Client (460800 baud)
* @value 1921600 ESP8266 (921600 baud, 8N1)
*
* @min 0
Expand Down

0 comments on commit c2fc952

Please sign in to comment.