Aneel Tanwani
The simulations are based on the following article:
– A. Tanwani, B. Brogliato, and C. Prieur. Observer Design for Unilaterally Constrained Lagrangian Systems: A Passivity-Based Approach.
For this particular example, the external force acting on the ball is zero, and the coefficient of restitution is 1.
Source