summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/apbirthday/model
diff options
context:
space:
mode:
authorNicolas Schodet2013-05-04 19:51:20 +0200
committerNicolas Schodet2013-05-04 19:51:20 +0200
commite2a3f8db807ce207cc9b66ef093ac68a3212a131 (patch)
tree4b4b53501208bdbde35afa3be26e0659fcef5f5e /host/simu/robots/apbirthday/model
parentf1369e5a073e6ed7f8211ab93934a2b8bbe5b3f4 (diff)
host/simu/robots/apbirthday: add funny action simulation
Diffstat (limited to 'host/simu/robots/apbirthday/model')
-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 dd3d52f2..b6bf6c60 100644
--- a/host/simu/robots/apbirthday/model/bag.py
+++ b/host/simu/robots/apbirthday/model/bag.py
@@ -92,6 +92,8 @@ class Bag:
link_bag.gift_in,
link_bag.gift_out,
scheduler, 0., 1., 10., 10., 0.))
+ self.ballon = PneumaticCylinder (None, link_bag.ballon_funny_action,
+ scheduler, 0., 1., .1, .1, 0.)
self.path = link_bag.io_hub.path
self.pos_report = link_bag.io_hub.pos_report