Probabilistic Stability Analysis of Planar Robots with Piecewise Constant Derivative Dynamics