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

[Question]: Example of using current based position control #32

Open
youliangtan opened this issue Mar 12, 2024 · 1 comment
Open

[Question]: Example of using current based position control #32

youliangtan opened this issue Mar 12, 2024 · 1 comment
Labels
question Further information is requested

Comments

@youliangtan
Copy link

Question

As the title said, i would like to have a "impedance control"-like behavior for the the interbotix arms. However given most of the use cases here are pos/vel control without having force information. Having a force control robot manipulator is very important for most contact-based manipulation tasks.

I noticed that I can also use current_based_position_control for such behavior. How should i configure the config.yaml file? Not sure if there's any advice on this.

AFAIK, the effort/current from dynamixels can be quite noisy, thus it might not work as well as intended. Would like to get some advice on this.

Robot Model

wx250s

Operating System

Ubuntu 20.04

ROS Version

ROS 1 Noetic

Additional Info

No response

@youliangtan youliangtan added the question Further information is requested label Mar 12, 2024
@lukeschmitt-tr
Copy link
Member

@youliangtan thanks for the question! Impedance control is something that we're interested in implementing at some point, but we currently don't have any documentation on it.

To enable current-based positon control, you would set the operating_mode parameter to current_based_position.

You can find information on the motor control loop for current-based position control here. In current-based position control mode, you can use the Goal_Current register to set current limits.

I'll keep this issue open until we have more details on this subject.

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

No branches or pull requests

2 participants