|
| NidecBrushless (int pwmChannel, int dioChannel) |
| Constructor.
|
|
| ~NidecBrushless () override=default |
|
| NidecBrushless (NidecBrushless &&)=default |
|
NidecBrushless & | operator= (NidecBrushless &&)=default |
|
void | Set (double speed) override |
| Set the PWM value.
|
|
double | Get () const override |
| Get the recently set value of the PWM.
|
|
void | SetInverted (bool isInverted) override |
| Common interface for inverting direction of a motor controller.
|
|
bool | GetInverted () const override |
| Common interface for returning the inversion state of a motor controller.
|
|
void | Disable () override |
| Disable the motor.
|
|
void | Enable () |
| Re-enable the motor after Disable() has been called.
|
|
void | StopMotor () override |
| Common interface to stop the motor until Set is called again.
|
|
std::string | GetDescription () const override |
| Returns a description to print when an error occurs.
|
|
int | GetChannel () const |
| Gets the channel number associated with the object.
|
|
void | InitSendable (wpi::SendableBuilder &builder) override |
| Initializes this Sendable object.
|
|
virtual | ~MotorController ()=default |
|
virtual void | SetVoltage (units::volt_t output) |
| Sets the voltage output of the MotorController.
|
|
| MotorSafety () |
|
virtual | ~MotorSafety () |
|
| MotorSafety (MotorSafety &&rhs) |
|
MotorSafety & | operator= (MotorSafety &&rhs) |
|
void | Feed () |
| Feed the motor safety object.
|
|
void | SetExpiration (units::second_t expirationTime) |
| Set the expiration time for the corresponding motor safety object.
|
|
units::second_t | GetExpiration () const |
| Retrieve the timeout value for the corresponding motor safety object.
|
|
bool | IsAlive () const |
| Determine if the motor is still operating or has timed out.
|
|
void | SetSafetyEnabled (bool enabled) |
| Enable/disable motor safety for this device.
|
|
bool | IsSafetyEnabled () const |
| Return the state of the motor safety enabled flag.
|
|
void | Check () |
| Check if this motor has exceeded its timeout.
|
|
virtual constexpr | ~Sendable ()=default |
|
constexpr | SendableHelper (const SendableHelper &rhs)=default |
|
constexpr | SendableHelper (SendableHelper &&rhs) |
|
constexpr SendableHelper & | operator= (const SendableHelper &rhs)=default |
|
constexpr SendableHelper & | operator= (SendableHelper &&rhs) |
|