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

Publish a transparent marker with non-transparent edge

asked 2022-05-21 05:29:36 -0600

Vignesh_93 gravatar image

updated 2022-05-21 05:31:42 -0600

Hello developers

I am currently working with publishing marker in ros as a topic and is successful in publishing different types. It would be my next step to make the markers transparent with the edge of the marker non transparent, meaning if I want to publish a cube, the edges of the cube only needs to be visible not the faces and so the the edge is essentially transparent.

Reason : The idea behind this is to visualise the surrounding in the form of transparent cubes and observe sensor detentions of the objects in side the cubes.

thanks in advance

Vignesh

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-22 15:54:12 -0600

Vignesh_93 gravatar image

One of an inefficient ways to do so is publishing line markers for each and every cube. But this requires a lot of resource and computation power. This amounts to saying there are 12 unique lines for each cubes. So if we are publishing a cube of cubes whose size is 1X1X1 and if the side is split into 4 points, results in a total of 16X16 cubes. This equals 16X16X12 lines (there will be a lot of over laps)..

If anyone comes up with something better please do suggest it.

thanks Vignesh

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-05-21 05:29:36 -0600

Seen: 95 times

Last updated: May 22 '22