PhotonVision C++ dev-v2025.0.0-beta-8-2-gbd1c5c03
Loading...
Searching...
No Matches
PhotonTrackedTargetStruct.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// Includes for dependant types
24#include <frc/geometry/Transform3d.h>
25#include <stdint.h>
26#include <vector>
27
28
29namespace photon {
30
32 double yaw;
33 double pitch;
34 double area;
35 double skew;
36 int32_t fiducialId;
37 int32_t objDetectId;
39 frc::Transform3d bestCameraToTarget;
40 frc::Transform3d altCameraToTarget;
42 std::vector<photon::TargetCorner> minAreaRectCorners;
43 std::vector<photon::TargetCorner> detectedCorners;
44
46};
47
48} // namespace photon
Definition VisionEstimation.h:32
Definition PhotonTrackedTargetStruct.h:31
int32_t objDetectId
Definition PhotonTrackedTargetStruct.h:37
std::vector< photon::TargetCorner > minAreaRectCorners
Definition PhotonTrackedTargetStruct.h:42
double poseAmbiguity
Definition PhotonTrackedTargetStruct.h:41
std::vector< photon::TargetCorner > detectedCorners
Definition PhotonTrackedTargetStruct.h:43
double pitch
Definition PhotonTrackedTargetStruct.h:33
int32_t fiducialId
Definition PhotonTrackedTargetStruct.h:36
double yaw
Definition PhotonTrackedTargetStruct.h:32
frc::Transform3d bestCameraToTarget
Definition PhotonTrackedTargetStruct.h:39
friend bool operator==(PhotonTrackedTarget_PhotonStruct const &, PhotonTrackedTarget_PhotonStruct const &)=default
frc::Transform3d altCameraToTarget
Definition PhotonTrackedTargetStruct.h:40
double area
Definition PhotonTrackedTargetStruct.h:34
float objDetectConf
Definition PhotonTrackedTargetStruct.h:38
double skew
Definition PhotonTrackedTargetStruct.h:35