2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
Functions | |
constexpr units::inch_t | ToExtension (const double sensorUnit) |
constexpr double | ToSensorUnit (const units::inch_t extension) |
constexpr units::inches_per_second_t | ToVelocity (const double sensorVelocity) |
constexpr double | ToSensorVelocity (const units::inches_per_second_t velocity) |
constexpr units::inch_t | ExtensionFromRotation (const units::degree_t angle) |
Find the travel of the extension given a rotation "angle" of the CANCoder. | |
Variables | |
constexpr double | sensorToMotorRevolution = 1.0 / 2048 |
constexpr double | gearboxReduction = 1.0 / 12.0 |
constexpr double | driveSprocketTeeth = 15.0 |
constexpr double | extensionInchesPerTooth = 0.375 / 1 |
constexpr double | absEncoderReduction = 1.0 / 10 |
constexpr units::inch_t | extensionPerEncoderRevolution |
|
constexpr |
Find the travel of the extension given a rotation "angle" of the CANCoder.
angle | Rotation of the CANCoder |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |