ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Import scene model into RVIZ/MoveIt

asked 2014-05-12 14:19:57 -0600

anonymous user

Anonymous

updated 2014-06-18 21:31:19 -0600

Hi all,

I am wanting to launch RVIZ and have it import laboratory environment into the planning scene. I have a 3D model of the lab in SolidWorks and available as an STL.

How can I do this? Are there any parameters i can load this into?

Cheers

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-07-17 12:01:23 -0600

JoSo gravatar image

updated 2014-07-19 12:23:14 -0600

@cmeaclem,

If, in Rviz, you navigate to the Motion Planning tab 'Scene Object' there is a window and button that lets you import a file. Once the file is loaded you can move your object in the world using the gui or imarkers and then save the config.

Hope this helps

Update: You can follow this to save the scene to the warehouse database. Then you can load from the same tab after launching. The connect button does need to be clicked a few times in order to connect and you may need to change the warehouse database path to save. From then on, you should just need to load the scene from the Motion Planning > Stored Scene tab.

edit flag offensive delete link more

Comments

1

So if I save the RViz configuration it will automatically load that scene next time I run my rviz application?

anonymous userAnonymous ( 2014-07-18 23:57:28 -0600 )edit

@cmeaclem Sorry, saving the Rviz configuration will save the display tabs that you have added to the left window pane. Handy, but not the answer I believe you need. See above for more accurate solution

JoSo gravatar image JoSo  ( 2014-07-19 12:28:20 -0600 )edit

I clicked the tab 'scene objects' and pressed the button 'import from text' ,but only *.scene file can be found, i can't choose my STL file.What should i do? thanks!

SaltyFish gravatar image SaltyFish  ( 2018-04-25 14:28:38 -0600 )edit

Hello ! i have already imported file STL. However, the deviation is count on cm, i want it to use mm as the unit, can i fix this problem ? Thank you very much

bao041115 gravatar image bao041115  ( 2020-06-02 21:51:47 -0600 )edit

@bao041115 I believe you can do this by scaling the object. I believe RVIZ uses meters by default, so scale this down/ up between the units.

Camsmart gravatar image Camsmart  ( 2022-07-05 13:11:45 -0600 )edit

Question Tools

4 followers

Stats

Asked: 2014-05-12 14:19:57 -0600

Seen: 5,037 times

Last updated: Jul 19 '14