mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
QuadPlane: remove throttle_mid
motor's hover throttle is automatically updated
This commit is contained in:
parent
2523ba892b
commit
b456a38432
@ -199,15 +199,6 @@ const AP_Param::GroupInfo QuadPlane::var_info[] = {
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("LAND_FINAL_ALT", 27, QuadPlane, land_final_alt, 6),
|
||||
|
||||
// @Param: THR_MID
|
||||
// @DisplayName: Throttle Mid Position
|
||||
// @Description: The throttle output (0 ~ 1000) when throttle stick is in mid position. Used to scale the manual throttle so that the mid throttle stick position is close to the throttle required to hover
|
||||
// @User: Standard
|
||||
// @Range: 300 700
|
||||
// @Units: Percent*10
|
||||
// @Increment: 10
|
||||
AP_GROUPINFO("THR_MID", 28, QuadPlane, throttle_mid, 500),
|
||||
|
||||
// @Param: TRAN_PIT_MAX
|
||||
// @DisplayName: Transition max pitch
|
||||
// @Description: Maximum pitch during transition to auto fixed wing flight
|
||||
@ -433,7 +424,6 @@ bool QuadPlane::setup(void)
|
||||
|
||||
motors->set_frame_orientation(frame_type);
|
||||
motors->Init();
|
||||
motors->set_hover_throttle(throttle_mid);
|
||||
motors->set_throttle_range(thr_min_pwm, thr_max_pwm);
|
||||
motors->set_update_rate(rc_speed);
|
||||
motors->set_interlock(true);
|
||||
|
@ -193,7 +193,6 @@ private:
|
||||
// min and max PWM for throttle
|
||||
AP_Int16 thr_min_pwm;
|
||||
AP_Int16 thr_max_pwm;
|
||||
AP_Int16 throttle_mid;
|
||||
|
||||
// speed below which quad assistance is given
|
||||
AP_Float assist_speed;
|
||||
|
Loading…
Reference in New Issue
Block a user