mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 01:00:36 +08:00
feat(uxrce_dds_client): accept RTCM corrections from ROS 2 (#29368)
* feat(uxrce_dds_client): accept RTCM corrections from ROS 2 ROS 2 setups that need RTK had to keep a MAVLink link beside DDS just for GPS_RTCM_DATA. Routing by device_id gives each DDS source its own rtcm_corrections instance, so two publishers never interleave their byte streams. The DDS side needs no framing: the injectors reframe the stream from arbitrary chunks. Assisted-by: Claude:claude-opus-5-5 * docs(releases): note RTCM corrections over uXRCE-DDS Assisted-by: Claude:claude-opus-5-5 * fix(uavcan): bound RTCM corrections length before forwarding uXRCE-DDS is the first rtcm_corrections source that does not bound len. A ROS 2 RtcmData with len over 300 made the DroneCAN forwarder read past the data array and broadcast that memory as RTCMStream. Assisted-by: Claude:claude-opus-5-5 * docs(msg): drop the uXRCE-DDS routing note from RtcmData It described the client's routing rather than the message, and the device_id field comment already covers it. Assisted-by: Claude:claude-opus-5-5 * fix(uavcan): bound moving-baseline length before forwarding The forwarder trusted the publisher's len, the same gap just closed for rtcm_corrections. No current publisher exceeds the array, so this only keeps a future one from reading past it. Assisted-by: Claude:claude-opus-5-5 --------- Co-authored-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
This commit is contained in:
1 parent
5b518d2d95
commit
be03ec79c9
5 files changed
+18
-3
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
# Published under two topic names that share this definition (see TOPICS below):
|
||||
#
|
||||
# rtcm_corrections - external fixed-base corrections fed into the vehicle (MAVLink
|
||||
# GPS_RTCM_DATA, UAVCAN RTCMStream, GPS drivers in dump mode). Multiple
|
||||
# GPS_RTCM_DATA, UAVCAN RTCMStream, uXRCE-DDS, GPS drivers in dump mode). Multiple
|
||||
# sources are allowed, one uORB instance each; consumers select one instance.
|
||||
#
|
||||
# rtcm_moving_baseline - moving-base GPS output (RTCM 4072 or equivalent) intended for a rover.
|
||||
|
||||
Reference in new issue
Block a user