WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
SwerveModuleVelocityProto.hpp
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
11
12template <>
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
Class for wrapping a nanopb istream.
Definition Protobuf.hpp:55
Class for wrapping a nanopb ostream.
Definition Protobuf.hpp:119
struct _wpi_proto_ProtobufSwerveModuleVelocity wpi_proto_ProtobufSwerveModuleVelocity
Definition CvSource.hpp:15
Represents the velocity of one swerve module.
Definition SwerveModuleVelocity.hpp:17
static bool Pack(OutputStream &stream, const wpi::math::SwerveModuleVelocity &value)
static std::optional< wpi::math::SwerveModuleVelocity > Unpack(InputStream &stream)
wpi::util::ProtoInputStream< wpi::math::SwerveModuleVelocity > InputStream
Definition SwerveModuleVelocityProto.hpp:15
wpi_proto_ProtobufSwerveModuleVelocity MessageStruct
Definition SwerveModuleVelocityProto.hpp:14
wpi::util::ProtoOutputStream< wpi::math::SwerveModuleVelocity > OutputStream
Definition SwerveModuleVelocityProto.hpp:17
Protobuf serialization template.
Definition Protobuf.hpp:36