Skip to content

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.

@pac48 pac48 force-pushed the add-admittance-controller branch from a1168dd to 82c0018 Compare August 24, 2022 23:32
@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