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

@@ -288,7 +288,5 @@ class WPILIB_DLLEXPORT ArmFeedforward {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/controller/proto/ArmFeedforwardProto.h"
#endif
#include "frc/controller/struct/ArmFeedforwardStruct.h"

View File

@@ -99,7 +99,5 @@ class WPILIB_DLLEXPORT DifferentialDriveFeedforward {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/controller/proto/DifferentialDriveFeedforwardProto.h"
#endif
#include "frc/controller/struct/DifferentialDriveFeedforwardStruct.h"

View File

@@ -21,7 +21,5 @@ struct DifferentialDriveWheelVoltages {
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/controller/proto/DifferentialDriveWheelVoltagesProto.h"
#endif
#include "frc/controller/struct/DifferentialDriveWheelVoltagesStruct.h"

View File

@@ -262,7 +262,5 @@ class ElevatorFeedforward {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/controller/proto/ElevatorFeedforwardProto.h"
#endif
#include "frc/controller/struct/ElevatorFeedforwardStruct.h"

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"

View File

@@ -279,7 +279,5 @@ struct WPILIB_DLLEXPORT ChassisSpeeds {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/ChassisSpeedsProto.h"
#endif
#include "frc/kinematics/struct/ChassisSpeedsStruct.h"

View File

@@ -104,7 +104,5 @@ class WPILIB_DLLEXPORT DifferentialDriveKinematics
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/DifferentialDriveKinematicsProto.h"
#endif
#include "frc/kinematics/struct/DifferentialDriveKinematicsStruct.h"

View File

@@ -42,7 +42,5 @@ struct WPILIB_DLLEXPORT DifferentialDriveWheelPositions {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/DifferentialDriveWheelPositionsProto.h"
#endif
#include "frc/kinematics/struct/DifferentialDriveWheelPositionsStruct.h"

View File

@@ -122,7 +122,5 @@ struct WPILIB_DLLEXPORT DifferentialDriveWheelSpeeds {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/DifferentialDriveWheelSpeedsProto.h"
#endif
#include "frc/kinematics/struct/DifferentialDriveWheelSpeedsStruct.h"

View File

@@ -200,7 +200,5 @@ class WPILIB_DLLEXPORT MecanumDriveKinematics
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/MecanumDriveKinematicsProto.h"
#endif
#include "frc/kinematics/struct/MecanumDriveKinematicsStruct.h"

View File

@@ -53,7 +53,5 @@ struct WPILIB_DLLEXPORT MecanumDriveWheelPositions {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/MecanumDriveWheelPositionsProto.h"
#endif
#include "frc/kinematics/struct/MecanumDriveWheelPositionsStruct.h"

View File

@@ -144,7 +144,5 @@ struct WPILIB_DLLEXPORT MecanumDriveWheelSpeeds {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/MecanumDriveWheelSpeedsProto.h"
#endif
#include "frc/kinematics/struct/MecanumDriveWheelSpeedsStruct.h"

View File

@@ -45,7 +45,5 @@ struct WPILIB_DLLEXPORT SwerveModulePosition {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/SwerveModulePositionProto.h"
#endif
#include "frc/kinematics/struct/SwerveModulePositionStruct.h"

View File

@@ -86,7 +86,5 @@ struct WPILIB_DLLEXPORT SwerveModuleState {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/kinematics/proto/SwerveModuleStateProto.h"
#endif
#include "frc/kinematics/struct/SwerveModuleStateStruct.h"

View File

@@ -147,7 +147,5 @@ class WPILIB_DLLEXPORT CubicHermiteSpline : public Spline<3> {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/spline/proto/CubicHermiteSplineProto.h"
#endif
#include "frc/spline/struct/CubicHermiteSplineStruct.h"

View File

@@ -154,7 +154,5 @@ class WPILIB_DLLEXPORT QuinticHermiteSpline : public Spline<5> {
};
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/spline/proto/QuinticHermiteSplineProto.h"
#endif
#include "frc/spline/struct/QuinticHermiteSplineStruct.h"

View File

@@ -272,7 +272,5 @@ void from_json(const wpi::json& json, Trajectory::State& state);
} // namespace frc
#ifndef NO_PROTOBUF
#include "frc/trajectory/proto/TrajectoryProto.h"
#include "frc/trajectory/proto/TrajectoryStateProto.h"
#endif