PhotonVision C++ dev-v2025.0.0-beta-8-2-gbd1c5c03
Loading...
Searching...
No Matches
MultiTargetPNPResultSerde.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Photon Vision.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20// THIS FILE WAS AUTO-GENERATED BY ./photon-serde/generate_messages.py. DO NOT MODIFY
21
22#include <wpi/SymbolExports.h>
23
24// Include myself
27
28// Includes for dependant types
30#include <stdint.h>
31#include <vector>
32
33
34namespace photon {
35
36template <>
37struct WPILIB_DLLEXPORT SerdeType<MultiTargetPNPResult> {
38 static constexpr std::string_view GetSchemaHash() {
39 return "541096947e9f3ca2d3f425ff7b04aa7b";
40 }
41
42 static constexpr std::string_view GetSchema() {
43 return "PnpResult:ae4d655c0a3104d88df4f5db144c1e86 estimatedPose;int16 fiducialIDsUsed[?];";
44 }
45
47 static void Pack(photon::Packet& packet, const photon::MultiTargetPNPResult& value);
48};
49
51
52} // namespace photon
Definition MultiTargetPNPResult.h:30
A packet that holds byte-packed data to be sent over NetworkTables.
Definition Packet.h:66
Definition Packet.h:42
Definition VisionEstimation.h:32
static void Pack(photon::Packet &packet, const photon::MultiTargetPNPResult &value)
static constexpr std::string_view GetSchema()
Definition MultiTargetPNPResultSerde.h:42
static photon::MultiTargetPNPResult Unpack(photon::Packet &packet)
static constexpr std::string_view GetSchemaHash()
Definition MultiTargetPNPResultSerde.h:38
Definition Packet.h:39