Namespace for pedal-related constants, such as thresholds and calculation parameters. This is to avoid polluting the Pedal class with intermediate results. More...
Variables | |
| constexpr uint8_t | MIN_REGEN_KMH = 10 |
| constexpr uint8_t | GEAR_RATIO_NUMERATOR = 60 |
| constexpr uint8_t | GEAR_RATIO_DENOMINATOR = 13 |
| constexpr uint8_t | WHEEL_DIAMETER_INCH = 13 |
| constexpr uint16_t | MAX_MOTOR_RPM = 7000 |
| constexpr uint16_t | MAX_TORQUE_VAL = 32767 |
| constexpr uint16_t | INCH_PER_KM = 39370 |
| constexpr uint8_t | MINUTES_PER_HOUR = 60 |
| constexpr double | PI_ = 3.1415926535897932384626433832795 |
| constexpr int16_t | MIN_REGEN_RPM_VAL |
Namespace for pedal-related constants, such as thresholds and calculation parameters. This is to avoid polluting the Pedal class with intermediate results.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Final RPM = KMH -> Inches per Hour -> Inch per minute -> RPM at wheel -> RPM at motor Minimum RPM for regenerative braking to be active.
Definition at line 58 of file Pedal.hpp.
Referenced by Pedal::pedalTorqueMapping().
|
constexpr |
|
constexpr |