Commit 5ca377c3 authored by Julian Oes's avatar Julian Oes

Revert "UAS: send position not velocity"

This reverts commit 5e2881ce.
parent 5e2881ce
......@@ -2943,7 +2943,7 @@ void UAS::setManualControlCommands(float roll, float pitch, float yaw, float thr
const uint16_t thrustCommand = (uint16_t)(thrust * axesScaling);
uint8_t mode = 4; // for position setpoint (OFFBOARD_CONTROL_MODE_DIRECT_POSITION)
uint8_t mode = 3; // for velocity setpoint (OFFBOARD_CONTROL_MODE_DIRECT_VELOCITY)
// Send the MANUAL_COMMAND message
mavlink_message_t message;
......
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