Skip to content
Snippets Groups Projects
Commit 1c8dcb45 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

minor modif in test scripts

parent 2a7c99e1
No related branches found
No related tags found
No related merge requests found
from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.gepetto import Viewer
white=[1.0,1.0,1.0,1.0]
green=[0.23,0.75,0.2,0.5]
yellow=[0.85,0.75,0.15,1]
pink=[1,0.6,1,1]
orange=[1,0.42,0,1]
rootJointType = 'freeflyer'
packageName = 'hpp-rbprm-corba'
......@@ -46,12 +51,7 @@ r.loadObstacleModel (packageName, "darpa", "planning")
r(q_init)
#~ ps.solve ()
t = ps.solve ()
if isinstance(t, list):
t = t[len(t)-1]
f = open('log.txt', 'a')
f.write("path computation " + str(t) + "\n")
f.close()
r.displayRoadmap("rm",white,0.01,1,green)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment