summaryrefslogtreecommitdiff
path: root/host/simu/robots/guybrush/model
diff options
context:
space:
mode:
authorNicolas Schodet2012-05-13 20:58:10 +0200
committerNicolas Schodet2012-05-13 20:58:10 +0200
commit437f8817273f85eb19cd8e1cd98673abdf352556 (patch)
tree40c9523daf5858290f42cdfa0dd8a5c373d329c5 /host/simu/robots/guybrush/model
parent0a3d4dfead4ed4d2eaf02d40a61e335127b60a0d (diff)
host/simu/robots/guybrush: change clamp zero sensor to match real robot
Diffstat (limited to 'host/simu/robots/guybrush/model')
-rw-r--r--host/simu/robots/guybrush/model/clamps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/simu/robots/guybrush/model/clamps.py b/host/simu/robots/guybrush/model/clamps.py
index 40ec41a7..35df7246 100644
--- a/host/simu/robots/guybrush/model/clamps.py
+++ b/host/simu/robots/guybrush/model/clamps.py
@@ -134,7 +134,7 @@ class Clamps (Observable):
s.state = new_state
s.notify ()
old_state = self.lower_clamp_zero.state
- new_state = (rot_mod >= pi * 1.45 and rot_mod < pi * 1.55
+ new_state = (rot_mod >= pi * 1.21 and rot_mod < pi * 1.3
and self.lower_clamp_clamping[0])
if new_state != old_state:
self.lower_clamp_zero.state = new_state