From eafdfc8d1d1f1e350ee4b77aec0225a245227bb4 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 25 Dec 2024 18:32:14 -0800 Subject: [PATCH] [examples] Fix C-style cast warning from cpplint --- .../src/main/cpp/examples/AprilTagsVision/cpp/Robot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibcExamples/src/main/cpp/examples/AprilTagsVision/cpp/Robot.cpp b/wpilibcExamples/src/main/cpp/examples/AprilTagsVision/cpp/Robot.cpp index 9d060712929..4d94430ec93 100644 --- a/wpilibcExamples/src/main/cpp/examples/AprilTagsVision/cpp/Robot.cpp +++ b/wpilibcExamples/src/main/cpp/examples/AprilTagsVision/cpp/Robot.cpp @@ -59,7 +59,7 @@ class Robot : public frc::TimedRobot { // Set up Pose Estimator - parameters are for a Microsoft Lifecam HD-3000 // (https://www.chiefdelphi.com/t/wpilib-apriltagdetector-sample-code/421411/21) frc::AprilTagPoseEstimator::Config poseEstConfig = { - .tagSize = units::length::inch_t(6.5), + .tagSize = 6.5_in, .fx = 699.3778103158814, .fy = 677.7161226393544, .cx = 345.6059345433618,