Geometric control of hybrid systems. (February 2023)