SAE Teensy ECU
IIT SAE Microcontroller programming
|
#include "Pins.h"
Go to the source code of this file.
Macros | |
#define | CONF_CAR_GEAR_RATIO 4.98f |
The radius of the car's wheels as a float. | |
#define | CONF_MAX_TORQUE 900.0 |
The maximum torque (Nm x10) as a double. | |
#define | CONF_PEDAL_MIN 200.0 |
The pedal input range to map as doubles. | |
#define | CONF_PEDAL_MAX 1300.0 |
#define | CONF_BRAKE_MIN 480.0 |
The brake input range to map as doubles. | |
#define | CONF_BRAKE_MAX 900.0 |
#define | CONF_STEER_MIN 1756.0 |
The steering input range to map as doubles. | |
#define | CONF_STEER_MAX 3750.0 |
Various defines used for the motorcontrol module
Definition in file MotorControl.def.
#define CONF_BRAKE_MAX 900.0 |
Definition at line 52 of file MotorControl.def.
#define CONF_BRAKE_MIN 480.0 |
The brake input range to map as doubles.
Definition at line 51 of file MotorControl.def.
#define CONF_CAR_GEAR_RATIO 4.98f |
The radius of the car's wheels as a float.
The gear ratio from motors to actual wheels
Definition at line 33 of file MotorControl.def.
#define CONF_MAX_TORQUE 900.0 |
The maximum torque (Nm x10) as a double.
Definition at line 38 of file MotorControl.def.
#define CONF_PEDAL_MAX 1300.0 |
Definition at line 46 of file MotorControl.def.
#define CONF_PEDAL_MIN 200.0 |
The pedal input range to map as doubles.
Definition at line 45 of file MotorControl.def.
#define CONF_STEER_MAX 3750.0 |
Definition at line 58 of file MotorControl.def.
#define CONF_STEER_MIN 1756.0 |
The steering input range to map as doubles.
Definition at line 57 of file MotorControl.def.