WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
system.npb.h File Reference
#include <pb.h>
#include <span>
#include <string_view>
#include "wpimath.npb.h"

Go to the source code of this file.

Classes

struct  _wpi_proto_ProtobufDCMotor
struct  _wpi_proto_ProtobufLinearSystem

Macros

#define wpi_proto_ProtobufDCMotor_init_default   {0, 0, 0, 0, 0}
#define wpi_proto_ProtobufLinearSystem_init_default   {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define wpi_proto_ProtobufDCMotor_init_zero   {0, 0, 0, 0, 0}
#define wpi_proto_ProtobufLinearSystem_init_zero   {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define wpi_proto_ProtobufDCMotor_nominal_voltage_tag   1
#define wpi_proto_ProtobufDCMotor_stall_torque_tag   2
#define wpi_proto_ProtobufDCMotor_stall_current_tag   3
#define wpi_proto_ProtobufDCMotor_free_current_tag   4
#define wpi_proto_ProtobufDCMotor_free_speed_tag   5
#define wpi_proto_ProtobufLinearSystem_num_states_tag   1
#define wpi_proto_ProtobufLinearSystem_num_inputs_tag   2
#define wpi_proto_ProtobufLinearSystem_num_outputs_tag   3
#define wpi_proto_ProtobufLinearSystem_a_tag   4
#define wpi_proto_ProtobufLinearSystem_b_tag   5
#define wpi_proto_ProtobufLinearSystem_c_tag   6
#define wpi_proto_ProtobufLinearSystem_d_tag   7
#define wpi_proto_ProtobufDCMotor_FIELDLIST(X, a)
#define wpi_proto_ProtobufDCMotor_CALLBACK   NULL
#define wpi_proto_ProtobufDCMotor_DEFAULT   NULL
#define wpi_proto_ProtobufLinearSystem_FIELDLIST(X, a_)
#define wpi_proto_ProtobufLinearSystem_CALLBACK   pb_default_field_callback
#define wpi_proto_ProtobufLinearSystem_DEFAULT   NULL
#define wpi_proto_ProtobufLinearSystem_a_MSGTYPE   wpi_proto_ProtobufMatrix
#define wpi_proto_ProtobufLinearSystem_b_MSGTYPE   wpi_proto_ProtobufMatrix
#define wpi_proto_ProtobufLinearSystem_c_MSGTYPE   wpi_proto_ProtobufMatrix
#define wpi_proto_ProtobufLinearSystem_d_MSGTYPE   wpi_proto_ProtobufMatrix
#define WPI_PROTO_SYSTEM_NPB_H_MAX_SIZE   wpi_proto_ProtobufDCMotor_size
#define wpi_proto_ProtobufDCMotor_size   45

Typedefs

typedef struct _wpi_proto_ProtobufDCMotor wpi_proto_ProtobufDCMotor
typedef struct _wpi_proto_ProtobufLinearSystem wpi_proto_ProtobufLinearSystem

Macro Definition Documentation

◆ wpi_proto_ProtobufDCMotor_CALLBACK

#define wpi_proto_ProtobufDCMotor_CALLBACK   NULL

◆ wpi_proto_ProtobufDCMotor_DEFAULT

#define wpi_proto_ProtobufDCMotor_DEFAULT   NULL

◆ wpi_proto_ProtobufDCMotor_FIELDLIST

#define wpi_proto_ProtobufDCMotor_FIELDLIST ( X,
a )
Value:
X(a, STATIC, SINGULAR, DOUBLE, nominal_voltage, 1) \
X(a, STATIC, SINGULAR, DOUBLE, stall_torque, 2) \
X(a, STATIC, SINGULAR, DOUBLE, stall_current, 3) \
X(a, STATIC, SINGULAR, DOUBLE, free_current, 4) \
X(a, STATIC, SINGULAR, DOUBLE, free_speed, 5)

◆ wpi_proto_ProtobufDCMotor_free_current_tag

#define wpi_proto_ProtobufDCMotor_free_current_tag   4

◆ wpi_proto_ProtobufDCMotor_free_speed_tag

#define wpi_proto_ProtobufDCMotor_free_speed_tag   5

◆ wpi_proto_ProtobufDCMotor_init_default

#define wpi_proto_ProtobufDCMotor_init_default   {0, 0, 0, 0, 0}

