Skip to content

Commit

Permalink
This change will be done in regen pr
Browse files Browse the repository at this point in the history
  • Loading branch information
philam2001 committed Nov 29, 2024
1 parent 80f3a43 commit c771f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/shared/src/app/app_units.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define DEG_TO_RAD(degrees) ((degrees) * M_PI_F / 180.0f)
#define RPM_TO_RADS(rpm) ((rpm) * M_PI_F / 30.0f)

#define WHEEL_DIAMETER_IN (18.0f)
#define WHEEL_DIAMETER_IN (15.0f)
#define GEAR_RATIO (4.124f)
#define MOTOR_RPM_TO_KMH(rpm) ((rpm) * (float)WHEEL_DIAMETER_IN * M_PI_F * INCH_TO_KM * MIN_TO_HOUR / GEAR_RATIO)
#define MOTOR_KMH_TO_RPM(kmh) \
Expand Down

0 comments on commit c771f61

Please sign in to comment.