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

Rviz visualize custom surface

asked 2020-05-28 04:13:52 -0500

aled96 gravatar image

updated 2022-03-20 09:38:38 -0500

lucasw gravatar image

Hi,

Is there a way to visualize a custom surface in Rviz by specifying the vertices ? For example, I have 4 point (obtained from a point cloud) and I would like to see on Rviz the surface having those points as vertices.

Thank you very much!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-20 09:41:51 -0500

lucasw gravatar image

You can publish the surface (or arbitrary geometry) as a couple of triangles using an rviz Marker triangle list http://wiki.ros.org/rviz/DisplayTypes...

This has some example python marker publishing code https://answers.ros.org/question/3738..., the C++ isn't that different.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-05-28 04:13:52 -0500

Seen: 454 times

Last updated: Mar 20 '22