uorb: add message format compatibility check

This can be used by DDS/ROS 2 to check for matching message definitions.
This commit is contained in:
Beat Küng
2023-07-26 13:22:03 +02:00
parent 0dcecf0666
commit 22acb08406
9 changed files with 162 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
uint64 timestamp # time since system start (microseconds)
# Response from PX4 with the format of a message
uint16 protocol_version # Must be set to LATEST_PROTOCOL_VERSION. Do not change this field, it must be the first field after the timestamp
char[50] topic_name # E.g. /fmu/in/vehicle_command
bool success
uint32 message_hash # hash over all message fields