converted existing torque trajectory interaface to follow joint trajectory interface