refactored dynamixel API