APM:Libraries
|
#include <Variometer.h>
Public Member Functions | |
Variometer (AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms) | |
void | update (const float polar_K, const float polar_CD0, const float polar_B) |
float | correct_netto_rate (float climb_rate, float phi, float aspd, const float polar_K, const float polar_CD0, const float polar_B) |
Public Attributes | |
float | alt |
float | reading |
float | filtered_reading |
float | displayed_reading |
bool | new_data |
Private Attributes | |
AP_AHRS & | _ahrs |
const AP_Vehicle::FixedWing & | _aparm |
unsigned long | _prev_update_time |
float | _last_alt |
float | _aspd_filt |
float | _last_aspd |
float | _last_roll |
float | _last_total_E |
Definition at line 17 of file Variometer.h.
Variometer::Variometer | ( | AP_AHRS & | ahrs, |
const AP_Vehicle::FixedWing & | parms | ||
) |
Definition at line 7 of file Variometer.cpp.
float Variometer::correct_netto_rate | ( | float | climb_rate, |
float | phi, | ||
float | aspd, | ||
const float | polar_K, | ||
const float | polar_CD0, | ||
const float | polar_B | ||
) |
Definition at line 53 of file Variometer.cpp.
Referenced by update().
void Variometer::update | ( | const float | polar_K, |
const float | polar_CD0, | ||
const float | polar_B | ||
) |
Definition at line 14 of file Variometer.cpp.
Referenced by SoaringController::update_vario().
|
private |
Definition at line 19 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 20 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 27 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 25 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 28 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 29 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 30 of file Variometer.h.
Referenced by update().
|
private |
Definition at line 23 of file Variometer.h.
Referenced by update().
float Variometer::alt |
Definition at line 34 of file Variometer.h.
Referenced by SoaringController::check_cruise_criteria(), SoaringController::check_thermal_criteria(), update(), and SoaringController::update_thermalling().
float Variometer::displayed_reading |
Definition at line 37 of file Variometer.h.
Referenced by SoaringController::get_vario_reading(), and update().
float Variometer::filtered_reading |
Definition at line 36 of file Variometer.h.
Referenced by SoaringController::check_thermal_criteria(), SoaringController::suppress_throttle(), and update().
bool Variometer::new_data |
Definition at line 38 of file Variometer.h.
Referenced by update(), and SoaringController::update_thermalling().
float Variometer::reading |
Definition at line 35 of file Variometer.h.
Referenced by update(), and SoaringController::update_thermalling().