From 18ea4ffdcc4c88ee93ee6945821995f4e5926090 Mon Sep 17 00:00:00 2001 From: jgvictores Date: Thu, 15 Mar 2018 23:53:05 +0100 Subject: [PATCH] prepare for collision, #82 --- .../openraveYarpPluginLoader-controlboard-collision.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/python/openraveYarpPluginLoader-controlboard-collision.py b/examples/python/openraveYarpPluginLoader-controlboard-collision.py index 351bfd45..8d93c2a3 100644 --- a/examples/python/openraveYarpPluginLoader-controlboard-collision.py +++ b/examples/python/openraveYarpPluginLoader-controlboard-collision.py @@ -13,11 +13,8 @@ env.SetViewer('qtcoin') env.Load('/usr/local/share/teo-openrave-models/contexts/openrave/teo/teo.robot.xml') - #OpenraveYarpPluginLoader = RaveCreateModule(env,'OpenraveYarpPluginLoader') - #print OpenraveYarpPluginLoader.SendCommand('open --device controlboardwrapper2 --subdevice YarpOpenraveControlboard --robotIndex 0 --allManipulators') - - OpenraveCollisionStop = RaveCreateModule(env,'OpenraveCollisionStop') - print OpenraveCollisionStop.SendCommand('open --robotIndex 0') + OpenraveYarpPluginLoader = RaveCreateModule(env,'OpenraveYarpPluginLoader') + print OpenraveYarpPluginLoader.SendCommand('open --device controlboardwrapper2 --subdevice YarpOpenraveControlboard --robotIndex 0 --manipulatorIndex 0 --collision') # Convex Decomposition teo_robot = env.GetRobots()[0]