Fixed VISION_POSITION_ESTIMATE.usec

Fixed units to be microseconds and not milliseconds.
This commit is contained in:
tommises 2016-07-09 12:59:32 -06:00 committed by Lorenz Meier
parent a23785842c
commit f69e9a3d37

View File

@ -1459,7 +1459,7 @@ protected:
if (_pos_sub->update(&_pos_time, &vpos)) {
mavlink_vision_position_estimate_t vmsg;
vmsg.usec = vpos.timestamp_boot / 1000;
vmsg.usec = vpos.timestamp_boot;
vmsg.x = vpos.x;
vmsg.y = vpos.y;
vmsg.z = vpos.z;