I am trying to use torque control on the MX series motors. Here is my code:

#include <ax12.h>

const int servo = 2;
void setup() {
dxlInit(1000000);
mxSetTorqueControlMode(servo, 1);
...