2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
sensor_conversions::lifter::shoulder_actuator Namespace Reference

Functions

constexpr double ToSensorUnit (const units::inch_t extension)
 
constexpr units::inch_t ToExtension (const double sensorUnits)
 
constexpr units::inches_per_second_t ToVelocity (const double sensorVelocity)
 
constexpr double ToSensorVelocity (const units::inches_per_second_t velocity)
 

Variables

constexpr double sensorToMotorRev = 1.0 / 2048
 
constexpr double beltReduction = 30.0 / 18.0
 
constexpr double extensionMillimetersPerRevolution = 4.0
 
constexpr double fudgeFactor = 0.992
 This seems to be due to some discrepancy on comp bot.
 

Function Documentation

◆ ToExtension()

constexpr units::inch_t sensor_conversions::lifter::shoulder_actuator::ToExtension ( const double  sensorUnits)
constexpr

◆ ToSensorUnit()

constexpr double sensor_conversions::lifter::shoulder_actuator::ToSensorUnit ( const units::inch_t  extension)
constexpr

◆ ToSensorVelocity()

constexpr double sensor_conversions::lifter::shoulder_actuator::ToSensorVelocity ( const units::inches_per_second_t  velocity)
constexpr

◆ ToVelocity()

constexpr units::inches_per_second_t sensor_conversions::lifter::shoulder_actuator::ToVelocity ( const double  sensorVelocity)
constexpr

Variable Documentation

◆ beltReduction

constexpr double sensor_conversions::lifter::shoulder_actuator::beltReduction = 30.0 / 18.0
constexpr

◆ extensionMillimetersPerRevolution

constexpr double sensor_conversions::lifter::shoulder_actuator::extensionMillimetersPerRevolution = 4.0
constexpr

◆ fudgeFactor

constexpr double sensor_conversions::lifter::shoulder_actuator::fudgeFactor = 0.992
constexpr

This seems to be due to some discrepancy on comp bot.

◆ sensorToMotorRev

constexpr double sensor_conversions::lifter::shoulder_actuator::sensorToMotorRev = 1.0 / 2048
constexpr