Added the command to get a state of joint.