CTRE Phoenix 6 C++ 26.0.0-beta-1
Loading...
Searching...
No Matches
ctre::phoenix6::SignalMeasurement< T > Struct Template Reference

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

#include <ctre/phoenix6/SignalMeasurement.hpp>

Public Attributes

std::string_view name
 The name of the signal.
 
value
 The value of the signal.
 
units::time::second_t timestamp
 Timestamp of when the data point was taken.
 
std::string units
 The units of the signal measurement.
 
ctre::phoenix::StatusCode status
 Status code response of getting the data.
 

Detailed Description

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

Information from a single measurement of a status signal.

Member Data Documentation

◆ name

template<typename T >
std::string_view ctre::phoenix6::SignalMeasurement< T >::name

The name of the signal.

◆ status

Status code response of getting the data.

◆ timestamp

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

Timestamp of when the data point was taken.

◆ units

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

The units of the signal measurement.

◆ value

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

The value of the signal.


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