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

Functions

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

Variables

constexpr double sensorConversionFactor
 multiply to convert raw sensor units to module degrees
 

Function Documentation

◆ ToAngle()

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

◆ ToSensorUnit()

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

◆ ToSensorVelocity()

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

◆ ToVelocity()

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

Variable Documentation

◆ sensorConversionFactor

constexpr double sensor_conversions::lifter::shoulder::sensorConversionFactor
constexpr
Initial value:
=
360.0 / 4096

multiply to convert raw sensor units to module degrees