Trajectory tracking control with data fusion and geometric algorithm