debug (motion_get_*) & conditions d’arrêt
add: missing volatile since use in OnGetOrders