To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 63aa325f authored by Tobias's avatar Tobias
Browse files

.csv debugging files are created, sign back to normal for bodyrates

parent 1c828e31
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -664,8 +664,8 @@ void centralized_control_command( Controller::Request &request, Controller::Resp
desired_eulerrates_to_bodyrates( request , outRoll , outPitch, bodyrates);
// PREPARE AND RETURN THE VARIABLE "response"
response.controlOutput.roll = -bodyrates[0];
response.controlOutput.pitch = -bodyrates[1];
response.controlOutput.roll = bodyrates[0];
response.controlOutput.pitch = bodyrates[1];
response.controlOutput.yaw = outYaw;
response.controlOutput.motorCmd1 = computeMotorPolyBackward(thrustSum/4 + gravity_force_copterloadsystem);
response.controlOutput.motorCmd2 = computeMotorPolyBackward(thrustSum/4 + gravity_force_copterloadsystem);
......
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