◆ wpi_proto_ProtobufDCMotor_init_zero

#define wpi_proto_ProtobufDCMotor_init_zero   {0, 0, 0, 0, 0}

◆ wpi_proto_ProtobufDCMotor_nominal_voltage_tag

#define wpi_proto_ProtobufDCMotor_nominal_voltage_tag   1

◆ wpi_proto_ProtobufDCMotor_size

#define wpi_proto_ProtobufDCMotor_size   45

◆ wpi_proto_ProtobufDCMotor_stall_current_tag

#define wpi_proto_ProtobufDCMotor_stall_current_tag   3

◆ wpi_proto_ProtobufDCMotor_stall_torque_tag

#define wpi_proto_ProtobufDCMotor_stall_torque_tag   2

◆ wpi_proto_ProtobufLinearSystem_a_MSGTYPE

#define wpi_proto_ProtobufLinearSystem_a_MSGTYPE   wpi_proto_ProtobufMatrix

◆ wpi_proto_ProtobufLinearSystem_a_tag

#define wpi_proto_ProtobufLinearSystem_a_tag   4

◆ wpi_proto_ProtobufLinearSystem_b_MSGTYPE

#define wpi_proto_ProtobufLinearSystem_b_MSGTYPE   wpi_proto_ProtobufMatrix

◆ wpi_proto_ProtobufLinearSystem_b_tag

#define wpi_proto_ProtobufLinearSystem_b_tag   5

◆ wpi_proto_ProtobufLinearSystem_c_MSGTYPE

#define wpi_proto_ProtobufLinearSystem_c_MSGTYPE   wpi_proto_ProtobufMatrix

◆ wpi_proto_ProtobufLinearSystem_c_tag

#define wpi_proto_ProtobufLinearSystem_c_tag   6

◆ wpi_proto_ProtobufLinearSystem_CALLBACK

#define wpi_proto_ProtobufLinearSystem_CALLBACK   pb_default_field_callback

◆ wpi_proto_ProtobufLinearSystem_d_MSGTYPE

#define wpi_proto_ProtobufLinearSystem_d_MSGTYPE   wpi_proto_ProtobufMatrix

◆ wpi_proto_ProtobufLinearSystem_d_tag

#define wpi_proto_ProtobufLinearSystem_d_tag   7

◆ wpi_proto_ProtobufLinearSystem_DEFAULT

#define wpi_proto_ProtobufLinearSystem_DEFAULT   NULL

◆ wpi_proto_ProtobufLinearSystem_FIELDLIST

#define wpi_proto_ProtobufLinearSystem_FIELDLIST ( X,
a_ )
Value:
X(a_, STATIC, SINGULAR, UINT32, num_states, 1) \
X(a_, STATIC, SINGULAR, UINT32, num_inputs, 2) \
X(a_, STATIC, SINGULAR, UINT32, num_outputs, 3) \
X(a_, CALLBACK, OPTIONAL, MESSAGE, a, 4) \
X(a_, CALLBACK, OPTIONAL, MESSAGE, b, 5) \
X(a_, CALLBACK, OPTIONAL, MESSAGE, c, 6) \
X(a_, CALLBACK, OPTIONAL, MESSAGE, d, 7)

◆ wpi_proto_ProtobufLinearSystem_init_default

#define wpi_proto_ProtobufLinearSystem_init_default   {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}

◆ wpi_proto_ProtobufLinearSystem_init_zero

#define wpi_proto_ProtobufLinearSystem_init_zero   {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}

◆ wpi_proto_ProtobufLinearSystem_num_inputs_tag

#define wpi_proto_ProtobufLinearSystem_num_inputs_tag   2

◆ wpi_proto_ProtobufLinearSystem_num_outputs_tag

#define wpi_proto_ProtobufLinearSystem_num_outputs_tag   3

◆ wpi_proto_ProtobufLinearSystem_num_states_tag

#define wpi_proto_ProtobufLinearSystem_num_states_tag   1

◆ WPI_PROTO_SYSTEM_NPB_H_MAX_SIZE

#define WPI_PROTO_SYSTEM_NPB_H_MAX_SIZE   wpi_proto_ProtobufDCMotor_size

Typedef Documentation

◆ wpi_proto_ProtobufDCMotor

◆ wpi_proto_ProtobufLinearSystem