summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/giboulee
diff options
context:
space:
mode:
authorNicolas Schodet2012-02-09 21:23:47 +0100
committerNicolas Schodet2012-02-09 21:29:30 +0100
commit8ddd21a6f3c65cd94b794cb25e6fa74dc20da3cc (patch)
tree980d91d9707c7499a6909433136501f693fdd25f /host/simu/robots/giboulee
parent7872d2b5c319862f943d2c1340ecee1d7721d7f4 (diff)
digital/ai/tools, host/simu/robots: simulate several robots
Diffstat (limited to 'host/simu/robots/giboulee')
-rw-r--r--host/simu/robots/giboulee/link/bag.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/simu/robots/giboulee/link/bag.py b/host/simu/robots/giboulee/link/bag.py
index c8c1b285..4dbf0554 100644
--- a/host/simu/robots/giboulee/link/bag.py
+++ b/host/simu/robots/giboulee/link/bag.py
@@ -27,7 +27,7 @@ import asserv.mex
class Bag:
- def __init__ (self, node):
- self.asserv = asserv.mex.Mex (node)
- self.io = io.mex.Mex (node)
+ def __init__ (self, node, instance = 'robot0'):
+ self.asserv = asserv.mex.Mex (node, '%s:asserv0' % instance)
+ self.io = io.mex.Mex (node, '%s:io0' % instance)