rusEFI
The most advanced open source ECU
|
#include <dynoview.h>
Public Member Functions | |
void | init () |
void | update () |
bool | onRpm (int rpm, float time, float tps) |
Data Fields | |
float | currentTorque |
float | currentHP |
Private Member Functions | |
void | reset () |
Static Private Member Functions | |
static void | move (uint8_t size, float *data) |
static float | accumulate_window (uint8_t size, const float *data) |
Private Attributes | |
float | airDensityKgM3 = 1.225 |
uint16_t | wheelOverallDiameterMm = 0 |
float | saeBaroCorrectionFactor |
float | saeBaroMmhg |
float | saeTempCorrectionFactor |
float | saeVaporPressure |
float | saeCorrectionFactor |
DynoPoint | dynoViewPoint |
DynoPoint | dynoViewPointPrev |
int | count = 0 |
int | count_rpm = 0 |
int | prev_rpm = 0 |
float | tail_hp [dyno_view_window_size] |
float | tail_torque [dyno_view_window_size] |
float | tail_rpm [dyno_view_window_size_rpm] |
bool | isInitialized = false |
Static Private Attributes | |
static constexpr int | dyno_view_window_size = 7 |
static constexpr int | dyno_view_window_size_rpm = 10 |
static constexpr int | dyno_view_tps_min_for_run = 30 |
static constexpr int | dyno_view_rpm_diff_smooth = 30 |
static constexpr float | dyno_view_log_time_smooth_sec = 0.05f |
static constexpr int | dyno_view_tps_diff_to_reset_run = 10 |
static constexpr int | dyno_view_rpm_fall_to_reset_run = 60 |
Definition at line 34 of file dynoview.h.
Definition at line 55 of file dynoview.h.
Referenced by onRpm().
void DynoView::init | ( | ) |
Definition at line 14 of file dynoview.cpp.
Referenced by update().
|
inlinestaticprivate |
Definition at line 48 of file dynoview.h.
Referenced by onRpm().
Definition at line 63 of file dynoview.cpp.
Referenced by update().
|
private |
Definition at line 52 of file dynoview.cpp.
Referenced by init(), and onRpm().
void DynoView::update | ( | ) |
Definition at line 34 of file dynoview.cpp.
Referenced by updateDynoView().
|
private |
Definition at line 66 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 79 of file dynoview.h.
|
private |
Definition at line 80 of file dynoview.h.
float DynoView::currentHP |
Definition at line 42 of file dynoview.h.
Referenced by getDynoviewHP(), onRpm(), and reset().
float DynoView::currentTorque |
Definition at line 41 of file dynoview.h.
Referenced by getDynoviewTorque(), onRpm(), and reset().
|
staticconstexprprivate |
Definition at line 87 of file dynoview.h.
Referenced by onRpm().
|
staticconstexprprivate |
Definition at line 86 of file dynoview.h.
Referenced by onRpm().
|
staticconstexprprivate |
Definition at line 89 of file dynoview.h.
Referenced by onRpm().
|
staticconstexprprivate |
Definition at line 88 of file dynoview.h.
Referenced by onRpm().
|
staticconstexprprivate |
Definition at line 85 of file dynoview.h.
|
staticconstexprprivate |
Definition at line 83 of file dynoview.h.
Referenced by onRpm().
|
staticconstexprprivate |
Definition at line 84 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 76 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 77 of file dynoview.h.
|
private |
Definition at line 95 of file dynoview.h.
Referenced by init().
|
private |
Definition at line 81 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 70 of file dynoview.h.
Referenced by init().
|
private |
Definition at line 71 of file dynoview.h.
Referenced by init().
|
private |
Definition at line 74 of file dynoview.h.
|
private |
Definition at line 72 of file dynoview.h.
Referenced by init().
|
private |
Definition at line 73 of file dynoview.h.
Referenced by init().
|
private |
Definition at line 91 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 93 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 92 of file dynoview.h.
Referenced by onRpm().
|
private |
Definition at line 67 of file dynoview.h.