summaryrefslogtreecommitdiff
path: root/host/simu/robots/giboulee/link/bag.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/giboulee/link/bag.py')
-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)