WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
Rotation3dProto.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 <>
14struct WPILIB_DLLEXPORT wpi::Protobuf<frc::Rotation3d> {
18 static std::optional<frc::Rotation3d> Unpack(InputStream& stream);
19 static bool Pack(OutputStream& stream, const frc::Rotation3d& value);
20};
#define WPILIB_DLLEXPORT
Definition SymbolExports.h:36
A rotation in a 3D coordinate frame represented by a quaternion.
Definition Rotation3d.h:29
Class for wrapping a nanopb istream.
Definition Protobuf.h:55
Class for wrapping a nanopb ostream.
Definition Protobuf.h:119
struct _wpi_proto_ProtobufRotation3d wpi_proto_ProtobufRotation3d
Foonathan namespace.
Definition ntcore_cpp.h:26
Definition geometry3d.npb.h:39
static bool Pack(OutputStream &stream, const frc::Rotation3d &value)
static std::optional< frc::Rotation3d > Unpack(InputStream &stream)
Protobuf serialization template.
Definition Protobuf.h:36