Minor fixes

This commit is contained in:
Konstantin Lampalzer 2021-09-11 21:12:58 +02:00
parent 3fe3139961
commit aac99a11ba
4 changed files with 8 additions and 4 deletions

View file

@ -89,8 +89,8 @@ class Motor(object):
elif percent < 0:
raw_power = -Motor.__linearizePower(MOTOR_CURVE, -percent)
MetricsLogging.put("Motor", percent, port, False)
Motor.power_raw(port, raw_power)
MetricsLogging.put("Motor", percent, port)
Motor.power_raw(port, raw_power, False)
@staticmethod
def all_off():