MAVLink app: Fix yaw scaling for joystick input

This commit is contained in:
Lorenz Meier 2015-05-28 17:41:03 -07:00
parent 5ac5fae020
commit aab379cde9
1 changed files with 1 additions and 1 deletions

View File

@ -948,7 +948,7 @@ MavlinkReceiver::handle_message_manual_control(mavlink_message_t *msg)
* which makes the corner positions unreachable.
* scale yaw up and clip it to overcome this.
*/
rc.values[2] = man.r / 1.5f + 1500;
rc.values[2] = man.r / 1.2f + 1500;
if (rc.values[2] > 2000) {
rc.values[2] = 2000;
} else if (rc.values[2] < 1000) {