Robotics StackExchange | Archived questions

Publish a transparent marker with non-transparent edge

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

Asked by Vignesh_93 on 2022-05-21 05:29:36 UTC

Comments

Answers

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

Asked by Vignesh_93 on 2022-05-22 15:54:12 UTC

Comments