mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
vehicle_odometry: add timestamp_sample field for latency monitoring
This commit is contained in:
committed by
Daniel Agar
parent
ccaa103164
commit
5ffe88672e
@@ -1011,6 +1011,7 @@ int Simulator::publish_odometry_topic(const mavlink_message_t *odom_mavlink)
|
||||
struct vehicle_odometry_s odom;
|
||||
|
||||
odom.timestamp = timestamp;
|
||||
odom.timestamp_sample = timestamp;
|
||||
|
||||
const size_t POS_URT_SIZE = sizeof(odom.pose_covariance) / sizeof(odom.pose_covariance[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user