Bump to WPILib 2025 Beta 1 & remove C++ protobuf (#1484)

Remove C++ protobuf support until
https://github.com/wpilibsuite/allwpilib/issues/7250 is addressed.
Developers should upgrade to wpilib vscode 2025 beta 1.

---------

Co-authored-by: Matt <matthew.morley.ca@gmail.com>
This commit is contained in:
Cameron (3539)
2024-10-31 02:59:39 -04:00
committed by GitHub
parent 3d18ded3f6
commit 937bafa8e2
67 changed files with 185 additions and 824 deletions

View File

@@ -1,31 +0,0 @@
/*
* Copyright (C) Photon Vision.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <wpi/protobuf/Protobuf.h>
#include "photon/targeting/MultiTargetPNPResult.h"
template <>
struct wpi::Protobuf<photon::MultiTargetPNPResult> {
static google::protobuf::Message* New(google::protobuf::Arena* arena);
static photon::MultiTargetPNPResult Unpack(
const google::protobuf::Message& msg);
static void Pack(google::protobuf::Message* msg,
const photon::MultiTargetPNPResult& value);
};

View File

@@ -1,30 +0,0 @@
/*
* Copyright (C) Photon Vision.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <wpi/protobuf/Protobuf.h>
#include "photon/targeting/PnpResult.h"
template <>
struct wpi::Protobuf<photon::PnpResult> {
static google::protobuf::Message* New(google::protobuf::Arena* arena);
static photon::PnpResult Unpack(const google::protobuf::Message& msg);
static void Pack(google::protobuf::Message* msg,
const photon::PnpResult& value);
};

View File

@@ -1,31 +0,0 @@
/*
* Copyright (C) Photon Vision.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <wpi/protobuf/Protobuf.h>
#include "photon/targeting/PhotonPipelineResult.h"
template <>
struct wpi::Protobuf<photon::PhotonPipelineResult> {
static google::protobuf::Message* New(google::protobuf::Arena* arena);
static photon::PhotonPipelineResult Unpack(
const google::protobuf::Message& msg);
static void Pack(google::protobuf::Message* msg,
const photon::PhotonPipelineResult& value);
};

View File

@@ -1,31 +0,0 @@
/*
* Copyright (C) Photon Vision.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <wpi/protobuf/Protobuf.h>
#include "photon/targeting/PhotonTrackedTarget.h"
template <>
struct wpi::Protobuf<photon::PhotonTrackedTarget> {
static google::protobuf::Message* New(google::protobuf::Arena* arena);
static photon::PhotonTrackedTarget Unpack(
const google::protobuf::Message& msg);
static void Pack(google::protobuf::Message* msg,
const photon::PhotonTrackedTarget& value);
};