I found a solution for gazebo classic here:
For gz Harmonic, how to get the same function since there is no RayShape anymore.
I found the GetRayIntersection in gz::physics but had no idea how to use it in upper program
ROS Resources: ROS Homepage | Media and Trademarks | Documentation | ROS Index | How to Get Help | Q&A Help Site | Discussion Forum | Service Status |
I found a solution for gazebo classic here:
For gz Harmonic, how to get the same function since there is no RayShape anymore.
I found the GetRayIntersection in gz::physics but had no idea how to use it in upper program
I guess you should wait for Physics: Ray intersections by romulogcerqueira · Pull Request #2514 · gazebosim/gz-sim · GitHub will be merged.