Dynamixel driver with usb2ax issue [closed]

asked 2015-12-11 14:28:28 -0600

juju73 gravatar image


I experienced connexion issue when using ROS package dynamixel_contollers to manage dynamixel motor with usb2ax adaptator. The modification in file dynamixel_io.py solved this issue:

class DynamixelIO(object): """ Provides low level IO with the Dynamixel servos through pyserial. Has the ability to write instruction packets, request and read register value packets, send and receive a response to a ping packet, and send a SYNC WRITE multi-servo instruction packet. """

def __init__(self, port, baudrate):
    """ Constructor takes serial port and baudrate as arguments. """
        self.serial_mutex = Lock()
        self.ser = None
        self.ser = serial.Serial(port)
        self.ser.baudrate = baudrate
        self.port_name = port
    #To add
    self.ser = serial.Serial(port,baudrate,timeout=0.04)



edit retag flag offensive reopen merge delete

Closed for the following reason too localized by ahendrix
close date 2015-12-11 15:22:58.927992


This is not a question. Please submit this directly to the dynamixel_controllers github repository as a pull request or a ticket.

ahendrix gravatar image ahendrix  ( 2015-12-11 15:22:30 -0600 )edit

This totally fixed a problem I was having. Thanks!

bkinman gravatar image bkinman  ( 2015-12-18 17:06:55 -0600 )edit