Skip to content

Commit

Permalink
AP_MotorsHeli: expand swashplate servo range
Browse files Browse the repository at this point in the history
  • Loading branch information
bnsgeyer authored Dec 2, 2023
1 parent c1e6f13 commit 76965c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_Motors/AP_MotorsHeli_Swash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ void AP_MotorsHeli_Swash::add_servo_raw(uint8_t num, float roll, float pitch, fl
SRV_Channels::set_aux_channel_default(function, _motor_num[num]);

// outputs are defined on a -500 to 500 range for swash servos
SRV_Channels::set_range(function, 1000);
SRV_Channels::set_range(function, 1400);

// swash servos always use full endpoints as restricting them would lead to scaling errors
SRV_Channels::set_output_min_max(function, 1000, 2000);
SRV_Channels::set_output_min_max(function, 800, 2200);

}

Expand Down

0 comments on commit 76965c2

Please sign in to comment.