The Motor Safety feature acts as a watchdog timer for an individual motor.
Definition: MotorSafety.h:25
Common base class for drive platforms.
Definition: RobotDriveBase.h:20
RobotDriveBase & operator=(RobotDriveBase &&)=default
void StopMotor() override=0
std::string GetDescription() const override=0
The return value from this method is printed out when an error occurs.
void SetDeadband(double deadband)
Sets the deadband applied to the drive inputs (e.g., joystick values).
double m_deadband
Definition: RobotDriveBase.h:79
~RobotDriveBase() override=default
MotorType
The location of a motor on the robot for the purpose of driving.
Definition: RobotDriveBase.h:25
@ kLeft
Definition: RobotDriveBase.h:30
@ kFrontLeft
Definition: RobotDriveBase.h:26
@ kRight
Definition: RobotDriveBase.h:31
@ kFrontRight
Definition: RobotDriveBase.h:27
@ kRearRight
Definition: RobotDriveBase.h:29
@ kRearLeft
Definition: RobotDriveBase.h:28
@ kBack
Definition: RobotDriveBase.h:32
void SetMaxOutput(double maxOutput)
Configure the scaling factor for using RobotDrive with motor controllers in a mode other than Percent...
static void Desaturate(std::span< double > wheelSpeeds)
Renormalize all wheel speeds if the magnitude of any wheel is greater than 1.0.
void FeedWatchdog()
Feed the motor safety object.
RobotDriveBase(RobotDriveBase &&)=default
double m_maxOutput
Definition: RobotDriveBase.h:80
Definition: AprilTagPoseEstimator.h:15