Ask Your Question
0

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 change_id.py 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
0

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

Hello,

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 change_id.py --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 change_id.py --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.

Best,

R

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 288 times

Last updated: May 21 '16