mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:03:35 +08:00
Fixed VISION_POSITION_ESTIMATE.usec
Fixed units to be microseconds and not milliseconds.
This commit is contained in:
@@ -1459,7 +1459,7 @@ protected:
|
|||||||
|
|
||||||
if (_pos_sub->update(&_pos_time, &vpos)) {
|
if (_pos_sub->update(&_pos_time, &vpos)) {
|
||||||
mavlink_vision_position_estimate_t vmsg;
|
mavlink_vision_position_estimate_t vmsg;
|
||||||
vmsg.usec = vpos.timestamp_boot / 1000;
|
vmsg.usec = vpos.timestamp_boot;
|
||||||
vmsg.x = vpos.x;
|
vmsg.x = vpos.x;
|
||||||
vmsg.y = vpos.y;
|
vmsg.y = vpos.y;
|
||||||
vmsg.z = vpos.z;
|
vmsg.z = vpos.z;
|
||||||
|
|||||||
Reference in New Issue
Block a user