Exact Collision Gradients for Ellipsoids in Differentiable Simulation
Abstract
Differentiable simulation enables gradient-based optimization in learning and control problems involving collisions, but its gradients are least reliable at the moment of impact, when the velocities jump. A fixed-step simulator detects a collision only after the bodies overlap, and some differentiable simulators correct for this with a linear estimate of the time of impact. In this paper, we study impacts between ellipsoids. We show that the gradient error of this estimate grows with the obliqueness of the collision, the curvature at contact, and the time step, and that ignoring spin adds a further error. Subsequently, we find the time of impact with continuous collision detection on the Perram Wertheim contact function and differentiate through the touching condition rather than the search. This gives exact gradients at any step size. We demonstrate our method on an optimal control problem and a system identification problem. In both, exact gradients recover the optimal control and the true parameters, while the linear estimate does not, even when it accounts for spin.
Create a lesson
Metadata
- Categories
- cs.RO, cs.SY, eess.SY, math.OC
Related papers
DAA for an Autonomous Delivery Drone: Maneuver Selection Policies for Near-Collision Risk Avoidance
Shared title terminologycs.ROFranco Callari, Ishay Kamon, Anthony Narkawitz et al.
Collision Rendering: GPU-Accelerated Trajectory Planning on Sparse Voxel Radiance Fields with Risk-Bounded Collision Checking
Shared title terminologycs.ROByoungkwon Yoon, Han Gyeom Lee, Hojun Lee et al.
FabricBench: A Standardized Policy Benchmark for Bimanual Fabric Manipulation with a Contact-Driven Deformable Simulator
Shared title terminologycs.ROWenkang Hu, Haoran Wang, Liu Liu et al.
NoveltyGate: Novelty, Not Error, Decides Which VLA Prefix Tokens to Compute Exactly
Shared title terminologycs.ROLemeng Qi
TASC: Time-to-Collision Anticipation and Selective Crowd Attention for Non-Holonomic Service Robots
Shared title terminologycs.ROMohammadhossein Malmir, Mohammadali Rahmati, Mohammad Reza Kolani et al.
Specification-Aware Sparse Differentiation: Planning under Signal Temporal Logic with Sparsemax Robustness
Shared title terminologycs.ROSai Sandeep Damera, Ryan Matheu, John S. Baras et al.