From f81ea12128794ba282957abd8bc66e04900368c7 Mon Sep 17 00:00:00 2001 From: Matt Morley Date: Sun, 18 Aug 2024 16:34:58 -0700 Subject: [PATCH] whippyformat --- photonlib-cpp-examples/aimattarget/src/main/cpp/Robot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photonlib-cpp-examples/aimattarget/src/main/cpp/Robot.cpp b/photonlib-cpp-examples/aimattarget/src/main/cpp/Robot.cpp index f0f4ac4a39..830fe147c0 100644 --- a/photonlib-cpp-examples/aimattarget/src/main/cpp/Robot.cpp +++ b/photonlib-cpp-examples/aimattarget/src/main/cpp/Robot.cpp @@ -37,8 +37,8 @@ void Robot::RobotPeriodic() { photon::PhotonPipelineResult result = camera.GetLatestResult(); auto end = frc::Timer::GetFPGATimestamp(); - std::printf("DT is %iuS for %i targets\n", - (int)units::microsecond_t(end - start).to(), + std::printf("DT is %.2f uS for %i targets\n", + units::microsecond_t(end - start).to(), result.GetTargets().size()); }