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

How to display a cube on rviz?

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

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 -0500

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

Question Tools

1 follower

Stats

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

Seen: 1,678 times

Last updated: May 12 '16