summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/guybrush
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/guybrush')
-rw-r--r--host/simu/robots/guybrush/model/clamps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/simu/robots/guybrush/model/clamps.py b/host/simu/robots/guybrush/model/clamps.py
index e99401cd..b5278694 100644
--- a/host/simu/robots/guybrush/model/clamps.py
+++ b/host/simu/robots/guybrush/model/clamps.py
@@ -44,6 +44,6 @@ class Clamps (Observable):
if c.pos is None:
self.lower_clamp_clamping[i] = None
else:
- self.lower_clamp_clamping[i] = (1.0
- - (c.pos - c.pos_in) / (c.pos_out - c.pos_in))
+ self.lower_clamp_clamping[i] = ((c.pos - c.pos_in)
+ / (c.pos_out - c.pos_in))
self.notify ()