stephane-caron / openrave_models Goto Github PK
View Code? Open in Web Editor NEWRobot models for OpenRAVE
Robot models for OpenRAVE
Hi, thanks a lot.
I have my model in blender now, and I can even export it from .wrl to .dae!
But all my joints seems to be independent and when I export I get one solid mesh instead
of robot with dependent joints.
So my question is: how to prepare the model to be exported in to right .dae.
How to specify all joints and constraints?
All joints in my model are going to be rotational, there should be some limits,
but that is kind of optional.
In [2]: import openravepy
In [3]: a = openravepy.Environment()
In [4]: a.Load("hmmm.WRL")
Coin read error: Unable to read identifier after DEF keyword
Occurred at line 2769 in /home/georgy/Downloads/hmmm.WRL
Coin read error: Invalid definition of R
Occurred at line 2769 in /home/georgy/Downloads/hmmm.WRL
Coin read error: Couldn't read value for field "children" of VRMLTransform
Occurred at line 2769 in /home/georgy/Downloads/hmmm.WRL
DATA_READ - Fatal error!
Unacceptable input file type.
2017-07-05 22:15:21,345 openrave [WARN] [environment-core.h:492 Load] load failed on file hmmm.WRL
Out[4]: False
Got this error. Maybe I use some wrong wrl file?
Which version of blender should I use?
Hello, here is log, which I got, calling 'python load_model.py Robot.dae' on my simple ".dae" file:
2017-07-04 01:12:14,936 openrave [ERROR] [colladareader.cpp:3788 ColladaReader::handleError] COLLADA error: Trying to load an invalid COLLADA version for this DOM build!
2017-07-04 01:12:15,037 openrave [ERROR] [colladareader.cpp:3788 ColladaReader::handleError] COLLADA error: Failed to load file:/home/georgy/git/openrave_models/Robot.dae
2017-07-04 01:12:15,038 openrave [WARN] [xmlreaders-core.cpp:1527 JointXMLReader::endElement] Failed to find body FLYER_TX_LINK for joint FLYER_TX
2017-07-04 01:12:15,038 openrave [WARN] [xmlreaders-core.cpp:1527 JointXMLReader::endElement] Failed to find body FLYER_TY_LINK for joint FLYER_TX
2017-07-04 01:12:15,038 openrave [WARN] [xmlreaders-core.cpp:1465 JointXMLReader::endElement] parent kinbody has no links defined yet!
Traceback (most recent call last):
File "load_model.py", line 123, in <module>
robot = env.GetRobots()[0]
IndexError: list index out of range
[1] 5203 segmentation fault (core dumped) python load_model.py Robot.dae
I assume, that I made some wrong ".dae" and maybe you can share some tips how to make right model, which I will be able to use with openrave.
Or I better make urdf/xml?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.