diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index e4f53eef0d307a5889751eac1fdb6db88d9d4889..4768ad75b8b3b47618bd7689e0ecd170a3282320 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -2578,7 +2578,6 @@ void UAS::setExternalControlSetpoint(float roll, float pitch, float yaw, float t const float newThrustCommand = thrust * axesScaling; // Send the MANUAL_COMMAND message - mavlink_message_t message; mavlink_msg_manual_control_pack(mavlink->getSystemId(), mavlink->getComponentId(), &message, this->uasId, newPitchCommand, newRollCommand, newThrustCommand, newYawCommand, buttons); }