Homogenization of ODE’s in $${\mathbb {R}}^N$$RN