Plane: use enum class for AltFrame enumeration
This commit is contained in:
parent
366051c39f
commit
f940564f2b
@ -1124,7 +1124,7 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg)
|
||||
last_hil_state = packet;
|
||||
|
||||
// set gps hil sensor
|
||||
const Location loc{packet.lat, packet.lon, packet.alt/10, Location::ALT_FRAME_ABSOLUTE};
|
||||
const Location loc{packet.lat, packet.lon, packet.alt/10, Location::AltFrame::ABSOLUTE};
|
||||
Vector3f vel(packet.vx, packet.vy, packet.vz);
|
||||
vel *= 0.01f;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user