Add support for set_position_target_local_ned message

This commit is contained in:
Thomas
2020-11-27 12:15:53 +01:00
committed by Silvan Fuhrer
parent 1e6976234f
commit db58269577
+1
View File
@@ -906,6 +906,7 @@ MavlinkReceiver::handle_message_set_position_target_local_ned(mavlink_message_t
pos_sp_triplet.current.x = set_position_target_local_ned.x;
pos_sp_triplet.current.y = set_position_target_local_ned.y;
pos_sp_triplet.current.z = set_position_target_local_ned.z;
pos_sp_triplet.current.cruising_speed = get_offb_cruising_speed();
} else {
pos_sp_triplet.current.position_valid = false;