added rosinfo's to track the number of trajectories to view