Skip to content

Commit

Permalink
When using micrortps and mavlink on uart, launch mavlink in "normal" …
Browse files Browse the repository at this point in the history
…mode

This is required for HIL simulation to work on the same mavlink instance.

Also, the high resolution sensor output data is not needed on mavlink,
as we use RTPS for the purpose.

This should be configurable by a parameter, but just fixing it is sufficient
for now.

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Jan 11, 2021
1 parent 500217f commit 090a0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/micrortps_bridge/micrortps_client/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module_name: RTPS
serial_config:
- command: |
protocol_splitter start ${SERIAL_DEV}
mavlink start -d /dev/mavlink -b p:${BAUD_PARAM} -m onboard -r 5000 -x
mavlink start -d /dev/mavlink -b p:${BAUD_PARAM} -x
micrortps_client start -d /dev/rtps -b p:${BAUD_PARAM} -l -1
port_config_param:
name: RTPS_MAV_CONFIG
Expand Down

0 comments on commit 090a0f2

Please sign in to comment.