summaryrefslogtreecommitdiff
path: root/host/simu/robots
diff options
context:
space:
mode:
authorNicolas Schodet2012-03-30 23:05:27 +0200
committerNicolas Schodet2012-03-30 23:05:27 +0200
commitc0640f4a2598a8fcc9c90d484c0d8f0b54f03b31 (patch)
tree2d7e0ce200ce6f13ef4c785df6df9caed713a0ed /host/simu/robots
parent12ab5ee3f6e52ad8ba152d672c4145828de325d7 (diff)
host/simu/robots/guybrush: reverse clamping meaning
Diffstat (limited to 'host/simu/robots')
-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 ()