Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is the MultiRayShape Class working properly?

I am gettting the following error when trying to compile my code: error: ‘class gazebo::physics::MultiRayShape’ has no member named ‘Ray’

I am trying to detect which object a laser ray is hitting by following the answer given in http://answers.gazebosim.org/question/12982/how-to-get-the-name-of-a-entity-a-ray-or-a-ray-sensor-collides-with/ . Now the API documentation given http://osrf-distributions.s3.amazonaws.com/gazebo/api/7.1.0/classgazebo_1_1physics_1_1MultiRayShape.html indicates that this should work. I am using Gazebo version 7.10.0.

After looking through the code for Gazebo, I see that the functions are not implemented, is there some information on when they would implement it or if they have decided to remove the functionality all together? If that is the case, seeing which object has collided with a specific ray is going to be problematic.