mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
Examples Clean-Up (#1408)
This commit is contained in:
@@ -53,8 +53,8 @@ static std::vector<cv::Point2f> GetConvexHull(
|
||||
return convexPoints;
|
||||
}
|
||||
|
||||
[[maybe_unused]]
|
||||
static cv::RotatedRect GetMinAreaRect(const std::vector<cv::Point2f>& points) {
|
||||
[[maybe_unused]] static cv::RotatedRect GetMinAreaRect(
|
||||
const std::vector<cv::Point2f>& points) {
|
||||
return cv::minAreaRect(points);
|
||||
}
|
||||
|
||||
@@ -144,8 +144,7 @@ static std::vector<cv::Point3f> RotationToRVec(
|
||||
return cv::boundingRect(points);
|
||||
}
|
||||
|
||||
[[maybe_unused]]
|
||||
static std::vector<cv::Point2f> ProjectPoints(
|
||||
[[maybe_unused]] static std::vector<cv::Point2f> ProjectPoints(
|
||||
const Eigen::Matrix<double, 3, 3>& cameraMatrix,
|
||||
const Eigen::Matrix<double, 8, 1>& distCoeffs,
|
||||
const RotTrlTransform3d& camRt,
|
||||
|
||||
@@ -32,8 +32,7 @@
|
||||
namespace photon {
|
||||
namespace VisionEstimation {
|
||||
|
||||
[[maybe_unused]]
|
||||
static std::vector<frc::AprilTag> GetVisibleLayoutTags(
|
||||
[[maybe_unused]] static std::vector<frc::AprilTag> GetVisibleLayoutTags(
|
||||
const std::vector<PhotonTrackedTarget>& visTags,
|
||||
const frc::AprilTagFieldLayout& layout) {
|
||||
std::vector<frc::AprilTag> retVal{};
|
||||
|
||||
Reference in New Issue
Block a user