7#ifndef PB_WPI_PROTO_PLANT_NPB_H_INCLUDED
8#define PB_WPI_PROTO_PLANT_NPB_H_INCLUDED
13#if PB_PROTO_HEADER_VERSION != 40
14#error Regenerate this file with the current version of nanopb generator.
20 static std::string_view
msg_name(
void)
noexcept;
32#define wpi_proto_ProtobufDCMotor_init_default {0, 0, 0, 0, 0}
33#define wpi_proto_ProtobufDCMotor_init_zero {0, 0, 0, 0, 0}
36#define wpi_proto_ProtobufDCMotor_nominal_voltage_tag 1
37#define wpi_proto_ProtobufDCMotor_stall_torque_tag 2
38#define wpi_proto_ProtobufDCMotor_stall_current_tag 3
39#define wpi_proto_ProtobufDCMotor_free_current_tag 4
40#define wpi_proto_ProtobufDCMotor_free_speed_tag 5
43#define wpi_proto_ProtobufDCMotor_FIELDLIST(X, a) \
44X(a, STATIC, SINGULAR, DOUBLE, nominal_voltage, 1) \
45X(a, STATIC, SINGULAR, DOUBLE, stall_torque, 2) \
46X(a, STATIC, SINGULAR, DOUBLE, stall_current, 3) \
47X(a, STATIC, SINGULAR, DOUBLE, free_current, 4) \
48X(a, STATIC, SINGULAR, DOUBLE, free_speed, 5)
49#define wpi_proto_ProtobufDCMotor_CALLBACK NULL
50#define wpi_proto_ProtobufDCMotor_DEFAULT NULL
53#define WPI_PROTO_PLANT_NPB_H_MAX_SIZE wpi_proto_ProtobufDCMotor_size
54#define wpi_proto_ProtobufDCMotor_size 45
struct _wpi_proto_ProtobufDCMotor wpi_proto_ProtobufDCMotor
Definition plant.npb.h:18
static const pb_msgdesc_t * msg_descriptor(void) noexcept
double free_speed
Definition plant.npb.h:27
double nominal_voltage
Definition plant.npb.h:23
static std::string_view msg_name(void) noexcept
double stall_torque
Definition plant.npb.h:24
static pb_filedesc_t file_descriptor(void) noexcept
double free_current
Definition plant.npb.h:26
double stall_current
Definition plant.npb.h:25