WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
system.npb.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4/* Automatically generated nanopb header */
5/* Generated by nanopb-0.4.9 */
6
7#ifndef PB_WPI_PROTO_SYSTEM_NPB_H_INCLUDED
8#define PB_WPI_PROTO_SYSTEM_NPB_H_INCLUDED
9#include <pb.h>
10#include <span>
11#include <string_view>
12#include "wpimath.npb.h"
13
14#if PB_PROTO_HEADER_VERSION != 40
15#error Regenerate this file with the current version of nanopb generator.
16#endif
17
18/* Struct definitions */
20 static const pb_msgdesc_t* msg_descriptor(void) noexcept;
21 static std::string_view msg_name(void) noexcept;
22 static pb_filedesc_t file_descriptor(void) noexcept;
23
24 uint32_t num_states;
25 uint32_t num_inputs;
26 uint32_t num_outputs;
32
33
34/* Initializer values for message structs */
35#define wpi_proto_ProtobufLinearSystem_init_default {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
36#define wpi_proto_ProtobufLinearSystem_init_zero {0, 0, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
37
38/* Field tags (for use in manual encoding/decoding) */
39#define wpi_proto_ProtobufLinearSystem_num_states_tag 1
40#define wpi_proto_ProtobufLinearSystem_num_inputs_tag 2
41#define wpi_proto_ProtobufLinearSystem_num_outputs_tag 3
42#define wpi_proto_ProtobufLinearSystem_a_tag 4
43#define wpi_proto_ProtobufLinearSystem_b_tag 5
44#define wpi_proto_ProtobufLinearSystem_c_tag 6
45#define wpi_proto_ProtobufLinearSystem_d_tag 7
46
47/* Struct field encoding specification for nanopb */
48#define wpi_proto_ProtobufLinearSystem_FIELDLIST(X, a_) \
49X(a_, STATIC, SINGULAR, UINT32, num_states, 1) \
50X(a_, STATIC, SINGULAR, UINT32, num_inputs, 2) \
51X(a_, STATIC, SINGULAR, UINT32, num_outputs, 3) \
52X(a_, CALLBACK, OPTIONAL, MESSAGE, a, 4) \
53X(a_, CALLBACK, OPTIONAL, MESSAGE, b, 5) \
54X(a_, CALLBACK, OPTIONAL, MESSAGE, c, 6) \
55X(a_, CALLBACK, OPTIONAL, MESSAGE, d, 7)
56#define wpi_proto_ProtobufLinearSystem_CALLBACK pb_default_field_callback
57#define wpi_proto_ProtobufLinearSystem_DEFAULT NULL
58#define wpi_proto_ProtobufLinearSystem_a_MSGTYPE wpi_proto_ProtobufMatrix
59#define wpi_proto_ProtobufLinearSystem_b_MSGTYPE wpi_proto_ProtobufMatrix
60#define wpi_proto_ProtobufLinearSystem_c_MSGTYPE wpi_proto_ProtobufMatrix
61#define wpi_proto_ProtobufLinearSystem_d_MSGTYPE wpi_proto_ProtobufMatrix
62
63/* Maximum encoded size of messages (where known) */
64/* wpi_proto_ProtobufLinearSystem_size depends on runtime parameters */
65
66
67#endif
Definition system.npb.h:19
uint32_t num_inputs
Definition system.npb.h:25
static std::string_view msg_name(void) noexcept
static pb_filedesc_t file_descriptor(void) noexcept
pb_callback_t b
Definition system.npb.h:28
pb_callback_t c
Definition system.npb.h:29
static const pb_msgdesc_t * msg_descriptor(void) noexcept
pb_callback_t a
Definition system.npb.h:27
pb_callback_t d
Definition system.npb.h:30
uint32_t num_states
Definition system.npb.h:24
uint32_t num_outputs
Definition system.npb.h:26
Definition pb.h:414
Definition pb.h:322
Definition pb.h:331
struct _wpi_proto_ProtobufLinearSystem wpi_proto_ProtobufLinearSystem