9#include "frc/MotorSafety.h"
22 std::function<void()> m_stopMotor;
23 std::string
const &m_description;
32 m_stopMotor{
std::move(stopMotor)},
33 m_description{description}
Implem of MotorSafety interface from WPILib.
Definition MotorSafetyImplem.hpp:20
void StopMotor() override
Stops the controller.
Definition MotorSafetyImplem.hpp:39
MotorSafetyImplem(std::function< void()> stopMotor, std::string const &description)
Constructor for MotorSafetyImplem.
Definition MotorSafetyImplem.hpp:31
std::string GetDescription() const override
Definition MotorSafetyImplem.hpp:46
Definition StatusCodes.h:18