Using python, I've created a robot programmatically with VRML render and collision link files. I then added it to the environment and saved it using env.Save("robot.dae"). When I load the saved Collada file, though, the robot is not visible in the viewer. Looking at the saved file, the link geometry doesn't seem to be included, and there are no references to external .wrl files. Is it possible to save the robot definition together with its meshes in Collada?
Thanks, Steve |
Administrator
|
Hi Steve, In the very near future, we will have COLLADA saving both the collision and render meshes, but it's not implemented right now.You have to fill in ginfo._meshcollision ginfo._filenamecollision is just for record keeping ginfo._filenamerender is for optional display on the viewer (whose info does *not* get exported to collada). Therefore, you essentially created a mesh with no geometry. What you should do is: ginfo._meshcollision = env.ReadTrimeshURI(mycollisionmodel) rosen, 2013/8/17 Steve <[hidden email]> Using python, I've created a robot programmatically with VRML render and ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Openrave-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openrave-users |
Free forum by Nabble | Edit this page |