Failed to find cached model

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Failed to find cached model

rsantos88
This post has NOT been accepted by the mailing list yet.
Hi,

I'm trying to follow the steeps of tutorial_inversereachability and I've noticed that I can't use the inverse-reachability database uploaded here because it's a old database and the hashes
don't match (I saw this answer  here). Therefore, I've left the PC all the week, generating the database, and the result is, when I want to visualize the database result with openrave.py --database kinematicreachability --robot=robots/pr2-beta-static.zae --show, still get the error:

openrave.py --database kinematicreachability --robot=robots/pr2-beta-static.zae --show
2017-07-10 12:19:52,468 openrave [WARN] [plugindatabase.h:577 InterfaceBasePtr OpenRAVE::RaveDatabase::Create] Failed to create name fcl_, interface collisionchecker
2017-07-10 12:19:53,994 openrave [WARN] [kinbody.cpp:1504 KinBody::SetDOFValues] dof 12 value is not in limits 0.000000e+00<1.150000e-02
2017-07-10 12:19:53,994 openrave [WARN] [kinbody.cpp:1515 KinBody::SetDOFValues] dof 18 value is not in limits 0.000000e+00<-1.500001e-01
2017-07-10 12:19:53,994 openrave [WARN] [kinbody.cpp:1515 KinBody::SetDOFValues] dof 20 value is not in limits 0.000000e+00<-1.000000e-01
2017-07-10 12:19:53,994 openrave [WARN] [kinbody.cpp:1515 KinBody::SetDOFValues] dof 30 value is not in limits 0.000000e+00<-1.500001e-01
2017-07-10 12:19:53,994 openrave [WARN] [kinbody.cpp:1515 KinBody::SetDOFValues] dof 32 value is not in limits 0.000000e+00<-1.000000e-01
openravepy.databases.inversekinematics: load, r must be non-negative
openravepy.databases.kinematicreachability: load, Inverse Kinematics Error
Manipulator leftarm_camera (indices=[15, 16, 17, 18, 19]) joint indices to solve for ([15, 16, 17, 18, 19]) is not equal to number of expected joints (6) for IK type Transform6D
Traceback (most recent call last):
  File "/usr/local/bin/openrave.py", line 126, in <module>
    database.run(args=args)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/databases/kinematicreachability.py", line 440, in run
    ReachabilityModel.RunFromParser(Model = lambda robot: ReachabilityModel(robot=robot), parser = ReachabilityModel.CreateOptionParser(), *args,**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/databases/__init__.py", line 259, in RunFromParser
    raise ValueError('failed to find cached model %s : %s'%(model.getfilename(True),model.getfilename(False)))
ValueError: failed to find cached model  : /home/teo/.openrave/robot.a957ce8873dc633fe4c1f60b50e5b7ee/reachability.44bb2d0763644888e7c9953eb8fb964e.pp

I've been seeing the content of .openrave/robot.a957ce8873dc633fe4c1f60b50e5b7ee/ directory  and it have different names. Why it's trying to access a file with different name than the one it created??
I can see: invreachability.cf81b702df236e311c13966ad4bcc45a.pp and invreachability.cf81b702df236e311c13966ad4bcc45a.pp files
Anyway, I've tried to change the name manually but the error persist.. what can I do?

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Failed to find cached model

rsantos88
This post has NOT been accepted by the mailing list yet.
Ok, I've solved this problem yet.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Failed to find cached model

huky78
Hey how did you solve this? I'm using the new database that you generated but it 'failed to find cached model' because of the different hash name
Loading...