summaryrefslogtreecommitdiff
path: root/host/simu/robots/marcel/link/bag.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/marcel/link/bag.py')
-rw-r--r--host/simu/robots/marcel/link/bag.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/simu/robots/marcel/link/bag.py b/host/simu/robots/marcel/link/bag.py
index 7cb34c28..c0e36dea 100644
--- a/host/simu/robots/marcel/link/bag.py
+++ b/host/simu/robots/marcel/link/bag.py
@@ -28,8 +28,8 @@ import mimot.mex
class Bag:
- def __init__ (self, node):
- self.asserv = asserv.mex.Mex (node)
- self.io = io.mex.Mex (node)
- self.mimot = mimot.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)
+ self.mimot = mimot.mex.Mex (node, '%s:mimot0' % instance)