Robotics StackExchange | Archived questions

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

Dear all,

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

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

Asked by baozhang on 2016-05-21 10:52:14 UTC

Comments

Answers

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

Asked by RaghuvirShirodkar on 2019-04-06 05:20:27 UTC

Comments