Hello!
I'd like to see the endpoints of laserscanner in a camera to simulate a line laser attached to my robot. The laser is however only visible in the gazebo-GUI, but not in a simulated camera image.
I had a look around and found the LaserVisual.cc ( https://bitbucket.org/osrf/gazebo/src/439c127c6f494d8208b082c8832610ea2f67ce8c/gazebo/rendering/LaserVisual.cc?at=default&fileviewer=file-view-default ) which looks as if it is responsible for drawing the visualization of the laser scan.
My main finding was this line
this->SetVisibilityFlags(GZ_VISIBILITY_GUI);
that looks as if it is used to select who can see this visualization. Before I start to recompile the whole gazebo, I'd like to ask if it would be enough to set this flag to GZ_VISIBILITY_ALL
to get the cameras to see the laser visualization.
Originally posted by NikolasE on Gazebo Answers with karma: 13 on 2015-10-13
Post score: 0