#include <photon/simulation/VisionSystemSim.h>
◆ VisionSystemSim()
photon::VisionSystemSim::VisionSystemSim |
( |
std::string | visionSystemName | ) |
|
|
inlineexplicit |
◆ AddAprilTags()
void photon::VisionSystemSim::AddAprilTags |
( |
const frc::AprilTagFieldLayout & | layout | ) |
|
|
inline |
◆ AddCamera()
void photon::VisionSystemSim::AddCamera |
( |
PhotonCameraSim * | cameraSim, |
|
|
const frc::Transform3d & | robotToCamera ) |
|
inline |
◆ AddVisionTargets() [1/2]
void photon::VisionSystemSim::AddVisionTargets |
( |
const std::vector< VisionTargetSim > & | targets | ) |
|
|
inline |
◆ AddVisionTargets() [2/2]
void photon::VisionSystemSim::AddVisionTargets |
( |
std::string | type, |
|
|
const std::vector< VisionTargetSim > & | targets ) |
|
inline |
◆ AdjustCamera()
bool photon::VisionSystemSim::AdjustCamera |
( |
PhotonCameraSim * | cameraSim, |
|
|
const frc::Transform3d & | robotToCamera ) |
|
inline |
◆ ClearAprilTags()
void photon::VisionSystemSim::ClearAprilTags |
( |
| ) |
|
|
inline |
◆ ClearCameras()
void photon::VisionSystemSim::ClearCameras |
( |
| ) |
|
|
inline |
◆ ClearVisionTargets()
void photon::VisionSystemSim::ClearVisionTargets |
( |
| ) |
|
|
inline |
◆ GetCameraPose() [1/2]
std::optional< frc::Pose3d > photon::VisionSystemSim::GetCameraPose |
( |
PhotonCameraSim * | cameraSim | ) |
|
|
inline |
◆ GetCameraPose() [2/2]
std::optional< frc::Pose3d > photon::VisionSystemSim::GetCameraPose |
( |
PhotonCameraSim * | cameraSim, |
|
|
units::second_t | time ) |
|
inline |
◆ GetCameraSim()
std::optional< PhotonCameraSim * > photon::VisionSystemSim::GetCameraSim |
( |
std::string | name | ) |
|
|
inline |
◆ GetCameraSims()
std::vector< PhotonCameraSim * > photon::VisionSystemSim::GetCameraSims |
( |
| ) |
|
|
inline |
◆ GetDebugField()
frc::Field2d & photon::VisionSystemSim::GetDebugField |
( |
| ) |
|
|
inline |
◆ GetRobotPose() [1/2]
frc::Pose3d photon::VisionSystemSim::GetRobotPose |
( |
| ) |
|
|
inline |
◆ GetRobotPose() [2/2]
frc::Pose3d photon::VisionSystemSim::GetRobotPose |
( |
units::second_t | timestamp | ) |
|
|
inline |
◆ GetRobotToCamera() [1/2]
std::optional< frc::Transform3d > photon::VisionSystemSim::GetRobotToCamera |
( |
PhotonCameraSim * | cameraSim | ) |
|
|
inline |
◆ GetRobotToCamera() [2/2]
std::optional< frc::Transform3d > photon::VisionSystemSim::GetRobotToCamera |
( |
PhotonCameraSim * | cameraSim, |
|
|
units::second_t | time ) |
|
inline |
◆ GetVisionTargets() [1/2]
std::vector< VisionTargetSim > photon::VisionSystemSim::GetVisionTargets |
( |
| ) |
|
|
inline |
◆ GetVisionTargets() [2/2]
std::vector< VisionTargetSim > photon::VisionSystemSim::GetVisionTargets |
( |
std::string | type | ) |
|
|
inline |
◆ RemoveCamera()
◆ RemoveVisionTargets() [1/2]
◆ RemoveVisionTargets() [2/2]
void photon::VisionSystemSim::RemoveVisionTargets |
( |
std::string | type | ) |
|
|
inline |
◆ ResetCameraTransforms() [1/2]
void photon::VisionSystemSim::ResetCameraTransforms |
( |
| ) |
|
|
inline |
◆ ResetCameraTransforms() [2/2]
bool photon::VisionSystemSim::ResetCameraTransforms |
( |
PhotonCameraSim * | cameraSim | ) |
|
|
inline |
◆ ResetRobotPose() [1/2]
void photon::VisionSystemSim::ResetRobotPose |
( |
const frc::Pose2d & | robotPose | ) |
|
|
inline |
◆ ResetRobotPose() [2/2]
void photon::VisionSystemSim::ResetRobotPose |
( |
const frc::Pose3d & | robotPose | ) |
|
|
inline |
◆ Update() [1/2]
void photon::VisionSystemSim::Update |
( |
const frc::Pose2d & | robotPose | ) |
|
|
inline |
◆ Update() [2/2]
void photon::VisionSystemSim::Update |
( |
const frc::Pose3d & | robotPose | ) |
|
|
inline |
The documentation for this class was generated from the following file: