CTRE Phoenix 6 C++ 24.3.0
ctre::phoenix6::SignalMeasurement< L > Struct Template Reference

Information from a single measurement of a status signal. More...

#include <ctre/phoenix6/StatusSignal.hpp>

Public Attributes

value
 The value of the signal, this may be an enum so it is stored as a string. More...
 
units::time::second_t timestamp
 Timestamp of when the data point was taken. More...
 
ctre::phoenix::StatusCode status
 Status code response of getting the data. More...
 
std::string units
 Units that correspond to this point. More...
 

Detailed Description

template<typename L>
struct ctre::phoenix6::SignalMeasurement< L >

Information from a single measurement of a status signal.

Member Data Documentation

◆ status

template<typename L >
ctre::phoenix::StatusCode ctre::phoenix6::SignalMeasurement< L >::status

Status code response of getting the data.

◆ timestamp

template<typename L >
units::time::second_t ctre::phoenix6::SignalMeasurement< L >::timestamp

Timestamp of when the data point was taken.

◆ units

template<typename L >
std::string ctre::phoenix6::SignalMeasurement< L >::units

Units that correspond to this point.

◆ value

template<typename L >
L ctre::phoenix6::SignalMeasurement< L >::value

The value of the signal, this may be an enum so it is stored as a string.


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