This function changes baudrate of DYNAMIXEL.
const int DXL_DIR_PIN = 2; Dynamixel2Arduino dxl(Serial1, DXL_DIR_PIN); dxl.setBaudrate(1, 57600);