SubZero Common
Common library components for an FRC CommandRobot
Loading...
Searching...
No Matches
subzero::DetectedObject Struct Reference

#include <TargetTracker.h>

+ Collaboration diagram for subzero::DetectedObject:

Public Member Functions

 DetectedObject ()
 
 DetectedObject (uint8_t id, double conf, units::degree_t cX, units::degree_t cY, double area, std::vector< std::vector< double > > corners)
 
 DetectedObject (const LimelightHelpers::DetectionResultClass &detectionResult)
 
void withRawCorners (const std::vector< double > &rawCorners)
 

Public Attributes

uint8_t classId
 
std::string className
 
double confidence
 
units::degree_t centerX
 
units::degree_t centerY
 
double areaPercentage
 
DetectedCorners detectedCorners
 

Detailed Description

Definition at line 55 of file TargetTracker.h.

Constructor & Destructor Documentation

◆ DetectedObject() [1/3]

subzero::DetectedObject::DetectedObject ( )
inline

Definition at line 66 of file TargetTracker.h.

◆ DetectedObject() [2/3]

subzero::DetectedObject::DetectedObject ( uint8_t id,
double conf,
units::degree_t cX,
units::degree_t cY,
double area,
std::vector< std::vector< double > > corners )
inlineexplicit

Definition at line 68 of file TargetTracker.h.

◆ DetectedObject() [3/3]

subzero::DetectedObject::DetectedObject ( const LimelightHelpers::DetectionResultClass & detectionResult)
inlineexplicit

Definition at line 74 of file TargetTracker.h.

Member Function Documentation

◆ withRawCorners()

void subzero::DetectedObject::withRawCorners ( const std::vector< double > & rawCorners)
inline

Definition at line 84 of file TargetTracker.h.

Member Data Documentation

◆ areaPercentage

double subzero::DetectedObject::areaPercentage

Definition at line 63 of file TargetTracker.h.

◆ centerX

units::degree_t subzero::DetectedObject::centerX

Definition at line 60 of file TargetTracker.h.

◆ centerY

units::degree_t subzero::DetectedObject::centerY

Definition at line 62 of file TargetTracker.h.

◆ classId

uint8_t subzero::DetectedObject::classId

Definition at line 56 of file TargetTracker.h.

◆ className

std::string subzero::DetectedObject::className

Definition at line 57 of file TargetTracker.h.

◆ confidence

double subzero::DetectedObject::confidence

Definition at line 58 of file TargetTracker.h.

◆ detectedCorners

DetectedCorners subzero::DetectedObject::detectedCorners

Definition at line 64 of file TargetTracker.h.


The documentation for this struct was generated from the following file: