diff --git a/lunabot_embedded/firmware/teensy_main/lib/lunabot_drivers/robot.cpp b/lunabot_embedded/firmware/teensy_main/lib/lunabot_drivers/robot.cpp index 23ae1fc7..2cf84b4e 100644 --- a/lunabot_embedded/firmware/teensy_main/lib/lunabot_drivers/robot.cpp +++ b/lunabot_embedded/firmware/teensy_main/lib/lunabot_drivers/robot.cpp @@ -97,9 +97,9 @@ void update(float &d0) { float val1 = HX711_Bus::read_scale(0); float val2 = HX711_Bus::read_scale(1); if (val1 != -1 && val2 != -1) { - d0 = (val1 - 8143500) / -17.222f; + d0 = (val1 - 8143500) / -33.1; } else if (val1 != -1) { - d0 = (val1 - 8143500) / -17.222f; + d0 = (val1 - 8143500) / -33.1; } else if (val2 != -1) { d0 = val2; }