Trajectory tracking of a class of uncertain systems applied to vehicle platooning and antenna scanning systems