Combines estimated poses from an aritrary number of PhotonVision cameras and applies them to a Holonomic pose estimator.
More...
#include <PhotonVisionEstimators.h>
|
| PhotonVisionEstimators (std::vector< PhotonCameraEstimator > &estms, Eigen::Matrix< double, 3, 1 > singleTagStdDevs, Eigen::Matrix< double, 3, 1 > multiTagStdDevs) |
|
std::optional< photon::EstimatedRobotPose > | GetPoseFromCamera (frc::Pose3d prevPose, photon::PhotonPoseEstimator &est, photon::PhotonCamera &camera, double maxAbmiguity=0.2) |
|
void | UpdateEstimatedGlobalPose (frc::SwerveDrivePoseEstimator< 4U > &estimator, bool test) |
| Call in the drivetrain's Periodic method to update the estimated robot's position.
|
|
Eigen::Matrix< double, 3, 1 > | GetEstimationStdDevs (photon::EstimatedRobotPose &pose, PhotonCameraEstimator &photonEst) |
|
Combines estimated poses from an aritrary number of PhotonVision cameras and applies them to a Holonomic pose estimator.
Definition at line 21 of file PhotonVisionEstimators.h.
◆ PhotonVisionEstimators()
subzero::PhotonVisionEstimators::PhotonVisionEstimators |
( |
std::vector< PhotonCameraEstimator > & | estms, |
|
|
Eigen::Matrix< double, 3, 1 > | singleTagStdDevs, |
|
|
Eigen::Matrix< double, 3, 1 > | multiTagStdDevs ) |
|
inlineexplicit |
◆ GetEstimationStdDevs()
Eigen::Matrix< double, 3, 1 > subzero::PhotonVisionEstimators::GetEstimationStdDevs |
( |
photon::EstimatedRobotPose & | pose, |
|
|
PhotonCameraEstimator & | photonEst ) |
|
inline |
◆ GetPoseFromCamera()
std::optional< photon::EstimatedRobotPose > subzero::PhotonVisionEstimators::GetPoseFromCamera |
( |
frc::Pose3d | prevPose, |
|
|
photon::PhotonPoseEstimator & | est, |
|
|
photon::PhotonCamera & | camera, |
|
|
double | maxAbmiguity = 0.2 ) |
|
inline |
◆ UpdateEstimatedGlobalPose()
void subzero::PhotonVisionEstimators::UpdateEstimatedGlobalPose |
( |
frc::SwerveDrivePoseEstimator< 4U > & | estimator, |
|
|
bool | test ) |
|
inline |
Call in the drivetrain's Periodic method to update the estimated robot's position.
- Parameters
-
Definition at line 84 of file PhotonVisionEstimators.h.
The documentation for this class was generated from the following file: