Robotics StackExchange | Archived questions

ODE dCollide only checks AABB

It seems that the GetIntersection function of the RayShape class for ODE uses dCollider between geoms, but it looks like that is only checking AABB, and not my true collision shape (a non axis-aligned box)

Can anyone explain what's going on, or how to make checking for collision work correctly?

for a simple example, a ray at the origin (blue line here) reports that it intersects with the box, even thought it clearly does not.

image description

Asked by Peter Mitrano on 2020-06-17 02:01:44 UTC

Comments

Answers

The Gazebo ODE ray wrapper code seems to be checking collision in a limited way, first using only the AABB. I would call this a bug, since one should really recurs into the space and check collision with the actual geom.

Asked by Peter Mitrano on 2020-06-27 19:37:49 UTC

Comments