|
| CANcoder (int deviceId, std::string canbus="") |
| Constructs a new CANcoder object. More...
|
|
| ~CANcoder () |
|
void | InitSendable (wpi::SendableBuilder &builder) override |
|
| CoreCANcoder (int deviceId, std::string canbus="") |
| Constructs a new CANcoder object. More...
|
|
| CoreCANcoder (CoreCANcoder const &)=delete |
|
CoreCANcoder & | operator= (CoreCANcoder const &)=delete |
|
bool | HasResetOccurred () |
|
configs::CANcoderConfigurator & | GetConfigurator () |
| Gets the configurator for this CANcoder. More...
|
|
configs::CANcoderConfigurator const & | GetConfigurator () const |
| Gets the configurator for this CANcoder. More...
|
|
sim::CANcoderSimState & | GetSimState () |
| Get the simulation state for this device. More...
|
|
StatusSignalValue< int > & | GetVersionMajor () |
| App Major Version number. More...
|
|
StatusSignalValue< int > & | GetVersionMinor () |
| App Minor Version number. More...
|
|
StatusSignalValue< int > & | GetVersionBugfix () |
| App Bugfix Version number. More...
|
|
StatusSignalValue< int > & | GetVersionBuild () |
| App Build Version number. More...
|
|
StatusSignalValue< int > & | GetVersion () |
| Full Version. More...
|
|
StatusSignalValue< int > & | GetFaultField () |
| Integer representing all faults. More...
|
|
StatusSignalValue< int > & | GetStickyFaultField () |
| Integer representing all sticky faults. More...
|
|
StatusSignalValue< units::angular_velocity::turns_per_second_t > & | GetVelocity () |
| Velocity of device. More...
|
|
StatusSignalValue< units::angle::turn_t > & | GetPosition () |
| Position of device. More...
|
|
StatusSignalValue< units::angle::turn_t > & | GetAbsolutePosition () |
| Absolute Position of device. More...
|
|
StatusSignalValue< units::angular_velocity::turns_per_second_t > & | GetUnfilteredVelocity () |
| The unfiltered velocity reported by CANcoder. More...
|
|
StatusSignalValue< units::angle::turn_t > & | GetPositionSinceBoot () |
| The relative position reported by the CANcoder since boot. More...
|
|
StatusSignalValue< units::voltage::volt_t > & | GetSupplyVoltage () |
| Measured supply voltage to the CANcoder. More...
|
|
StatusSignalValue< signals::MagnetHealthValue > & | GetMagnetHealth () |
| Magnet health as measured by CANcoder. More...
|
|
StatusSignalValue< bool > & | GetFault_Hardware () |
| Hardware fault occurred. More...
|
|
StatusSignalValue< bool > & | GetStickyFault_Hardware () |
| Hardware fault occurred. More...
|
|
StatusSignalValue< bool > & | GetFault_Undervoltage () |
| Device supply voltage dropped to near brownout levels. More...
|
|
StatusSignalValue< bool > & | GetStickyFault_Undervoltage () |
| Device supply voltage dropped to near brownout levels. More...
|
|
StatusSignalValue< bool > & | GetFault_BootDuringEnable () |
| Device boot while detecting the enable signal. More...
|
|
StatusSignalValue< bool > & | GetStickyFault_BootDuringEnable () |
| Device boot while detecting the enable signal. More...
|
|
StatusSignalValue< bool > & | GetFault_BadMagnet () |
| The magnet distance is not correct or magnet is missing. More...
|
|
StatusSignalValue< bool > & | GetStickyFault_BadMagnet () |
| The magnet distance is not correct or magnet is missing. More...
|
|
ctre::phoenix::StatusCode | SetControl (controls::ControlRequest &request) |
| Control motor with generic control request object. More...
|
|
ctre::phoenix::StatusCode | SetControl (controls::ControlRequest &&request) |
| Control motor with generic control request object. More...
|
|
ctre::phoenix::StatusCode | SetPosition (units::angle::turn_t newValue, units::time::second_t timeoutSeconds) |
| The position to set the sensor position to right now. More...
|
|
ctre::phoenix::StatusCode | SetPosition (units::angle::turn_t newValue) |
| The position to set the sensor position to right now. More...
|
|
ctre::phoenix::StatusCode | ClearStickyFaults (units::time::second_t timeoutSeconds) |
| Clear the sticky faults in the device. More...
|
|
ctre::phoenix::StatusCode | ClearStickyFaults () |
| Clear the sticky faults in the device. More...
|
|
| ParentDevice (int deviceID, std::string model, std::string canbus) |
|
int | GetDeviceID () const |
|
const std::string & | GetCANBus () const |
|
std::shared_ptr< const controls::ControlRequest > | GetAppliedControl () const |
| Get the latest applied control. More...
|
|
std::shared_ptr< controls::ControlRequest > | GetAppliedControl () |
| Get the latest applied control. More...
|
|