fixed duration in robottrajectory.swap