Ask Your Question
0

How to display a cube on rviz?

asked 2016-05-12 08:49:52 -0600

Nxzx gravatar image

I was using a PCD Visualizer, but, I changed to rviz, I was using the following command:

viewer.addCube(min_pt.x, max_pt.x, min_pt.y, max_pt.y, min_pt.z, max_pt.z, 0.0, 1.0, 0.0, "Door1");

To add a cube to the visualization, but, I don't know how to perform this on rviz, since the fact that I don't use PCD Visualizer anymore, could you guys give some help to me?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-05-12 09:27:07 -0600

Mehdi. gravatar image

Publish a marker of type cube to some topic and visualize it in Rviz. here is an introduction.

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

1 follower

Stats

Asked: 2016-05-12 08:49:52 -0600

Seen: 594 times

Last updated: May 12 '16