MCU
Loading...
Searching...
No Matches
Namespaces | Variables
PhysicalParameters.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  PhysicalParameters
 

Variables

const float PhysicalParameters::AMK_MAX_RPM = 20000
 
const float PhysicalParameters::AMK_MAX_TORQUE = 21.42
 
const float PhysicalParameters::MAX_REGEN_TORQUE = 10.0
 
constexpr const float GEARBOX_RATIO = 11.86
 
constexpr const float WHEEL_DIAMETER = 0.4064
 
constexpr const float RPM_TO_METERS_PER_SECOND = WHEEL_DIAMETER * 3.1415 / GEARBOX_RATIO / 60.0
 
constexpr const float RPM_TO_KILOMETERS_PER_HOUR = RPM_TO_METERS_PER_SECOND * 3600.0 / 1000.0
 
constexpr const float METERS_PER_SECOND_TO_RPM = 1.0 / RPM_TO_METERS_PER_SECOND
 
const float RPM_TO_RAD_PER_SECOND = 2 * 3.1415 / 60.0
 
const float RAD_PER_SECOND_TO_RPM = 1 / RPM_TO_RAD_PER_SECOND
 

Variable Documentation

◆ GEARBOX_RATIO

constexpr const float GEARBOX_RATIO = 11.86
constexpr

Definition at line 11 of file PhysicalParameters.h.

◆ METERS_PER_SECOND_TO_RPM

constexpr const float METERS_PER_SECOND_TO_RPM = 1.0 / RPM_TO_METERS_PER_SECOND
constexpr

Definition at line 15 of file PhysicalParameters.h.

◆ RAD_PER_SECOND_TO_RPM

const float RAD_PER_SECOND_TO_RPM = 1 / RPM_TO_RAD_PER_SECOND

Definition at line 18 of file PhysicalParameters.h.

◆ RPM_TO_KILOMETERS_PER_HOUR

constexpr const float RPM_TO_KILOMETERS_PER_HOUR = RPM_TO_METERS_PER_SECOND * 3600.0 / 1000.0
constexpr

Definition at line 14 of file PhysicalParameters.h.

◆ RPM_TO_METERS_PER_SECOND

constexpr const float RPM_TO_METERS_PER_SECOND = WHEEL_DIAMETER * 3.1415 / GEARBOX_RATIO / 60.0
constexpr

Definition at line 13 of file PhysicalParameters.h.

◆ RPM_TO_RAD_PER_SECOND

const float RPM_TO_RAD_PER_SECOND = 2 * 3.1415 / 60.0

Definition at line 17 of file PhysicalParameters.h.

◆ WHEEL_DIAMETER

constexpr const float WHEEL_DIAMETER = 0.4064
constexpr

Definition at line 12 of file PhysicalParameters.h.