Update diagnostics/MotorDiagnostics.py
This commit is contained in:
@@ -131,11 +131,11 @@ class MotorDiagnostics:
|
|||||||
print("\n FINAL MOTOR STATISTICS")
|
print("\n FINAL MOTOR STATISTICS")
|
||||||
final = (test180 + test540 + test1000) / 3
|
final = (test180 + test540 + test1000) / 3
|
||||||
print("Final motor health score:", str(final) + "%")
|
print("Final motor health score:", str(final) + "%")
|
||||||
if final < 80:
|
if final < 65:
|
||||||
print("Your motor is in need of attention. Make sure to clean it regularly and charge the Prime Hub.")
|
print("Your motor is in need of attention. Make sure to clean it regularly and charge the Prime Hub.")
|
||||||
elif final < 90:
|
elif final < 85:
|
||||||
print("Your motor is in OK condition. Make sure to clean it regularly and charge the Prime Hub.")
|
print("Your motor is in OK condition. Make sure to clean it regularly and charge the Prime Hub.")
|
||||||
elif final < 97:
|
elif final < 95:
|
||||||
print("Your motor is in great condition!")
|
print("Your motor is in great condition!")
|
||||||
else:
|
else:
|
||||||
print("Your motor is in AMAZING condition!!!")
|
print("Your motor is in AMAZING condition!!!")
|
||||||
|
|||||||
Reference in New Issue
Block a user