Sub-Riemannian manifolds model media with constrained dynamics: motion at any point is only allowed along a limited set of directions, which are prescribed by the physical problem. From the theoretical point of view, sub-Riemannian geometry is the geometry underlying the theory …