Skip to content
Snippets Groups Projects
Commit 80e10645 authored by Kabir Mohammed's avatar Kabir Mohammed Committed by Lorenz Meier
Browse files

mavlink : fix legacy vision interface attitude timestamps

parent 058bc97c
No related branches found
No related tags found
No related merge requests found
......@@ -1164,6 +1164,8 @@ MavlinkReceiver::handle_message_vision_position_estimate(mavlink_message_t *msg)
struct vehicle_attitude_s vision_attitude = {};
vision_attitude.timestamp = sync_stamp(pos.usec);
math::Quaternion q;
q.from_euler(pos.roll, pos.pitch, pos.yaw);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment