![]() |
LemLib
0.4.7
An easy to use and feature-rich PROS template
|
Struct containing constants for a drivetrain. More...
#include <chassis.hpp>
Public Attributes | |
pros::Motor_Group * | leftMotors |
pros::Motor_Group * | rightMotors |
float | trackWidth |
float | wheelDiameter |
float | rpm |
Struct containing constants for a drivetrain.
The constants are stored in a struct so that they can be easily passed to the chassis class Set a constant to 0 and it will be ignored
leftMotors | pointer to the left motors |
rightMotors | pointer to the right motors |
trackWidth | the track width of the robot |
wheelDiameter | the diameter of the wheels (2.75, 3.25, 4, 4.125) |
rpm | the rpm of the wheels |