CTRE Phoenix 6 C++ 25.3.1
Loading...
Searching...
No Matches
ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue Class Reference

The output mode of the differential PID controller. More...

#include <ctre/phoenix6/signals/SpnEnums.hpp>

Inheritance diagram for ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue:
ctre::phoenix6::ISerializable

Public Member Functions

constexpr DiffPIDOutput_PIDOutputModeValue (int value)
 
constexpr DiffPIDOutput_PIDOutputModeValue ()
 
constexpr bool operator== (DiffPIDOutput_PIDOutputModeValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (DiffPIDOutput_PIDOutputModeValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (DiffPIDOutput_PIDOutputModeValue data) const
 
constexpr bool operator< (int data) const
 
std::string ToString () const
 Gets the string representation of this enum.
 
std::string Serialize () const
 
- Public Member Functions inherited from ctre::phoenix6::ISerializable

Public Attributes

int value
 

Static Public Attributes

static constexpr int DutyCycle = 0
 
static constexpr int Voltage = 1
 
static constexpr int TorqueCurrentFOC = 2
 

Friends

std::ostream & operator<< (std::ostream &os, DiffPIDOutput_PIDOutputModeValue data)
 

Detailed Description

The output mode of the differential PID controller.

Constructor & Destructor Documentation

◆ DiffPIDOutput_PIDOutputModeValue() [1/2]

ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::DiffPIDOutput_PIDOutputModeValue ( int value)
inlineconstexpr

◆ DiffPIDOutput_PIDOutputModeValue() [2/2]

ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::DiffPIDOutput_PIDOutputModeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator!=() [1/2]

bool ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::operator!= ( DiffPIDOutput_PIDOutputModeValue data) const
inlineconstexpr

◆ operator!=() [2/2]

bool ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::operator!= ( int data) const
inlineconstexpr

◆ operator<() [1/2]

bool ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::operator< ( DiffPIDOutput_PIDOutputModeValue data) const
inlineconstexpr

◆ operator<() [2/2]

bool ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::operator< ( int data) const
inlineconstexpr

◆ operator==() [1/2]

bool ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::operator== ( DiffPIDOutput_PIDOutputModeValue data) const
inlineconstexpr

◆ operator==() [2/2]

bool ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::operator== ( int data) const
inlineconstexpr

◆ Serialize()

std::string ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::Serialize ( ) const
inlinevirtual

◆ ToString()

std::string ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::ToString ( ) const
inline

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
DiffPIDOutput_PIDOutputModeValue data )
friend

Member Data Documentation

◆ DutyCycle

int ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::DutyCycle = 0
staticconstexpr

◆ TorqueCurrentFOC

int ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::TorqueCurrentFOC = 2
staticconstexpr

◆ value

int ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::value

◆ Voltage

int ctre::phoenix6::signals::DiffPIDOutput_PIDOutputModeValue::Voltage = 1
staticconstexpr

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