Skip to content
Snippets Groups Projects
Commit f2082410 authored by Daniel Agar's avatar Daniel Agar
Browse files

SYS_COMPANION add RTPS client option

parent e9e01f75
No related branches found
No related tags found
No related merge requests found
......@@ -697,6 +697,10 @@ fi
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
......
......@@ -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)
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment