Ask Your Question
3

Controlling rviz via rosservice

asked 2014-01-27 05:33:26 -0500

florent-lamiraux gravatar image

I would like to use rviz as a viewer for an external path planning application. In the application, controlled by python, I have robots and obstacles. Robots are downloaded via urdf files by python commands. In my current understanding of rviz, to visualize a robot, I need to click on the "Add" button to add a robot. Is it possible to add a robot only by python commands via a ros service for instance ?

rosservice call rviz add_robot ${robot_name}_description

Same question for collada or vrml meshes.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-14 01:51:28 -0500

tfoote gravatar image

rviz uses the system robot_description parameter. If you want to visualize another robot for a path planning application I recommend looking at the MoveIt rviz plugins as examples.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2014-01-27 05:33:26 -0500

Seen: 182 times

Last updated: Aug 14 '16