first compiling version of jointTorqueControl