[wpilibcExamples] Prefix decimal numbers with 0 (#3478)

This commit is contained in:
Tyler Veness
2021-07-11 10:38:13 -04:00
committed by GitHub
parent 1adb69c0fd
commit f8f13c536f
6 changed files with 7 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ constexpr auto kWheelBase =
extern const frc::MecanumDriveKinematics kDriveKinematics;
constexpr int kEncoderCPR = 1024;
constexpr double kWheelDiameterMeters = .15;
constexpr double kWheelDiameterMeters = 0.15;
constexpr double kEncoderDistancePerPulse =
// Assumes the encoders are directly mounted on the wheel shafts
(kWheelDiameterMeters * wpi::numbers::pi) /