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

#include <photon/PhotonPoseEstimator.h>

Public Member Functions

 EstimatedRobotPose (frc::Pose3d pose_, units::second_t time_, std::span< const PhotonTrackedTarget > targets, PoseStrategy strategy_)
 

Public Attributes

frc::Pose3d estimatedPose
 The estimated pose.
 
units::second_t timestamp
 The estimated time the frame used to derive the robot pose was taken, in the same timebase as the RoboRIO FPGA Timestamp.
 
wpi::SmallVector< PhotonTrackedTarget, 10 > targetsUsed
 A list of the targets used to compute this pose.
 
PoseStrategy strategy
 The strategy actually used to produce this pose.
 

Constructor & Destructor Documentation

◆ EstimatedRobotPose()

photon::EstimatedRobotPose::EstimatedRobotPose ( frc::Pose3d pose_,
units::second_t time_,
std::span< const PhotonTrackedTarget > targets,
PoseStrategy strategy_ )
inline

Member Data Documentation

◆ estimatedPose

frc::Pose3d photon::EstimatedRobotPose::estimatedPose

The estimated pose.

◆ strategy

PoseStrategy photon::EstimatedRobotPose::strategy

The strategy actually used to produce this pose.

◆ targetsUsed

wpi::SmallVector<PhotonTrackedTarget, 10> photon::EstimatedRobotPose::targetsUsed

A list of the targets used to compute this pose.

◆ timestamp

units::second_t photon::EstimatedRobotPose::timestamp

The estimated time the frame used to derive the robot pose was taken, in the same timebase as the RoboRIO FPGA Timestamp.


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