CTRE Phoenix 6 C++ 25.0.0-beta-4
|
Implem of MotorSafety interface from WPILib. More...
#include <ctre/phoenix6/wpiutils/MotorSafetyImplem.hpp>
Public Member Functions | |
MotorSafetyImplem (std::function< void()> stopMotor, std::string const &description) | |
Constructor for MotorSafetyImplem. | |
void | StopMotor () override |
Stops the controller. | |
std::string | GetDescription () const override |
Implem of MotorSafety interface from WPILib.
This also allows late/lazy construction of WPILib's motor safety object.
|
inline |
Constructor for MotorSafetyImplem.
stopMotor | Function to stop the motor |
description | Description of motor controller |
|
inlineoverride |
|
inlineoverride |
Stops the controller.