APM:Libraries
|
#include <AP_ICEngine.h>
Public Types | |
enum | ICE_State { ICE_OFF =0, ICE_START_HEIGHT_DELAY =1, ICE_START_DELAY =2, ICE_STARTING =3, ICE_RUNNING =4 } |
Public Member Functions | |
AP_ICEngine (const AP_RPM &_rpm, const AP_AHRS &_ahrs) | |
void | update (void) |
bool | throttle_override (uint8_t &percent) |
ICE_State | get_state (void) const |
bool | engine_control (float start_control, float cold_start, float height_delay) |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Attributes | |
const AP_RPM & | rpm |
const AP_AHRS & | ahrs |
enum ICE_State | state |
AP_Int8 | enable |
AP_Int8 | start_chan |
AP_Int8 | rpm_instance |
AP_Float | starter_time |
AP_Float | starter_delay |
AP_Int16 | pwm_ignition_on |
AP_Int16 | pwm_ignition_off |
AP_Int16 | pwm_starter_on |
AP_Int16 | pwm_starter_off |
AP_Int32 | rpm_threshold |
uint32_t | starter_start_time_ms |
uint32_t | starter_last_run_ms |
AP_Int8 | start_percent |
float | initial_height |
float | height_required |
bool | height_pending:1 |
Definition at line 24 of file AP_ICEngine.h.
Enumerator | |
---|---|
ICE_OFF | |
ICE_START_HEIGHT_DELAY | |
ICE_START_DELAY | |
ICE_STARTING | |
ICE_RUNNING |
Definition at line 37 of file AP_ICEngine.h.
bool AP_ICEngine::engine_control | ( | float | start_control, |
float | cold_start, | ||
float | height_delay | ||
) |
Definition at line 266 of file AP_ICEngine.cpp.
Referenced by get_state().
|
inline |
bool AP_ICEngine::throttle_override | ( | uint8_t & | percent | ) |
Definition at line 250 of file AP_ICEngine.cpp.
void AP_ICEngine::update | ( | void | ) |
|
private |
Definition at line 53 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 58 of file AP_ICEngine.h.
Referenced by throttle_override(), and update().
|
private |
Definition at line 97 of file AP_ICEngine.h.
Referenced by engine_control(), and update().
|
private |
Definition at line 94 of file AP_ICEngine.h.
Referenced by engine_control(), and update().
|
private |
Definition at line 91 of file AP_ICEngine.h.
Referenced by engine_control(), and update().
|
private |
Definition at line 74 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 73 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 76 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 75 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 52 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 64 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 79 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 61 of file AP_ICEngine.h.
Referenced by engine_control(), and update().
|
private |
Definition at line 88 of file AP_ICEngine.h.
Referenced by throttle_override().
|
private |
Definition at line 70 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 85 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 82 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 67 of file AP_ICEngine.h.
Referenced by update().
|
private |
Definition at line 55 of file AP_ICEngine.h.
Referenced by engine_control(), get_state(), throttle_override(), and update().
|
static |
Definition at line 29 of file AP_ICEngine.h.
Referenced by AP_ICEngine().