From 8ddd21a6f3c65cd94b794cb25e6fa74dc20da3cc Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 9 Feb 2012 21:23:47 +0100 Subject: digital/ai/tools, host/simu/robots: simulate several robots --- host/simu/robots/giboulee/link/bag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/simu/robots/giboulee/link/bag.py') 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) -- cgit v1.2.3