summaryrefslogtreecommitdiff
path: root/host/simu/robots/apbirthday/model/bag.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/apbirthday/model/bag.py')
-rw-r--r--host/simu/robots/apbirthday/model/bag.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/simu/robots/apbirthday/model/bag.py b/host/simu/robots/apbirthday/model/bag.py
index 768b1f4a..28295e63 100644
--- a/host/simu/robots/apbirthday/model/bag.py
+++ b/host/simu/robots/apbirthday/model/bag.py
@@ -39,6 +39,8 @@ class Bag:
self.color_switch.state = random.choice ((False, True))
self.color_switch.notify ()
self.jack = Switch (link_bag.raw_jack, invert = True)
+ self.strat_switch = Switch (link_bag.ihm_strat, invert = True)
+ self.robot_nb_switch = Switch (link_bag.ihm_robot_nb, invert = True)
self.beacon = RoundObstacle (40, 5)
table.obstacles.append (self.beacon)
self.position = Position (link_bag.asserv.position, [ self.beacon ])