7#ifndef PB_WPI_PROTO_KINEMATICS_NPB_H_INCLUDED
8#define PB_WPI_PROTO_KINEMATICS_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;
31 static std::string_view
msg_name(
void)
noexcept;
39 static std::string_view
msg_name(
void)
noexcept;
48 static std::string_view
msg_name(
void)
noexcept;
57 static std::string_view
msg_name(
void)
noexcept;
68 static std::string_view
msg_name(
void)
noexcept;
79 static std::string_view
msg_name(
void)
noexcept;
90 static std::string_view
msg_name(
void)
noexcept;
98 static std::string_view
msg_name(
void)
noexcept;
116#define wpi_proto_ProtobufChassisSpeeds_init_default {0, 0, 0}
117#define wpi_proto_ProtobufDifferentialDriveKinematics_init_default {0}
118#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_init_default {0, 0}
119#define wpi_proto_ProtobufDifferentialDriveWheelPositions_init_default {0, 0}
120#define wpi_proto_ProtobufMecanumDriveKinematics_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
121#define wpi_proto_ProtobufMecanumDriveWheelPositions_init_default {0, 0, 0, 0}
122#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_init_default {0, 0, 0, 0}
123#define wpi_proto_ProtobufSwerveDriveKinematics_init_default {{{NULL}, NULL}}
124#define wpi_proto_ProtobufSwerveModulePosition_init_default {0, {{NULL}, NULL}}
125#define wpi_proto_ProtobufSwerveModuleState_init_default {0, {{NULL}, NULL}}
126#define wpi_proto_ProtobufChassisSpeeds_init_zero {0, 0, 0}
127#define wpi_proto_ProtobufDifferentialDriveKinematics_init_zero {0}
128#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_init_zero {0, 0}
129#define wpi_proto_ProtobufDifferentialDriveWheelPositions_init_zero {0, 0}
130#define wpi_proto_ProtobufMecanumDriveKinematics_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
131#define wpi_proto_ProtobufMecanumDriveWheelPositions_init_zero {0, 0, 0, 0}
132#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_init_zero {0, 0, 0, 0}
133#define wpi_proto_ProtobufSwerveDriveKinematics_init_zero {{{NULL}, NULL}}
134#define wpi_proto_ProtobufSwerveModulePosition_init_zero {0, {{NULL}, NULL}}
135#define wpi_proto_ProtobufSwerveModuleState_init_zero {0, {{NULL}, NULL}}
138#define wpi_proto_ProtobufChassisSpeeds_vx_tag 1
139#define wpi_proto_ProtobufChassisSpeeds_vy_tag 2
140#define wpi_proto_ProtobufChassisSpeeds_omega_tag 3
141#define wpi_proto_ProtobufDifferentialDriveKinematics_track_width_tag 1
142#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_left_tag 1
143#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_right_tag 2
144#define wpi_proto_ProtobufDifferentialDriveWheelPositions_left_tag 1
145#define wpi_proto_ProtobufDifferentialDriveWheelPositions_right_tag 2
146#define wpi_proto_ProtobufMecanumDriveKinematics_front_left_tag 1
147#define wpi_proto_ProtobufMecanumDriveKinematics_front_right_tag 2
148#define wpi_proto_ProtobufMecanumDriveKinematics_rear_left_tag 3
149#define wpi_proto_ProtobufMecanumDriveKinematics_rear_right_tag 4
150#define wpi_proto_ProtobufMecanumDriveWheelPositions_front_left_tag 1
151#define wpi_proto_ProtobufMecanumDriveWheelPositions_front_right_tag 2
152#define wpi_proto_ProtobufMecanumDriveWheelPositions_rear_left_tag 3
153#define wpi_proto_ProtobufMecanumDriveWheelPositions_rear_right_tag 4
154#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_front_left_tag 1
155#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_front_right_tag 2
156#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_rear_left_tag 3
157#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_rear_right_tag 4
158#define wpi_proto_ProtobufSwerveDriveKinematics_modules_tag 1
159#define wpi_proto_ProtobufSwerveModulePosition_distance_tag 1
160#define wpi_proto_ProtobufSwerveModulePosition_angle_tag 2
161#define wpi_proto_ProtobufSwerveModuleState_speed_tag 1
162#define wpi_proto_ProtobufSwerveModuleState_angle_tag 2
165#define wpi_proto_ProtobufChassisSpeeds_FIELDLIST(X, a) \
166X(a, STATIC, SINGULAR, DOUBLE, vx, 1) \
167X(a, STATIC, SINGULAR, DOUBLE, vy, 2) \
168X(a, STATIC, SINGULAR, DOUBLE, omega, 3)
169#define wpi_proto_ProtobufChassisSpeeds_CALLBACK NULL
170#define wpi_proto_ProtobufChassisSpeeds_DEFAULT NULL
172#define wpi_proto_ProtobufDifferentialDriveKinematics_FIELDLIST(X, a) \
173X(a, STATIC, SINGULAR, DOUBLE, track_width, 1)
174#define wpi_proto_ProtobufDifferentialDriveKinematics_CALLBACK NULL
175#define wpi_proto_ProtobufDifferentialDriveKinematics_DEFAULT NULL
177#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_FIELDLIST(X, a) \
178X(a, STATIC, SINGULAR, DOUBLE, left, 1) \
179X(a, STATIC, SINGULAR, DOUBLE, right, 2)
180#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_CALLBACK NULL
181#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_DEFAULT NULL
183#define wpi_proto_ProtobufDifferentialDriveWheelPositions_FIELDLIST(X, a) \
184X(a, STATIC, SINGULAR, DOUBLE, left, 1) \
185X(a, STATIC, SINGULAR, DOUBLE, right, 2)
186#define wpi_proto_ProtobufDifferentialDriveWheelPositions_CALLBACK NULL
187#define wpi_proto_ProtobufDifferentialDriveWheelPositions_DEFAULT NULL
189#define wpi_proto_ProtobufMecanumDriveKinematics_FIELDLIST(X, a) \
190X(a, CALLBACK, OPTIONAL, MESSAGE, front_left, 1) \
191X(a, CALLBACK, OPTIONAL, MESSAGE, front_right, 2) \
192X(a, CALLBACK, OPTIONAL, MESSAGE, rear_left, 3) \
193X(a, CALLBACK, OPTIONAL, MESSAGE, rear_right, 4)
194#define wpi_proto_ProtobufMecanumDriveKinematics_CALLBACK pb_default_field_callback
195#define wpi_proto_ProtobufMecanumDriveKinematics_DEFAULT NULL
196#define wpi_proto_ProtobufMecanumDriveKinematics_front_left_MSGTYPE wpi_proto_ProtobufTranslation2d
197#define wpi_proto_ProtobufMecanumDriveKinematics_front_right_MSGTYPE wpi_proto_ProtobufTranslation2d
198#define wpi_proto_ProtobufMecanumDriveKinematics_rear_left_MSGTYPE wpi_proto_ProtobufTranslation2d
199#define wpi_proto_ProtobufMecanumDriveKinematics_rear_right_MSGTYPE wpi_proto_ProtobufTranslation2d
201#define wpi_proto_ProtobufMecanumDriveWheelPositions_FIELDLIST(X, a) \
202X(a, STATIC, SINGULAR, DOUBLE, front_left, 1) \
203X(a, STATIC, SINGULAR, DOUBLE, front_right, 2) \
204X(a, STATIC, SINGULAR, DOUBLE, rear_left, 3) \
205X(a, STATIC, SINGULAR, DOUBLE, rear_right, 4)
206#define wpi_proto_ProtobufMecanumDriveWheelPositions_CALLBACK NULL
207#define wpi_proto_ProtobufMecanumDriveWheelPositions_DEFAULT NULL
209#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_FIELDLIST(X, a) \
210X(a, STATIC, SINGULAR, DOUBLE, front_left, 1) \
211X(a, STATIC, SINGULAR, DOUBLE, front_right, 2) \
212X(a, STATIC, SINGULAR, DOUBLE, rear_left, 3) \
213X(a, STATIC, SINGULAR, DOUBLE, rear_right, 4)
214#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_CALLBACK NULL
215#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_DEFAULT NULL
217#define wpi_proto_ProtobufSwerveDriveKinematics_FIELDLIST(X, a) \
218X(a, CALLBACK, REPEATED, MESSAGE, modules, 1)
219#define wpi_proto_ProtobufSwerveDriveKinematics_CALLBACK pb_default_field_callback
220#define wpi_proto_ProtobufSwerveDriveKinematics_DEFAULT NULL
221#define wpi_proto_ProtobufSwerveDriveKinematics_modules_MSGTYPE wpi_proto_ProtobufTranslation2d
223#define wpi_proto_ProtobufSwerveModulePosition_FIELDLIST(X, a) \
224X(a, STATIC, SINGULAR, DOUBLE, distance, 1) \
225X(a, CALLBACK, OPTIONAL, MESSAGE, angle, 2)
226#define wpi_proto_ProtobufSwerveModulePosition_CALLBACK pb_default_field_callback
227#define wpi_proto_ProtobufSwerveModulePosition_DEFAULT NULL
228#define wpi_proto_ProtobufSwerveModulePosition_angle_MSGTYPE wpi_proto_ProtobufRotation2d
230#define wpi_proto_ProtobufSwerveModuleState_FIELDLIST(X, a) \
231X(a, STATIC, SINGULAR, DOUBLE, speed, 1) \
232X(a, CALLBACK, OPTIONAL, MESSAGE, angle, 2)
233#define wpi_proto_ProtobufSwerveModuleState_CALLBACK pb_default_field_callback
234#define wpi_proto_ProtobufSwerveModuleState_DEFAULT NULL
235#define wpi_proto_ProtobufSwerveModuleState_angle_MSGTYPE wpi_proto_ProtobufRotation2d
242#define WPI_PROTO_KINEMATICS_NPB_H_MAX_SIZE wpi_proto_ProtobufMecanumDriveWheelPositions_size
243#define wpi_proto_ProtobufChassisSpeeds_size 27
244#define wpi_proto_ProtobufDifferentialDriveKinematics_size 9
245#define wpi_proto_ProtobufDifferentialDriveWheelPositions_size 18
246#define wpi_proto_ProtobufDifferentialDriveWheelSpeeds_size 18
247#define wpi_proto_ProtobufMecanumDriveWheelPositions_size 36
248#define wpi_proto_ProtobufMecanumDriveWheelSpeeds_size 36
struct _wpi_proto_ProtobufSwerveModulePosition wpi_proto_ProtobufSwerveModulePosition
struct _wpi_proto_ProtobufSwerveDriveKinematics wpi_proto_ProtobufSwerveDriveKinematics
struct _wpi_proto_ProtobufMecanumDriveWheelPositions wpi_proto_ProtobufMecanumDriveWheelPositions
struct _wpi_proto_ProtobufMecanumDriveWheelSpeeds wpi_proto_ProtobufMecanumDriveWheelSpeeds
struct _wpi_proto_ProtobufSwerveModuleState wpi_proto_ProtobufSwerveModuleState
struct _wpi_proto_ProtobufDifferentialDriveKinematics wpi_proto_ProtobufDifferentialDriveKinematics
struct _wpi_proto_ProtobufChassisSpeeds wpi_proto_ProtobufChassisSpeeds
struct _wpi_proto_ProtobufDifferentialDriveWheelPositions wpi_proto_ProtobufDifferentialDriveWheelPositions
struct _wpi_proto_ProtobufMecanumDriveKinematics wpi_proto_ProtobufMecanumDriveKinematics
struct _wpi_proto_ProtobufDifferentialDriveWheelSpeeds wpi_proto_ProtobufDifferentialDriveWheelSpeeds
Definition kinematics.npb.h:19
double vy
Definition kinematics.npb.h:25
double omega
Definition kinematics.npb.h:26
static std::string_view msg_name(void) noexcept
double vx
Definition kinematics.npb.h:24
static pb_filedesc_t file_descriptor(void) noexcept
static const pb_msgdesc_t * msg_descriptor(void) noexcept
Definition kinematics.npb.h:29
double track_width
Definition kinematics.npb.h:34
static std::string_view msg_name(void) noexcept
static pb_filedesc_t file_descriptor(void) noexcept
static const pb_msgdesc_t * msg_descriptor(void) noexcept
Definition kinematics.npb.h:46
static const pb_msgdesc_t * msg_descriptor(void) noexcept
double right
Definition kinematics.npb.h:52
static std::string_view msg_name(void) noexcept
double left
Definition kinematics.npb.h:51
static pb_filedesc_t file_descriptor(void) noexcept
Definition kinematics.npb.h:37
double right
Definition kinematics.npb.h:43
static const pb_msgdesc_t * msg_descriptor(void) noexcept
static pb_filedesc_t file_descriptor(void) noexcept
double left
Definition kinematics.npb.h:42
static std::string_view msg_name(void) noexcept
Definition kinematics.npb.h:55
static std::string_view msg_name(void) noexcept
static const pb_msgdesc_t * msg_descriptor(void) noexcept
pb_callback_t rear_left
Definition kinematics.npb.h:62
static pb_filedesc_t file_descriptor(void) noexcept
pb_callback_t front_left
Definition kinematics.npb.h:60
pb_callback_t rear_right
Definition kinematics.npb.h:63
pb_callback_t front_right
Definition kinematics.npb.h:61
Definition kinematics.npb.h:66
static std::string_view msg_name(void) noexcept
double rear_left
Definition kinematics.npb.h:73
static pb_filedesc_t file_descriptor(void) noexcept
double front_right
Definition kinematics.npb.h:72
static const pb_msgdesc_t * msg_descriptor(void) noexcept
double rear_right
Definition kinematics.npb.h:74
double front_left
Definition kinematics.npb.h:71
Definition kinematics.npb.h:77
static pb_filedesc_t file_descriptor(void) noexcept
static std::string_view msg_name(void) noexcept
double rear_right
Definition kinematics.npb.h:85
double front_right
Definition kinematics.npb.h:83
static const pb_msgdesc_t * msg_descriptor(void) noexcept
double rear_left
Definition kinematics.npb.h:84
double front_left
Definition kinematics.npb.h:82
Definition kinematics.npb.h:88
static pb_filedesc_t file_descriptor(void) noexcept
pb_callback_t modules
Definition kinematics.npb.h:93
static const pb_msgdesc_t * msg_descriptor(void) noexcept
static std::string_view msg_name(void) noexcept
Definition kinematics.npb.h:96
static pb_filedesc_t file_descriptor(void) noexcept
static const pb_msgdesc_t * msg_descriptor(void) noexcept
double distance
Definition kinematics.npb.h:101
pb_callback_t angle
Definition kinematics.npb.h:102
static std::string_view msg_name(void) noexcept
Definition kinematics.npb.h:105
static const pb_msgdesc_t * msg_descriptor(void) noexcept
static pb_filedesc_t file_descriptor(void) noexcept
static std::string_view msg_name(void) noexcept
double speed
Definition kinematics.npb.h:110
pb_callback_t angle
Definition kinematics.npb.h:111