Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to initialize the dynamixel motor settings #12

Closed
robograffitti opened this issue Oct 13, 2017 · 2 comments
Closed

How to initialize the dynamixel motor settings #12

robograffitti opened this issue Oct 13, 2017 · 2 comments

Comments

@robograffitti
Copy link
Contributor

Accidentally, I overwrote the servo motor settings with this script:
https://github.com/ROBOTIS-JAPAN-GIT/dynamixel_mikata_arm/blob/master/install.sh
https://github.com/ROBOTIS-JAPAN-GIT/dynamixel_mikata_arm/blob/master/mikata_arm_toolbox/src/dxl_setup.cpp

The main cause seems to be the second program. This program uses dxl_writeAll and dxl_write to change the servo motor settings, so it should overwrite the default motor settings.

Does any of the OP3 repositories have this kind of script which initialize the servo motor setting? Or, is there any document which explain about the parameters which should be set for the motors?

@kaym9n
Copy link
Member

kaym9n commented Oct 16, 2017

In the case of OP3, when op3_manager starts, dynamixel settings are loaded from yaml file.
(dxl_init yaml : https://github.com/ROBOTIS-GIT/ROBOTIS-OP3/blob/master/op3_manager/config/dxl_init_OP3.yaml)

the format of yaml is like below.

joint_name_1 : 
  control_table_item : value
  control_table_item : value
  ...
joint_name_2 : 
  control_table_item : value
  control_table_item : value
  ...

you can refer to the device file about the control_table_item.

@robograffitti
Copy link
Contributor Author

I could fix OP3. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants