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

Add admittance controller #370

Merged
merged 128 commits into from
Oct 10, 2022
Merged

Conversation

pac48
Copy link
Contributor

@pac48 pac48 commented Jun 28, 2022

This PR adds an admittance controller that conforms to the chained controller interface. Additionally, this depends on a PR to control_msgs.

@mergify
Copy link
Contributor

mergify bot commented Aug 27, 2022

This pull request is in conflict. Could you fix it @pac48?

@AndyZe
Copy link
Contributor

AndyZe commented Sep 23, 2022

@destogl I can't respond to some of your individual comments because they weren't left as part of a github review. I guess I'll do it here instead:

I would still go without temporary variables. They are not necessary if used only once.

Something like this Eigen::Matrix<double, 3, 3> rot_world_sensor = has a fixed size so allocating it usually would not require any extra overhead. It's allocated in the same step as the rest of the stack memory for this function. It does help with readability though. Explanation from Gijs here:

ros-controls/ros2_control#668 (comment)

@nbbrooks
Copy link
Contributor

nbbrooks commented Oct 3, 2022

It looks like these videos Paul took of the admittance controller in action on a UR-5e haven't been shared here yet - enjoy!

Copy link

@sjahr sjahr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this PR with the admittance controller demos from ros-controls/ros2_control_demos#206 and it build and worked well for me 👍


#include <string>

namespace ros2_control_test_assets
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the assets' folder in the ros2_control repository.

@destogl destogl merged commit 9be3bfe into ros-controls:master Oct 10, 2022
@destogl
Copy link
Member

destogl commented Oct 11, 2022

@Mergifyio backport humble

@mergify
Copy link
Contributor

mergify bot commented Oct 11, 2022

backport humble

❌ No backport have been created

  • Backport to branch humble failed: Branch not found

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

Successfully merging this pull request may close these issues.

9 participants