add effort for joint trajectories