mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AC_AttitudeControlMulti: get_throttle_avg_max made private
Also fixed up method's description
This commit is contained in:
parent
da946288a2
commit
b27da7699e
@ -61,9 +61,6 @@ public:
|
|||||||
// calculate total body frame throttle required to produce the given earth frame throttle
|
// calculate total body frame throttle required to produce the given earth frame throttle
|
||||||
float get_throttle_boosted(float throttle_in);
|
float get_throttle_boosted(float throttle_in);
|
||||||
|
|
||||||
// calculate total body frame throttle required to produce the given earth frame throttle
|
|
||||||
float get_throttle_avg_max(float throttle_in);
|
|
||||||
|
|
||||||
// set desired throttle vs attitude mixing (actual mix is slewed towards this value over 1~2 seconds)
|
// set desired throttle vs attitude mixing (actual mix is slewed towards this value over 1~2 seconds)
|
||||||
// low values favour pilot/autopilot throttle over attitude control, high values favour attitude control over throttle
|
// low values favour pilot/autopilot throttle over attitude control, high values favour attitude control over throttle
|
||||||
// has no effect when throttle is above hover throttle
|
// has no effect when throttle is above hover throttle
|
||||||
@ -85,6 +82,9 @@ protected:
|
|||||||
// update_throttle_rpy_mix - updates thr_low_comp value towards the target
|
// update_throttle_rpy_mix - updates thr_low_comp value towards the target
|
||||||
void update_throttle_rpy_mix();
|
void update_throttle_rpy_mix();
|
||||||
|
|
||||||
|
// get maximum value throttle can be raised to based on throttle vs attitude prioritisation
|
||||||
|
float get_throttle_avg_max(float throttle_in);
|
||||||
|
|
||||||
AP_MotorsMulticopter& _motors_multi;
|
AP_MotorsMulticopter& _motors_multi;
|
||||||
AC_PID _pid_rate_roll;
|
AC_PID _pid_rate_roll;
|
||||||
AC_PID _pid_rate_pitch;
|
AC_PID _pid_rate_pitch;
|
||||||
|
Loading…
Reference in New Issue
Block a user