WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
SwerveModuleStateProto.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
5#pragma once
6
7#include <wpi/SymbolExports.h>
9
12
13template <>
#define WPILIB_DLLEXPORT
Definition SymbolExports.h:36
Class for wrapping a nanopb istream.
Definition Protobuf.h:55
Class for wrapping a nanopb ostream.
Definition Protobuf.h:119
struct _wpi_proto_ProtobufSwerveModuleState wpi_proto_ProtobufSwerveModuleState
Foonathan namespace.
Definition ntcore_cpp.h:26
Definition kinematics.npb.h:105
Represents the state of one swerve module.
Definition SwerveModuleState.h:18
static bool Pack(OutputStream &stream, const frc::SwerveModuleState &value)
static std::optional< frc::SwerveModuleState > Unpack(InputStream &stream)
Protobuf serialization template.
Definition Protobuf.h:36