Commit 12bcca0c authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

lower roll value in manual control input

Lower roll value in manual input to do straighter trajectories
parent 671da487
......@@ -382,7 +382,7 @@ int mavsdk_setManualControlInput(void) {
angle_diff -= 360;
}
return setManualControlInput(0, (angle_diff > 0 ? 1 : -1) * std::min(abs(angle_diff), 30.0f) / 30, 0, 0);
return setManualControlInput(0, (angle_diff > 0 ? 1 : -1) * std::min(abs(angle_diff), 70.0f) / 70, 0, 0);
}
// Information functions
......
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