forked from Archive/PX4-Autopilot
MAVLink app: Fix yaw scaling for joystick input
This commit is contained in:
parent
5ac5fae020
commit
aab379cde9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue