#include <photon/simulation/SimCameraProperties.h>
|
| SimCameraProperties () |
|
| SimCameraProperties (std::string path, int width, int height) |
|
void | SetCalibration (int width, int height, frc::Rotation2d fovDiag) |
|
void | SetCalibration (int width, int height, const Eigen::Matrix< double, 3, 3 > &newCamIntrinsics, const Eigen::Matrix< double, 8, 1 > &newDistCoeffs) |
|
void | SetCalibError (double newAvgErrorPx, double newErrorStdDevPx) |
|
void | SetFPS (units::hertz_t fps) |
|
void | SetExposureTime (units::second_t newExposureTime) |
|
void | SetAvgLatency (units::second_t newAvgLatency) |
|
void | SetLatencyStdDev (units::second_t newLatencyStdDev) |
|
int | GetResWidth () const |
|
int | GetResHeight () const |
|
int | GetResArea () const |
|
double | GetAspectRatio () const |
|
Eigen::Matrix< double, 3, 3 > | GetIntrinsics () const |
|
Eigen::Matrix< double, 8, 1 > | GetDistCoeffs () const |
|
units::hertz_t | GetFPS () const |
|
units::second_t | GetFrameSpeed () const |
|
units::second_t | GetExposureTime () const |
|
units::second_t | GetAverageLatency () const |
|
units::second_t | GetLatencyStdDev () const |
|
double | GetContourAreaPercent (const std::vector< cv::Point2f > &points) |
|
frc::Rotation2d | GetPixelYaw (double pixelX) const |
|
frc::Rotation2d | GetPixelPitch (double pixelY) const |
|
frc::Rotation3d | GetPixelRot (const cv::Point2d &point) const |
|
frc::Rotation3d | GetCorrectedPixelRot (const cv::Point2d &point) const |
|
frc::Rotation2d | GetHorizFOV () const |
|
frc::Rotation2d | GetVertFOV () const |
|
frc::Rotation2d | GetDiagFOV () const |
|
std::pair< std::optional< double >, std::optional< double > > | GetVisibleLine (const RotTrlTransform3d &camRt, const frc::Translation3d &a, const frc::Translation3d &b) const |
|
std::vector< cv::Point2f > | EstPixelNoise (const std::vector< cv::Point2f > &points) |
|
units::second_t | EstLatency () |
|
units::second_t | EstSecUntilNextFrame () |
|
◆ SimCameraProperties() [1/2]
photon::SimCameraProperties::SimCameraProperties |
( |
| ) |
|
|
inline |
◆ SimCameraProperties() [2/2]
photon::SimCameraProperties::SimCameraProperties |
( |
std::string | path, |
|
|
int | width, |
|
|
int | height ) |
|
inline |
◆ EstLatency()
units::second_t photon::SimCameraProperties::EstLatency |
( |
| ) |
|
|
inline |
◆ EstPixelNoise()
std::vector< cv::Point2f > photon::SimCameraProperties::EstPixelNoise |
( |
const std::vector< cv::Point2f > & | points | ) |
|
|
inline |
◆ EstSecUntilNextFrame()
units::second_t photon::SimCameraProperties::EstSecUntilNextFrame |
( |
| ) |
|
|
inline |
◆ GetAspectRatio()
double photon::SimCameraProperties::GetAspectRatio |
( |
| ) |
const |
|
inline |
◆ GetAverageLatency()
units::second_t photon::SimCameraProperties::GetAverageLatency |
( |
| ) |
const |
|
inline |
◆ GetContourAreaPercent()
double photon::SimCameraProperties::GetContourAreaPercent |
( |
const std::vector< cv::Point2f > & | points | ) |
|
|
inline |
◆ GetCorrectedPixelRot()
frc::Rotation3d photon::SimCameraProperties::GetCorrectedPixelRot |
( |
const cv::Point2d & | point | ) |
const |
|
inline |
◆ GetDiagFOV()
frc::Rotation2d photon::SimCameraProperties::GetDiagFOV |
( |
| ) |
const |
|
inline |
◆ GetDistCoeffs()
Eigen::Matrix< double, 8, 1 > photon::SimCameraProperties::GetDistCoeffs |
( |
| ) |
const |
|
inline |
◆ GetExposureTime()
units::second_t photon::SimCameraProperties::GetExposureTime |
( |
| ) |
const |
|
inline |
◆ GetFPS()
units::hertz_t photon::SimCameraProperties::GetFPS |
( |
| ) |
const |
|
inline |
◆ GetFrameSpeed()
units::second_t photon::SimCameraProperties::GetFrameSpeed |
( |
| ) |
const |
|
inline |
◆ GetHorizFOV()
frc::Rotation2d photon::SimCameraProperties::GetHorizFOV |
( |
| ) |
const |
|
inline |
◆ GetIntrinsics()
Eigen::Matrix< double, 3, 3 > photon::SimCameraProperties::GetIntrinsics |
( |
| ) |
const |
|
inline |
◆ GetLatencyStdDev()
units::second_t photon::SimCameraProperties::GetLatencyStdDev |
( |
| ) |
const |
|
inline |
◆ GetPixelPitch()
frc::Rotation2d photon::SimCameraProperties::GetPixelPitch |
( |
double | pixelY | ) |
const |
|
inline |
◆ GetPixelRot()
frc::Rotation3d photon::SimCameraProperties::GetPixelRot |
( |
const cv::Point2d & | point | ) |
const |
|
inline |
◆ GetPixelYaw()
frc::Rotation2d photon::SimCameraProperties::GetPixelYaw |
( |
double | pixelX | ) |
const |
|
inline |
◆ GetResArea()
int photon::SimCameraProperties::GetResArea |
( |
| ) |
const |
|
inline |
◆ GetResHeight()
int photon::SimCameraProperties::GetResHeight |
( |
| ) |
const |
|
inline |
◆ GetResWidth()
int photon::SimCameraProperties::GetResWidth |
( |
| ) |
const |
|
inline |
◆ GetVertFOV()
frc::Rotation2d photon::SimCameraProperties::GetVertFOV |
( |
| ) |
const |
|
inline |
◆ GetVisibleLine()
std::pair< std::optional< double >, std::optional< double > > photon::SimCameraProperties::GetVisibleLine |
( |
const RotTrlTransform3d & | camRt, |
|
|
const frc::Translation3d & | a, |
|
|
const frc::Translation3d & | b ) const |
◆ LL2_1280_720()
◆ LL2_640_480()
◆ LL2_960_720()
◆ PERFECT_90DEG()
◆ PI4_LIFECAM_320_240()
◆ PI4_LIFECAM_640_480()
◆ SetAvgLatency()
void photon::SimCameraProperties::SetAvgLatency |
( |
units::second_t | newAvgLatency | ) |
|
|
inline |
◆ SetCalibError()
void photon::SimCameraProperties::SetCalibError |
( |
double | newAvgErrorPx, |
|
|
double | newErrorStdDevPx ) |
|
inline |
◆ SetCalibration() [1/2]
void photon::SimCameraProperties::SetCalibration |
( |
int | width, |
|
|
int | height, |
|
|
const Eigen::Matrix< double, 3, 3 > & | newCamIntrinsics, |
|
|
const Eigen::Matrix< double, 8, 1 > & | newDistCoeffs ) |
◆ SetCalibration() [2/2]
void photon::SimCameraProperties::SetCalibration |
( |
int | width, |
|
|
int | height, |
|
|
frc::Rotation2d | fovDiag ) |
◆ SetExposureTime()
void photon::SimCameraProperties::SetExposureTime |
( |
units::second_t | newExposureTime | ) |
|
|
inline |
◆ SetFPS()
void photon::SimCameraProperties::SetFPS |
( |
units::hertz_t | fps | ) |
|
|
inline |
◆ SetLatencyStdDev()
void photon::SimCameraProperties::SetLatencyStdDev |
( |
units::second_t | newLatencyStdDev | ) |
|
|
inline |
The documentation for this class was generated from the following file: