ekf2_timestamps.msg: add new message with ekf2 timestamps

This commit is contained in:
Beat Küng
2017-03-03 08:25:02 +01:00
committed by Lorenz Meier
parent 473192aa81
commit df3ef3660b
2 changed files with 25 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ set(msg_file_names
distance_sensor.msg
ekf2_innovations.msg
ekf2_replay.msg
ekf2_timestamps.msg
esc_report.msg
esc_status.msg
estimator_status.msg

24
msg/ekf2_timestamps.msg Normal file
View File

@@ -0,0 +1,24 @@
# this message contains the (relative) timestamps of the sensor inputs used by
# ekf2. It can be used for reproducible replay.
# timestamp # ekf2 reference time. This matches the timestamp of the
# sensor_combined topic.
int16 RELATIVE_TIMESTAMP_INVALID = 32767 # (0x7fff) If one of the relative timestamps
# is set to this value, it means the associated sensor values did not update
# timestamps are relative to the main timestamp and are in 0.1 ms (timestamp +
# *_timestamp_rel = absolute timestamp). For int16, this allows a maximum
# difference of +-3.2s to the sensor_combined topic.
int16 gps_timestamp_rel
int16 optical_flow_timestamp_rel
int16 distance_sensor_timestamp_rel
int16 airspeed_timestamp_rel
int16 vision_position_timestamp_rel
int16 vision_attitude_timestamp_rel
# Note: this is a high-rate logged topic, so it needs to be as small as possible