Ax12a and python

Hello, everyone! I use Dynamixel AX12A with Python. I want to rotate it in MOTOR mode, without goal position, only speed and direction of movement. How can I do this?

Where do you run your Python code? PC or RPi? Or some other controller?

If you use a PC or RPi, software wise you’ll need the Dynamixel SDK which has a Python library

image

Hardware wise you’ll need the U2D2 and this X3P convertible cable to connect between the AX12 and the U2D2

image

image

Programming wise, first you set the AX12 into wheel mode by setting its CCW Limit to 0

image

Then you can adjust its Moving Speed.

image