ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

how to change id of a dynamixel with the package named dynamixel_motor?

asked 2016-05-21 10:52:14 -0500

baozhang gravatar image

Dear all,

I found the package named dynamixel_motor which can set configurations of a dynamixel. Could you please tell me the way to change id of a dynamixel by using in this package?

Is it ok that I connect a dynamixel to PC and also to 12V battery, and run that script?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-06 05:20:27 -0500

RaghuvirShirodkar gravatar image


If still an issue (almost 3 years now!), following are the steps:

$ roscd dynamixel_motor && cd ../dynamixel_driver/scripts

This command is just to navigate to the relevant ROS package.

$ python --port=[your_port_connection] old_id new_id

This script changes the ID value of the motor.

By default, all new motors are shipped with ID = 1.

USAGE: If your motor was connected to port '/dev/ttyACM0', and you wish to change the ID from default(1) to 2, then execute the following script:

$ roscd dynamixel_motor && cd ../dynamixel_driver/scripts

$ python --port=/dev/ttyACM0 1 2

You can connect your dynamixel to a PC, check the port it is connected to by running:

$ lsusb

Additionally, a 12V power supply is recommended on ROBOTIS' website.



edit flag offensive delete link more

Question Tools


Asked: 2016-05-21 10:52:14 -0500

Seen: 821 times

Last updated: May 21 '16