Minor fixes
This commit is contained in:
parent
3fe3139961
commit
aac99a11ba
4 changed files with 8 additions and 4 deletions
|
@ -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():
|
||||
|
|
Reference in a new issue