15 static constexpr size_t GetSize() {
return 40; }
17 return "double nominal_voltage;double stall_torque;double "
18 "stall_current;double "
19 "free_current;double free_speed";
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Holds the constants for a DC motor.
Definition: DCMotor.h:20
Specifies that a type is capable of raw struct serialization and deserialization.
Definition: Struct.h:68
basic_string_view< char > string_view
Definition: core.h:501
Definition: ntcore_cpp.h:26
static frc::DCMotor Unpack(std::span< const uint8_t > data)
static constexpr std::string_view GetTypeString()
Definition: DCMotorStruct.h:14
static constexpr std::string_view GetSchema()
Definition: DCMotorStruct.h:16
static constexpr size_t GetSize()
Definition: DCMotorStruct.h:15
static void Pack(std::span< uint8_t > data, const frc::DCMotor &value)