14template <
int States,
int Inputs,
int Outputs>
39 std::span<const uint8_t> data) {
40 constexpr size_t kAOff = 0;
41 constexpr size_t kBOff =
43 constexpr size_t kCOff =
45 constexpr size_t kDOff =
59 std::span<uint8_t> data,
61 constexpr size_t kAOff = 0;
62 constexpr size_t kBOff =
64 constexpr size_t kCOff =
66 constexpr size_t kDOff =
75 std::invocable<std::string_view, std::string_view>
auto fn) {
A plant defined using state-space notation.
Definition LinearSystem.hpp:35
constexpr const Matrixd< States, States > & A() const
Returns the system matrix A.
Definition LinearSystem.hpp:104
constexpr const Matrixd< States, Inputs > & B() const
Returns the input matrix B.
Definition LinearSystem.hpp:117
constexpr const Matrixd< Outputs, States > & C() const
Returns the output matrix C.
Definition LinearSystem.hpp:130
constexpr const Matrixd< Outputs, Inputs > & D() const
Returns the feedthrough matrix D.
Definition LinearSystem.hpp:143
Specifies that a struct type has nested struct declarations.
Definition Struct.hpp:120
Specifies that a type is capable of raw struct serialization and deserialization.
Definition Struct.hpp:69
Eigen::Matrix< double, Rows, Cols, Options, MaxRows, MaxCols > Matrixd
Definition EigenCore.hpp:21
void ForEachStructSchema(std::invocable< std::string_view, std::string_view > auto fn, const I &... info)
Definition Struct.hpp:424
constexpr size_t GetStructSize(const I &... info)
Get the size for a raw struct serializable type.
Definition Struct.hpp:337
void PackStruct(std::span< uint8_t > data, T &&value, const I &... info)
Pack a serialized struct.
Definition Struct.hpp:200
T UnpackStruct(std::span< const uint8_t > data, const I &... info)
Unpack a serialized struct.
Definition Struct.hpp:138
constexpr auto NumToCtString()
Converts any integral to a ct_string at compile-time.
Definition ct_string.hpp:202
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.hpp:168
Definition CvSource.hpp:15
Struct serialization template.
Definition Struct.hpp:39
Fixed length string (array of character) for compile time use.
Definition ct_string.hpp:29