9#include <wpi/hardware/motor/MotorSafety.hpp>
22 std::function<void()> m_stopMotor;
23 std::string_view m_description;
32 m_stopMotor{std::move(stopMotor)},
33 m_description{description}
48 return std::string{m_description};
void StopMotor() override
Stops the controller.
Definition MotorSafetyImplem.hpp:39
MotorSafetyImplem(std::function< void()> stopMotor, std::string_view description)
Constructor for MotorSafetyImplem.
Definition MotorSafetyImplem.hpp:31
std::string GetDescription() const override
Definition MotorSafetyImplem.hpp:46
Definition CallbackHelper.hpp:13
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14