PhotonVision C++ dev-v2025.0.0-beta-8-2-gbd1c5c03
Loading...
Searching...
No Matches
photon::VisionTargetSim Class Reference

#include <photon/simulation/VisionTargetSim.h>

Public Member Functions

 VisionTargetSim (const frc::Pose3d &pose, const TargetModel &model)
 
 VisionTargetSim (const frc::Pose3d &pose, const TargetModel &model, int id)
 
void SetPose (const frc::Pose3d &newPose)
 
void SetModel (const TargetModel &newModel)
 
frc::Pose3d GetPose () const
 
TargetModel GetModel () const
 
std::vector< frc::Translation3d > GetFieldVertices () const
 
bool operator< (const VisionTargetSim &right) const
 
bool operator== (const VisionTargetSim &other) const
 

Public Attributes

int fiducialId
 
int objDetClassId = -1
 
float objDetConf = -1
 

Constructor & Destructor Documentation

◆ VisionTargetSim() [1/2]

photon::VisionTargetSim::VisionTargetSim ( const frc::Pose3d & pose,
const TargetModel & model )
inline

◆ VisionTargetSim() [2/2]

photon::VisionTargetSim::VisionTargetSim ( const frc::Pose3d & pose,
const TargetModel & model,
int id )
inline

Member Function Documentation

◆ GetFieldVertices()

std::vector< frc::Translation3d > photon::VisionTargetSim::GetFieldVertices ( ) const
inline

◆ GetModel()

TargetModel photon::VisionTargetSim::GetModel ( ) const
inline

◆ GetPose()

frc::Pose3d photon::VisionTargetSim::GetPose ( ) const
inline

◆ operator<()

bool photon::VisionTargetSim::operator< ( const VisionTargetSim & right) const
inline

◆ operator==()

bool photon::VisionTargetSim::operator== ( const VisionTargetSim & other) const
inline

◆ SetModel()

void photon::VisionTargetSim::SetModel ( const TargetModel & newModel)
inline

◆ SetPose()

void photon::VisionTargetSim::SetPose ( const frc::Pose3d & newPose)
inline

Member Data Documentation

◆ fiducialId

int photon::VisionTargetSim::fiducialId

◆ objDetClassId

int photon::VisionTargetSim::objDetClassId = -1

◆ objDetConf

float photon::VisionTargetSim::objDetConf = -1

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