ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Rviz visualize custom surface

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

aled96 gravatar image

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

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

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

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

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

Seen: 210 times

Last updated: Mar 20 '22