9#include "frc/motorcontrol/MotorController.h"
10#include "frc/MotorSafety.h"
22 frc::MotorController &m_motorController;
23 std::string
const &m_description;
27 m_motorController{motorController},
28 m_description{description}
36 m_motorController.StopMotor();
Implem of MotorSafety interface from WPILib.
Definition: MotorSafetyImplem.hpp:20
MotorSafetyImplem(frc::MotorController &motorController, std::string const &description)
Definition: MotorSafetyImplem.hpp:26
void StopMotor() override
Stops the controller.
Definition: MotorSafetyImplem.hpp:34
std::string GetDescription() const override
Definition: MotorSafetyImplem.hpp:41
Definition: string_util.hpp:15