Added agent that executes a trajectory using a yoyo pattern.