Commit 4661e2b6 authored by Andreas Antener's avatar Andreas Antener

remove local definition

parent a6336ce3
...@@ -2578,7 +2578,6 @@ void UAS::setExternalControlSetpoint(float roll, float pitch, float yaw, float t ...@@ -2578,7 +2578,6 @@ void UAS::setExternalControlSetpoint(float roll, float pitch, float yaw, float t
const float newThrustCommand = thrust * axesScaling; const float newThrustCommand = thrust * axesScaling;
// Send the MANUAL_COMMAND message // 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); mavlink_msg_manual_control_pack(mavlink->getSystemId(), mavlink->getComponentId(), &message, this->uasId, newPitchCommand, newRollCommand, newThrustCommand, newYawCommand, buttons);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment