Home | Tutorials | Wiki | Issues
Ask Your Question

Is the MultiRayShape Class working properly? [closed]

asked 2018-02-12 08:32:45 -0500

davidcb gravatar image

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... . Now the API documentation given http://osrf-distributions.s3.amazonaw... 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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by davidcb
close date 2018-02-14 06:30:35.966218

1 Answer

Sort by » oldest newest most voted

answered 2018-02-14 06:29:39 -0500

davidcb gravatar image

After looking through the code for Gazebo 8 and 9, I see that it has been implemented in these versions, so the solution for now is simply to update the Gazebo version and handle the migration problems.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-02-12 08:32:45 -0500

Seen: 26 times

Last updated: Feb 14