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

Functions

constexpr units::degree_t ToAngle (const double sensorUnit)
 
constexpr double ToSensorUnit (const units::degree_t degrees)
 
constexpr units::degrees_per_second_t ToVelocity (const double sensorVelocity)
 
constexpr double ToSensorVelocity (const units::degrees_per_second_t velocity)
 

Variables

constexpr double sensorUnitsPerRevolution = 2048.0
 
constexpr double gearBoxReduction = 9.0
 
constexpr double extraReduction = 60.0 / 20.0
 
constexpr double sensorConversionFactor
 

Function Documentation

◆ ToAngle()

constexpr units::degree_t sensor_conversions::lifter::wrist::ToAngle ( const double  sensorUnit)
constexpr

◆ ToSensorUnit()

constexpr double sensor_conversions::lifter::wrist::ToSensorUnit ( const units::degree_t  degrees)
constexpr

◆ ToSensorVelocity()

constexpr double sensor_conversions::lifter::wrist::ToSensorVelocity ( const units::degrees_per_second_t  velocity)
constexpr

◆ ToVelocity()

constexpr units::degrees_per_second_t sensor_conversions::lifter::wrist::ToVelocity ( const double  sensorVelocity)
constexpr

Variable Documentation

◆ extraReduction

constexpr double sensor_conversions::lifter::wrist::extraReduction = 60.0 / 20.0
constexpr

◆ gearBoxReduction

constexpr double sensor_conversions::lifter::wrist::gearBoxReduction = 9.0
constexpr

◆ sensorConversionFactor

constexpr double sensor_conversions::lifter::wrist::sensorConversionFactor
constexpr
Initial value:
=
constexpr double sensorUnitsPerRevolution
Definition sensor_conversions.h:89
constexpr double extraReduction
Definition sensor_conversions.h:91
constexpr double gearBoxReduction
Definition sensor_conversions.h:90

◆ sensorUnitsPerRevolution

constexpr double sensor_conversions::lifter::wrist::sensorUnitsPerRevolution = 2048.0
constexpr