added hydro to groovy JointTrajectory support (mainly for Pr2)