mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
Update use of time stamp field
This commit is contained in:
committed by
Lorenz Meier
parent
616c5012da
commit
1f0e630958
@@ -1626,7 +1626,7 @@ protected:
|
||||
if (_est_sub->update(&_est_time, &est)) {
|
||||
mavlink_local_position_ned_cov_t msg = {};
|
||||
|
||||
msg.time_boot_ms = est.timestamp / 1000;
|
||||
msg.time_usec = est.timestamp;
|
||||
msg.x = est.states[0];
|
||||
msg.y = est.states[1];
|
||||
msg.z = est.states[2];
|
||||
|
||||
Reference in New Issue
Block a user