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);
......
Supports Markdown
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