5 from gepetto.corbaserver
import Client
8 devel_hpp_dir = os.getenv(
"DEVEL_HPP_DIR")
10 path = devel_hpp_dir +
"/src/hpp-fcl/test/fcl_resources" 12 path = os.getenv(
"PWD") +
"/fcl_resources" 15 Green = [0, 1, 0, 0.5]
22 wid = c.gui.createWindow(
"test-fcl")
24 c.gui.createScene(sceneName)
25 c.gui.addSceneToWindow(sceneName, wid)
27 c.gui.addMesh(
"env", path +
"/env.obj")
28 c.gui.addToGroup(
"env", sceneName)
29 c.gui.addBox(
"box", 500, 200, 150, Blue)
30 c.gui.addToGroup(
"box", sceneName)
32 q2 = (0, 0, 0, 0, 0, 0, 1)
43 c.gui.applyConfiguration(
"env", q1)
44 c.gui.applyConfiguration(
"rob", q2)