Skip to content

Commit

Permalink
whippyformat
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Aug 18, 2024
1 parent 26a64a9 commit f81ea12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photonlib-cpp-examples/aimattarget/src/main/cpp/Robot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double>(),
std::printf("DT is %.2f uS for %i targets\n",
units::microsecond_t(end - start).to<double>(),
result.GetTargets().size());
}

Expand Down

0 comments on commit f81ea12

Please sign in to comment.