mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
18 lines
601 B
C++
18 lines
601 B
C++
// Copyright (c) FIRST and other WPILib contributors.
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
#pragma once
|
|
|
|
#include <wpi/SymbolExports.h>
|
|
#include <wpi/protobuf/Protobuf.h>
|
|
|
|
#include "frc/geometry/Pose2d.h"
|
|
|
|
template <>
|
|
struct WPILIB_DLLEXPORT wpi::Protobuf<frc::Pose2d> {
|
|
static google::protobuf::Message* New(google::protobuf::Arena* arena);
|
|
static frc::Pose2d Unpack(const google::protobuf::Message& msg);
|
|
static void Pack(google::protobuf::Message* msg, const frc::Pose2d& value);
|
|
};
|