[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

@@ -74,7 +74,7 @@ constexpr double kPRearRightVel = 0.5;
namespace ModuleConstants {
constexpr int kEncoderCPR = 1024;
constexpr double kWheelDiameterMeters = .15;
constexpr double kWheelDiameterMeters = 0.15;
constexpr double kDriveEncoderDistancePerPulse =
// Assumes the encoders are directly mounted on the wheel shafts
(kWheelDiameterMeters * wpi::numbers::pi) /