Vehicle torque request calculation.
More...
#include "torque_controller.h"
#include "can_library/generated/MAIN_MODULE.h"
#include "common/utils/min.h"
Vehicle torque request calculation.
- Author
- Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
◆ direct_mapped_regen()
◆ direct_mapped_throttle()
◆ torque_controller_get_request()
◆ torque_vectoring_request()
◆ zero_torque_request()
◆ GEAR_RATIO
| float GEAR_RATIO = 12.51f |
|
staticconstexpr |
◆ INCHES_PER_MILE
| float INCHES_PER_MILE = 63360.0f |
|
staticconstexpr |
◆ INCHES_PER_MOTOR_REV
◆ MINUTES_PER_HOUR
| float MINUTES_PER_HOUR = 60.0f |
|
staticconstexpr |
◆ OUTPUT_REV_PER_MOTOR_REV
| float OUTPUT_REV_PER_MOTOR_REV = 1.0f / GEAR_RATIO |
|
staticconstexpr |
◆ RPM_TO_MPH
◆ WHEEL_CIRCUMFERENCE_IN
◆ WHEEL_RADIUS_IN
| float WHEEL_RADIUS_IN = 8.0f |
|
staticconstexpr |