Robotic Systems · Lecture 11

Collision detection and contact geometry

Simeon Nedelchev

Full notes, practice, and references

Detection and response

Detection computes nearby geometry.

Response computes the resulting forces or impulses.

The two stages answer different questions.

Broad and narrow phases

Bounding volumes reject distant pairs.

Detailed geometry handles candidate pairs.

Sphere-plane gap

ϕ=z−r\phi=z-r

r=0.1r=0.1 m and z=0.08z=0.08 m give −0.02-0.02 m.

Gap alone does not determine contact force.

Contact data

Point, frame, distance, and geometry pair.

A candidate within a margin can have positive distance.

MuJoCo inspection

ncon and contact describe contact geometry.

mj_contactForce returns a contact-frame wrench.

Practice

Compare gap, force, and motion.

Changing collision shape changes the physical experiment.

Reading

Return to the notes