WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
wpi::Struct< frc::SwerveModuleState > Struct Reference

#include <frc/kinematics/struct/SwerveModuleStateStruct.h>

Static Public Member Functions

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

Member Function Documentation

◆ ForEachNested()

static void wpi::Struct< frc::SwerveModuleState >::ForEachNested ( std::invocable< std::string_view, std::string_view > auto fn)
inlinestatic

◆ GetSchema()

static constexpr std::string_view wpi::Struct< frc::SwerveModuleState >::GetSchema ( )
inlinestaticconstexpr

◆ GetSize()

static constexpr size_t wpi::Struct< frc::SwerveModuleState >::GetSize ( )
inlinestaticconstexpr

◆ GetTypeName()

static constexpr std::string_view wpi::Struct< frc::SwerveModuleState >::GetTypeName ( )
inlinestaticconstexpr

◆ Pack()

static void wpi::Struct< frc::SwerveModuleState >::Pack ( std::span< uint8_t > data,
const frc::SwerveModuleState & value )
static

◆ Unpack()

static frc::SwerveModuleState wpi::Struct< frc::SwerveModuleState >::Unpack ( std::span< const uint8_t > data)
static

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