extreme positions weren't possible

This commit is contained in:
2019-05-18 19:41:30 +02:00
parent 32ee37e54b
commit 404ca9b3ad
+1 -1
View File
@@ -81,7 +81,7 @@ class Robot:
self.mid = mid
def is_inside(self, ms):
return self.min < ms < self.max or self.max < ms < self.min
return self.min <= ms <= self.max or self.max <= ms <= self.min
class Arm:
def __init__(self, attatched_to, length, height=0.0):