Remove generated google protobuf support (#7371)

It's not used anymore, and cleans up the build.
This commit is contained in:
Thad House
2024-11-08 18:29:30 -08:00
committed by GitHub
parent 811b130968
commit 3cc541f261
45 changed files with 0 additions and 342 deletions

View File

@@ -210,7 +210,5 @@ class WPILIB_DLLEXPORT Ellipse2d {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Ellipse2dProto.h"
#endif
#include "frc/geometry/struct/Ellipse2dStruct.h"

View File

@@ -259,9 +259,7 @@ void from_json(const wpi::json& json, Pose2d& pose);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Pose2dProto.h"
#endif
#include "frc/geometry/struct/Pose2dStruct.h"
#include "frc/geometry/Transform2d.h"

View File

@@ -236,9 +236,7 @@ void from_json(const wpi::json& json, Pose3d& pose);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Pose3dProto.h"
#endif
#include "frc/geometry/struct/Pose3dStruct.h"
#include "frc/geometry/Transform3d.h"

View File

@@ -335,7 +335,5 @@ void from_json(const wpi::json& json, Quaternion& quaternion);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/QuaternionProto.h"
#endif
#include "frc/geometry/struct/QuaternionStruct.h"

View File

@@ -206,7 +206,5 @@ class WPILIB_DLLEXPORT Rectangle2d {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Rectangle2dProto.h"
#endif
#include "frc/geometry/struct/Rectangle2dStruct.h"

View File

@@ -205,7 +205,5 @@ void from_json(const wpi::json& json, Rotation2d& rotation);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Rotation2dProto.h"
#endif
#include "frc/geometry/struct/Rotation2dStruct.h"

View File

@@ -412,7 +412,5 @@ void from_json(const wpi::json& json, Rotation3d& rotation);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Rotation3dProto.h"
#endif
#include "frc/geometry/struct/Rotation3dStruct.h"

View File

@@ -155,7 +155,5 @@ constexpr Transform2d Transform2d::operator+(const Transform2d& other) const {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Transform2dProto.h"
#endif
#include "frc/geometry/struct/Transform2dStruct.h"

View File

@@ -163,7 +163,5 @@ constexpr Transform3d Transform3d::operator+(const Transform3d& other) const {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Transform3dProto.h"
#endif
#include "frc/geometry/struct/Transform3dStruct.h"

View File

@@ -271,7 +271,5 @@ void from_json(const wpi::json& json, Translation2d& state);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Translation2dProto.h"
#endif
#include "frc/geometry/struct/Translation2dStruct.h"

View File

@@ -236,7 +236,5 @@ void from_json(const wpi::json& json, Translation3d& state);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Translation3dProto.h"
#endif
#include "frc/geometry/struct/Translation3dStruct.h"

View File

@@ -60,7 +60,5 @@ struct WPILIB_DLLEXPORT Twist2d {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Twist2dProto.h"
#endif
#include "frc/geometry/struct/Twist2dStruct.h"

View File

@@ -79,7 +79,5 @@ struct WPILIB_DLLEXPORT Twist3d {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/geometry/proto/Twist3dProto.h"
#endif
#include "frc/geometry/struct/Twist3dStruct.h"