7#ifndef PB_WPI_PROTO_SYSTEM_NPB_H_INCLUDED
8#define PB_WPI_PROTO_SYSTEM_NPB_H_INCLUDED
14#if PB_PROTO_HEADER_VERSION != 40
15#error Regenerate this file with the current version of nanopb generator.
21 static std::string_view
msg_name(
void)
noexcept;
33 static std::string_view
msg_name(
void)
noexcept;
47#define wpi_proto_ProtobufDCMotor_init_default {0, 0, 0, 0, 0}
48#define wpi_proto_ProtobufLinearSystem_init_default {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
49#define wpi_proto_ProtobufDCMotor_init_zero {0, 0, 0, 0, 0}
50#define wpi_proto_ProtobufLinearSystem_init_zero {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
53#define wpi_proto_ProtobufDCMotor_nominal_voltage_tag 1
54#define wpi_proto_ProtobufDCMotor_stall_torque_tag 2
55#define wpi_proto_ProtobufDCMotor_stall_current_tag 3
56#define wpi_proto_ProtobufDCMotor_free_current_tag 4
57#define wpi_proto_ProtobufDCMotor_free_speed_tag 5
58#define wpi_proto_ProtobufLinearSystem_num_states_tag 1
59#define wpi_proto_ProtobufLinearSystem_num_inputs_tag 2
60#define wpi_proto_ProtobufLinearSystem_num_outputs_tag 3
61#define wpi_proto_ProtobufLinearSystem_a_tag 4
62#define wpi_proto_ProtobufLinearSystem_b_tag 5
63#define wpi_proto_ProtobufLinearSystem_c_tag 6
64#define wpi_proto_ProtobufLinearSystem_d_tag 7
67#define wpi_proto_ProtobufDCMotor_FIELDLIST(X, a) \
68X(a, STATIC, SINGULAR, DOUBLE, nominal_voltage, 1) \
69X(a, STATIC, SINGULAR, DOUBLE, stall_torque, 2) \
70X(a, STATIC, SINGULAR, DOUBLE, stall_current, 3) \
71X(a, STATIC, SINGULAR, DOUBLE, free_current, 4) \
72X(a, STATIC, SINGULAR, DOUBLE, free_speed, 5)
73#define wpi_proto_ProtobufDCMotor_CALLBACK NULL
74#define wpi_proto_ProtobufDCMotor_DEFAULT NULL
76#define wpi_proto_ProtobufLinearSystem_FIELDLIST(X, a_) \
77X(a_, STATIC, SINGULAR, UINT32, num_states, 1) \
78X(a_, STATIC, SINGULAR, UINT32, num_inputs, 2) \
79X(a_, STATIC, SINGULAR, UINT32, num_outputs, 3) \
80X(a_, CALLBACK, OPTIONAL, MESSAGE, a, 4) \
81X(a_, CALLBACK, OPTIONAL, MESSAGE, b, 5) \
82X(a_, CALLBACK, OPTIONAL, MESSAGE, c, 6) \
83X(a_, CALLBACK, OPTIONAL, MESSAGE, d, 7)
84#define wpi_proto_ProtobufLinearSystem_CALLBACK pb_default_field_callback
85#define wpi_proto_ProtobufLinearSystem_DEFAULT NULL
86#define wpi_proto_ProtobufLinearSystem_a_MSGTYPE wpi_proto_ProtobufMatrix
87#define wpi_proto_ProtobufLinearSystem_b_MSGTYPE wpi_proto_ProtobufMatrix
88#define wpi_proto_ProtobufLinearSystem_c_MSGTYPE wpi_proto_ProtobufMatrix
89#define wpi_proto_ProtobufLinearSystem_d_MSGTYPE wpi_proto_ProtobufMatrix
93#define WPI_PROTO_SYSTEM_NPB_H_MAX_SIZE wpi_proto_ProtobufDCMotor_size
94#define wpi_proto_ProtobufDCMotor_size 45
struct pb_filedesc_s pb_filedesc_t
Definition pb.h:321
struct pb_msgdesc_s pb_msgdesc_t
Definition pb.h:330
struct pb_callback_s pb_callback_t
Definition pb.h:413
Definition system.npb.h:19
static const pb_msgdesc_t * msg_descriptor(void) noexcept
double free_speed
Definition system.npb.h:28
double nominal_voltage
Definition system.npb.h:24
static std::string_view msg_name(void) noexcept
double stall_torque
Definition system.npb.h:25
static pb_filedesc_t file_descriptor(void) noexcept
double free_current
Definition system.npb.h:27
double stall_current
Definition system.npb.h:26
Definition system.npb.h:31
uint32_t num_inputs
Definition system.npb.h:37
static std::string_view msg_name(void) noexcept
static pb_filedesc_t file_descriptor(void) noexcept
pb_callback_t b
Definition system.npb.h:40
pb_callback_t c
Definition system.npb.h:41
static const pb_msgdesc_t * msg_descriptor(void) noexcept
pb_callback_t a
Definition system.npb.h:39
pb_callback_t d
Definition system.npb.h:42
uint32_t num_states
Definition system.npb.h:36
uint32_t num_outputs
Definition system.npb.h:38
struct _wpi_proto_ProtobufLinearSystem wpi_proto_ProtobufLinearSystem
struct _wpi_proto_ProtobufDCMotor wpi_proto_ProtobufDCMotor