remove warnings about deprecated functions, use a deque instead of vector to represent kinematic trajectories