Generate and compare COM trajectories