The Motor Safety feature acts as a watchdog timer for an individual motor.
Definition: MotorSafety.h:25
Class for Spike style relay outputs.
Definition: Relay.h:32
void InitSendable(wpi::SendableBuilder &builder) override
Initializes this Sendable object.
Direction
Definition: Relay.h:35
@ kForwardOnly
Definition: Relay.h:35
@ kReverseOnly
Definition: Relay.h:35
@ kBothDirections
Definition: Relay.h:35
Value Get() const
Get the Relay State.
Relay & operator=(Relay &&)=default
void StopMotor() override
std::string GetDescription() const override
The return value from this method is printed out when an error occurs.
void Set(Value value)
Set the relay state.
Value
Definition: Relay.h:34
@ kForward
Definition: Relay.h:34
@ kOff
Definition: Relay.h:34
@ kReverse
Definition: Relay.h:34
@ kOn
Definition: Relay.h:34
~Relay() override
Free the resource associated with a relay.
Relay(int channel, Direction direction=kBothDirections)
Relay constructor given a channel.
Definition: SendableBuilder.h:18
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
Interface for Sendable objects.
Definition: Sendable.h:16
Definition: AprilTagPoseEstimator.h:15