MCU
Loading...
Searching...
No Matches
PhysicalParameters.h
Go to the documentation of this file.
1#ifndef __PHYSICALPARAMETERS_H__
2#define __PHYSICALPARAMETERS_H__
3
5{
6 const float AMK_MAX_RPM = 20000;
7 const float AMK_MAX_TORQUE = 21.42;
8 const float MAX_REGEN_TORQUE = 10.0;
9
10}
11constexpr const float GEARBOX_RATIO = 11.86;
12constexpr const float WHEEL_DIAMETER = 0.4064; // meters
13constexpr const float RPM_TO_METERS_PER_SECOND = WHEEL_DIAMETER * 3.1415 / GEARBOX_RATIO / 60.0;
14constexpr const float RPM_TO_KILOMETERS_PER_HOUR = RPM_TO_METERS_PER_SECOND * 3600.0 / 1000.0;
16
17const float RPM_TO_RAD_PER_SECOND = 2 * 3.1415 / 60.0;
19
20#endif /* __PHYSICALPARAMETERS_H__ */
constexpr const float GEARBOX_RATIO
constexpr const float RPM_TO_METERS_PER_SECOND
constexpr const float WHEEL_DIAMETER
constexpr const float RPM_TO_KILOMETERS_PER_HOUR
constexpr const float METERS_PER_SECOND_TO_RPM
const float RPM_TO_RAD_PER_SECOND
const float RAD_PER_SECOND_TO_RPM
const float AMK_MAX_TORQUE
const float MAX_REGEN_TORQUE