0
$\begingroup$

Rosanswers logo

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?


Originally posted by Nxzx on ROS Answers with karma: 9 on 2016-05-12

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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


Originally posted by Mehdi. with karma: 3339 on 2016-05-12

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.