APM:Libraries
|
#include <AP_TECS.h>
Classes | |
struct | flags |
Public Member Functions | |
AP_TECS (AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms, const AP_Landing &landing, const SoaringController &soaring_controller) | |
AP_TECS (const AP_TECS &other)=delete | |
AP_TECS & | operator= (const AP_TECS &)=delete |
void | update_50hz (void) |
void | update_pitch_throttle (int32_t hgt_dem_cm, int32_t EAS_dem_cm, enum AP_Vehicle::FixedWing::FlightStage flight_stage, float distance_beyond_land_wp, int32_t ptchMinCO_cd, int16_t throttle_nudge, float hgt_afe, float load_factor) |
int32_t | get_throttle_demand (void) |
int32_t | get_pitch_demand (void) |
float | get_VXdot (void) |
float | get_target_airspeed (void) const |
float | get_max_climbrate (void) const |
void | reset_pitch_I (void) |
float | get_land_sinkrate (void) const |
float | get_land_airspeed (void) const |
float | get_height_rate_demand (void) const |
void | set_path_proportion (float path_proportion) |
void | set_pitch_max_limit (int8_t pitch_limit) |
void | use_synthetic_airspeed (void) |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Member Functions | |
void | _update_speed (float load_factor) |
void | _update_speed_demand (void) |
void | _update_height_demand (void) |
void | _detect_underspeed (void) |
void | _update_energies (void) |
void | _update_throttle_with_airspeed (void) |
void | _update_throttle_without_airspeed (int16_t throttle_nudge) |
float | _get_i_gain (void) |
void | _detect_bad_descent (void) |
void | _update_pitch (void) |
void | _initialise_states (int32_t ptchMinCO_cd, float hgt_afe) |
void | _update_STE_rate_lim (void) |
float | timeConstant (void) const |
Additional Inherited Members | |
Public Types inherited from AP_SpdHgtControl | |
enum | ControllerType { CONTROLLER_TECS = 1 } |
|
inline |
|
delete |
|
private |
Definition at line 741 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 513 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 688 of file AP_TECS.cpp.
Referenced by _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 894 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 546 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 436 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 771 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 334 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 394 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 933 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 586 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
private |
Definition at line 706 of file AP_TECS.cpp.
Referenced by update_pitch_throttle().
|
inline |
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
Definition at line 78 of file AP_TECS.h.
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
|
inlinevirtual |
Implements AP_SpdHgtControl.
Definition at line 108 of file AP_TECS.h.
|
inline |
|
private |
Definition at line 569 of file AP_TECS.cpp.
Referenced by _update_height_demand(), _update_pitch(), _update_throttle_with_airspeed(), and update_pitch_throttle().
|
virtual |
Implements AP_SpdHgtControl.
Definition at line 261 of file AP_TECS.cpp.
Referenced by AP_TECS().
|
virtual |
Implements AP_SpdHgtControl.
Definition at line 942 of file AP_TECS.cpp.
Referenced by AP_TECS().
union { ... } |
|
private |
Definition at line 136 of file AP_TECS.h.
Referenced by _initialise_states(), _update_pitch(), _update_speed(), _update_throttle_with_airspeed(), _update_throttle_without_airspeed(), get_target_airspeed(), update_50hz(), and update_pitch_throttle().
|
private |
Definition at line 188 of file AP_TECS.h.
Referenced by _update_energies(), _update_height_demand(), _update_pitch(), update_50hz(), and update_pitch_throttle().
|
private |
Definition at line 320 of file AP_TECS.h.
Referenced by _update_height_demand(), and update_pitch_throttle().
|
private |
Definition at line 309 of file AP_TECS.h.
Referenced by _initialise_states(), _update_pitch(), _update_throttle_with_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 223 of file AP_TECS.h.
Referenced by _update_speed().
|
private |
Definition at line 234 of file AP_TECS.h.
Referenced by _update_speed(), and update_pitch_throttle().
struct flags AP_TECS::_flags |
Definition at line 270 of file AP_TECS.h.
Referenced by _detect_bad_descent(), _detect_underspeed(), _get_i_gain(), _initialise_states(), _update_height_demand(), _update_pitch(), _update_speed_demand(), _update_throttle_with_airspeed(), _update_throttle_without_airspeed(), timeConstant(), and update_pitch_throttle().
uint8_t AP_TECS::_flags_byte |
Definition at line 271 of file AP_TECS.h.
Referenced by update_pitch_throttle().
|
private |
Definition at line 312 of file AP_TECS.h.
Referenced by _update_height_demand(), and _update_pitch().
|
private |
Definition at line 278 of file AP_TECS.h.
Referenced by _detect_underspeed(), _get_i_gain(), _initialise_states(), _update_pitch(), _update_throttle_with_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 179 of file AP_TECS.h.
Referenced by _detect_underspeed(), _update_energies(), update_50hz(), and update_pitch_throttle().
struct { ... } AP_TECS::_height_filter |
Referenced by update_50hz().
|
private |
Definition at line 237 of file AP_TECS.h.
Referenced by _update_height_demand(), and update_pitch_throttle().
|
private |
Definition at line 239 of file AP_TECS.h.
Referenced by _detect_underspeed(), _initialise_states(), _update_energies(), _update_height_demand(), _update_pitch(), and update_pitch_throttle().
|
private |
Definition at line 240 of file AP_TECS.h.
Referenced by _initialise_states(), and _update_height_demand().
|
private |
Definition at line 238 of file AP_TECS.h.
Referenced by _initialise_states(), and _update_height_demand().
|
private |
Definition at line 242 of file AP_TECS.h.
Referenced by _initialise_states(), and _update_height_demand().
|
private |
Definition at line 241 of file AP_TECS.h.
Referenced by _update_energies(), _update_height_demand(), _update_pitch(), get_height_rate_demand(), and update_pitch_throttle().
|
private |
Definition at line 147 of file AP_TECS.h.
Referenced by update_50hz().
|
private |
Definition at line 202 of file AP_TECS.h.
Referenced by _update_speed().
|
private |
Definition at line 159 of file AP_TECS.h.
Referenced by _get_i_gain().
|
private |
Definition at line 161 of file AP_TECS.h.
Referenced by _get_i_gain().
|
private |
Definition at line 160 of file AP_TECS.h.
Referenced by _get_i_gain().
|
private |
Definition at line 211 of file AP_TECS.h.
Referenced by _initialise_states(), _update_height_demand(), _update_pitch(), reset_pitch_I(), and update_pitch_throttle().
|
private |
Definition at line 208 of file AP_TECS.h.
Referenced by _initialise_states(), _update_throttle_with_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 243 of file AP_TECS.h.
Referenced by _update_height_demand().
|
private |
Definition at line 155 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 172 of file AP_TECS.h.
Referenced by update_pitch_throttle().
|
private |
Definition at line 168 of file AP_TECS.h.
Referenced by _update_height_demand(), get_land_sinkrate(), and update_pitch_throttle().
|
private |
Definition at line 169 of file AP_TECS.h.
Referenced by _update_height_demand().
|
private |
Definition at line 158 of file AP_TECS.h.
Referenced by _update_throttle_with_airspeed().
|
private |
Definition at line 167 of file AP_TECS.h.
Referenced by get_land_airspeed().
|
private |
Definition at line 156 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 141 of file AP_TECS.h.
Referenced by _detect_underspeed(), _update_height_demand(), _update_pitch(), and update_pitch_throttle().
|
private |
Definition at line 166 of file AP_TECS.h.
Referenced by _update_throttle_without_airspeed().
|
private |
Definition at line 153 of file AP_TECS.h.
Referenced by timeConstant().
|
private |
Definition at line 217 of file AP_TECS.h.
Referenced by _initialise_states(), and _update_pitch().
|
private |
Definition at line 214 of file AP_TECS.h.
Referenced by _initialise_states(), and _update_throttle_with_airspeed().
|
private |
Definition at line 149 of file AP_TECS.h.
Referenced by _update_height_demand(), _update_STE_rate_lim(), and get_max_climbrate().
|
private |
Definition at line 151 of file AP_TECS.h.
Referenced by _update_height_demand().
|
private |
Definition at line 173 of file AP_TECS.h.
Referenced by _update_height_demand().
|
private |
Definition at line 150 of file AP_TECS.h.
Referenced by _update_STE_rate_lim().
|
private |
Definition at line 318 of file AP_TECS.h.
Referenced by _update_pitch(), and set_path_proportion().
|
private |
Definition at line 185 of file AP_TECS.h.
Referenced by _update_pitch(), _update_throttle_without_airspeed(), get_pitch_demand(), and update_pitch_throttle().
|
private |
Definition at line 281 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 170 of file AP_TECS.h.
Referenced by update_pitch_throttle().
|
private |
Definition at line 176 of file AP_TECS.h.
Referenced by set_pitch_max_limit(), and update_pitch_throttle().
|
private |
Definition at line 171 of file AP_TECS.h.
Referenced by update_pitch_throttle().
|
private |
Definition at line 292 of file AP_TECS.h.
Referenced by _update_pitch(), _update_throttle_without_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 293 of file AP_TECS.h.
Referenced by _initialise_states(), _update_pitch(), _update_throttle_without_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 154 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 163 of file AP_TECS.h.
Referenced by _update_throttle_with_airspeed(), and _update_throttle_without_airspeed().
|
private |
Definition at line 297 of file AP_TECS.h.
Referenced by _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 301 of file AP_TECS.h.
Referenced by _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 303 of file AP_TECS.h.
Referenced by _detect_bad_descent(), _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 299 of file AP_TECS.h.
Referenced by _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 144 of file AP_TECS.h.
Referenced by _detect_bad_descent().
|
private |
Definition at line 148 of file AP_TECS.h.
Referenced by _update_speed().
|
private |
Definition at line 164 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 165 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 296 of file AP_TECS.h.
Referenced by _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 300 of file AP_TECS.h.
Referenced by _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 302 of file AP_TECS.h.
Referenced by _detect_bad_descent(), _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 298 of file AP_TECS.h.
Referenced by _update_energies(), _update_pitch(), and _update_throttle_with_airspeed().
|
private |
Definition at line 306 of file AP_TECS.h.
Referenced by _detect_bad_descent(), and _update_throttle_with_airspeed().
|
private |
Definition at line 284 of file AP_TECS.h.
Referenced by _update_speed_demand(), _update_STE_rate_lim(), _update_throttle_with_airspeed(), and _update_throttle_without_airspeed().
|
private |
Definition at line 285 of file AP_TECS.h.
Referenced by _update_speed_demand(), _update_STE_rate_lim(), _update_throttle_with_airspeed(), and _update_throttle_without_airspeed().
|
private |
Definition at line 254 of file AP_TECS.h.
Referenced by _update_throttle_with_airspeed().
|
private |
Definition at line 230 of file AP_TECS.h.
Referenced by _initialise_states(), _update_speed(), _update_speed_demand(), and get_target_airspeed().
|
private |
Definition at line 247 of file AP_TECS.h.
Referenced by _initialise_states(), _update_energies(), _update_speed_demand(), and update_pitch_throttle().
|
private |
Definition at line 231 of file AP_TECS.h.
Referenced by _initialise_states(), and _update_speed_demand().
|
private |
Definition at line 251 of file AP_TECS.h.
Referenced by _update_energies(), _update_speed_demand(), and update_pitch_throttle().
|
private |
Definition at line 205 of file AP_TECS.h.
Referenced by _detect_underspeed(), _update_energies(), _update_pitch(), _update_speed(), _update_speed_demand(), and update_pitch_throttle().
|
private |
Definition at line 226 of file AP_TECS.h.
Referenced by _update_speed(), _update_speed_demand(), and _update_throttle_with_airspeed().
|
private |
Definition at line 227 of file AP_TECS.h.
Referenced by _detect_underspeed(), _update_speed(), _update_speed_demand(), and _update_throttle_with_airspeed().
|
private |
Definition at line 157 of file AP_TECS.h.
Referenced by _update_throttle_with_airspeed().
|
private |
Definition at line 288 of file AP_TECS.h.
Referenced by _detect_bad_descent(), _detect_underspeed(), _update_throttle_with_airspeed(), _update_throttle_without_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 289 of file AP_TECS.h.
Referenced by _update_throttle_with_airspeed(), _update_throttle_without_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 182 of file AP_TECS.h.
Referenced by _detect_bad_descent(), _detect_underspeed(), _update_throttle_with_airspeed(), _update_throttle_without_airspeed(), get_throttle_demand(), and update_pitch_throttle().
|
private |
Definition at line 152 of file AP_TECS.h.
Referenced by timeConstant().
|
private |
Definition at line 275 of file AP_TECS.h.
Referenced by _detect_underspeed().
|
private |
Definition at line 127 of file AP_TECS.h.
Referenced by update_50hz().
|
private |
Definition at line 133 of file AP_TECS.h.
Referenced by update_pitch_throttle().
|
private |
Definition at line 130 of file AP_TECS.h.
Referenced by _update_speed().
|
private |
Definition at line 330 of file AP_TECS.h.
Referenced by _update_speed(), and update_pitch_throttle().
|
private |
Definition at line 333 of file AP_TECS.h.
Referenced by _update_speed(), update_pitch_throttle(), and use_synthetic_airspeed().
|
private |
Definition at line 372 of file AP_TECS.h.
Referenced by update_50hz().
|
private |
Definition at line 220 of file AP_TECS.h.
Referenced by _update_energies(), _update_speed(), get_VXdot(), update_50hz(), and update_pitch_throttle().
|
private |
Definition at line 162 of file AP_TECS.h.
Referenced by _update_pitch().
|
private |
Definition at line 138 of file AP_TECS.h.
Referenced by _initialise_states(), _update_speed(), _update_throttle_with_airspeed(), _update_throttle_without_airspeed(), and update_pitch_throttle().
|
private |
Definition at line 315 of file AP_TECS.h.
Referenced by _update_height_demand().
struct { ... } AP_TECS::logging |
Referenced by _update_pitch(), and update_pitch_throttle().
float AP_TECS::SKE_weighting |
Definition at line 324 of file AP_TECS.h.
Referenced by _update_pitch().
|
static |