Problem inserting STL or scene object in RViz

asked 2015-10-21 06:11:08 -0500

Yannick gravatar image

updated 2015-10-26 13:04:38 -0500

William gravatar image

Hello everyone,

I am currently working on a project with the robot Hiro and would like some advices with RViz.

I use ROS Hydro, on Ubuntu 12.04 (64-bit)

I would like to change the robot tools sometime, so I tried to import new 3D models with the Scene Objects-Import File button but I could not load any. With the rqt console I saw an error saying that the needed format was .scene

[Assimp reports no scene in file:///...]

alt text

My questions are the following:

-Many people here on ros.org said they used STL (binary, not solid works made) or DAE or OGRE format but I don't understand if the files were used directly or somehow "compiled" in a scene.

-I have a scene (my workspace); can I add directly a new item (tool) with RViz (I understand it would be done temporary, until RVizz and MoveIt restart) or should I add it directly to the .scene file?

-The last thing is about the Import File button I talked about before. Every time I tried to import something (.scene or STL or...) it didn't work. Does it only import objects already in the loaded scene?

I think there are already some threads about it but all the links are dead, most of the time, so here we are.

Tank you for your advice/ questions ( DO NOT HESITATE if you need more information or if you have the same problem and you want to add a comment or precise a specific case) and thank you for your help!

Have nice day :)

edit retag flag offensive close merge delete

Comments

Update of the problem: I have been trying some "tricks" and apparently, copying one .stl content into a blank document ON THE DESKTOP works. I looked for the accessibility and permissions for each files; same in both /Desktop and /Non-Working-Directory. 1/2

Yannick gravatar image Yannick  ( 2015-10-26 06:59:25 -0500 )edit

There could have been a difference (format of the .txt file used as entry when copying) but no. Both files are identical. 2/2

Yannick gravatar image Yannick  ( 2015-10-26 07:01:32 -0500 )edit