mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilibcExamples] Prefix decimal numbers with 0 (#3478)
This commit is contained in:
@@ -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) /
|
||||
|
||||
Reference in New Issue
Block a user