WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > > Struct Template Reference

#include <frc/system/struct/LinearSystemStruct.h>

Static Public Member Functions

static constexpr std::string_view GetTypeName ()
 
static constexpr size_t GetSize ()
 
static constexpr std::string_view GetSchema ()
 
static frc::LinearSystem< States, Inputs, Outputs > Unpack (std::span< const uint8_t > data)
 
static void Pack (std::span< uint8_t > data, const frc::LinearSystem< States, Inputs, Outputs > &value)
 
static void ForEachNested (std::invocable< std::string_view, std::string_view > auto fn)
 

Static Public Attributes

static constexpr ct_string kTypeName
 
static constexpr ct_string kSchema
 

Member Function Documentation

◆ ForEachNested()

template<int States, int Inputs, int Outputs>
static void wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::ForEachNested ( std::invocable< std::string_view, std::string_view > auto fn)
inlinestatic

◆ GetSchema()

template<int States, int Inputs, int Outputs>
static constexpr std::string_view wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::GetSchema ( )
inlinestaticconstexpr

◆ GetSize()

template<int States, int Inputs, int Outputs>
static constexpr size_t wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::GetSize ( )
inlinestaticconstexpr

◆ GetTypeName()

template<int States, int Inputs, int Outputs>
static constexpr std::string_view wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::GetTypeName ( )
inlinestaticconstexpr

◆ Pack()

template<int States, int Inputs, int Outputs>
static void wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::Pack ( std::span< uint8_t > data,
const frc::LinearSystem< States, Inputs, Outputs > & value )
inlinestatic

◆ Unpack()

template<int States, int Inputs, int Outputs>
static frc::LinearSystem< States, Inputs, Outputs > wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::Unpack ( std::span< const uint8_t > data)
inlinestatic

Member Data Documentation

◆ kSchema

template<int States, int Inputs, int Outputs>
ct_string wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::kSchema
staticconstexpr
Initial value:
Eigen::Matrix< double, Rows, Cols, Options, MaxRows, MaxCols > Matrixd
Definition EigenCore.h:21
constexpr auto Concat(ct_string< Char, Traits, N1 > const &s1, ct_string< Char, Traits, N > const &... s)
Concatenates multiple fixed_strings into a larger fixed_string at compile time.
Definition ct_string.h:168
static constexpr ct_string kTypeName
Definition LinearSystemStruct.h:16
Struct serialization template.
Definition Struct.h:39

◆ kTypeName

template<int States, int Inputs, int Outputs>
ct_string wpi::Struct< frc::LinearSystem< States, Inputs, Outputs > >::kTypeName
staticconstexpr
Initial value:
=
wpi::Concat("LinearSystem__"_ct_string, wpi::NumToCtString<States>(),
"_"_ct_string, wpi::NumToCtString<Inputs>(), "_"_ct_string,
constexpr auto NumToCtString()
Converts any integral to a ct_string at compile-time.
Definition ct_string.h:202

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