CTRE Phoenix 6 C++ 24.3.0
ctre::phoenix6::wpiutils::MotorSafetyImplem Class Reference

Implem of MotorSafety interface from WPILib. More...

#include <ctre/phoenix6/wpiutils/MotorSafetyImplem.hpp>

Inheritance diagram for ctre::phoenix6::wpiutils::MotorSafetyImplem:

Public Member Functions

 MotorSafetyImplem (frc::MotorController &motorController, std::string const &description)
 
void StopMotor () override
 Stops the controller. More...
 
std::string GetDescription () const override
 

Detailed Description

Implem of MotorSafety interface from WPILib.

This also allows late/lazy construction of WPILib's motor safety object.

Constructor & Destructor Documentation

◆ MotorSafetyImplem()

ctre::phoenix6::wpiutils::MotorSafetyImplem::MotorSafetyImplem ( frc::MotorController &  motorController,
std::string const &  description 
)
inline

Member Function Documentation

◆ GetDescription()

std::string ctre::phoenix6::wpiutils::MotorSafetyImplem::GetDescription ( ) const
inlineoverride
Returns
Description of motor controller

◆ StopMotor()

void ctre::phoenix6::wpiutils::MotorSafetyImplem::StopMotor ( )
inlineoverride

Stops the controller.


The documentation for this class was generated from the following file: