mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Rover: accept more mav-frame types
accept mav frames whether or not they have _INT appended
This commit is contained in:
parent
305659c5c3
commit
b1684b5377
@ -1095,9 +1095,11 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// check for supported coordinate frames
|
// check for supported coordinate frames
|
||||||
if (packet.coordinate_frame != MAV_FRAME_GLOBAL_INT &&
|
if (packet.coordinate_frame != MAV_FRAME_GLOBAL &&
|
||||||
|
packet.coordinate_frame != MAV_FRAME_GLOBAL_INT &&
|
||||||
packet.coordinate_frame != MAV_FRAME_GLOBAL_RELATIVE_ALT &&
|
packet.coordinate_frame != MAV_FRAME_GLOBAL_RELATIVE_ALT &&
|
||||||
packet.coordinate_frame != MAV_FRAME_GLOBAL_RELATIVE_ALT_INT &&
|
packet.coordinate_frame != MAV_FRAME_GLOBAL_RELATIVE_ALT_INT &&
|
||||||
|
packet.coordinate_frame != MAV_FRAME_GLOBAL_TERRAIN_ALT &&
|
||||||
packet.coordinate_frame != MAV_FRAME_GLOBAL_TERRAIN_ALT_INT) {
|
packet.coordinate_frame != MAV_FRAME_GLOBAL_TERRAIN_ALT_INT) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user