mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 13:37:34 +08:00
Update frame in mavlink receiver odometry to newest mavlink
This commit is contained in:
committed by
Kabir Mohammed
parent
9c46a89f64
commit
8ce4a15778
@@ -1273,7 +1273,7 @@ MavlinkReceiver::handle_message_odometry(mavlink_message_t *msg)
|
||||
PX4_ERR("Body frame %u not supported. Unable to publish velocity", odom.child_frame_id);
|
||||
}
|
||||
|
||||
if (odom.frame_id == MAV_FRAME_VISION_NED) {
|
||||
if (odom.frame_id == MAV_FRAME_LOCAL_FRD) {
|
||||
_visual_odometry_pub.publish(odometry);
|
||||
|
||||
} else if (odom.frame_id == MAV_FRAME_MOCAP_NED) {
|
||||
|
||||
Reference in New Issue
Block a user