ros2_control icon indicating copy to clipboard operation
ros2_control copied to clipboard

Add Saturation Joint Limiter that uses clamping method

Open destogl opened this issue 1 year ago • 25 comments

Add basic interface for joint limiting plugins and simple joint limiter that can always be used and it is installed per default.

destogl avatar Mar 16 '23 14:03 destogl

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

mergify[bot] avatar Mar 16 '23 14:03 mergify[bot]

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

mergify[bot] avatar Mar 16 '23 21:03 mergify[bot]

@destogl please consider this comment: https://github.com/ros-controls/ros2_control/pull/977#pullrequestreview-1353200820

destogl avatar Mar 23 '23 16:03 destogl

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

mergify[bot] avatar Apr 02 '23 07:04 mergify[bot]

Codecov Report

Attention: Patch coverage is 73.54497% with 150 lines in your changes missing coverage. Please review.

Project coverage is 86.94%. Comparing base (f04443f) to head (33860f9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #971      +/-   ##
==========================================
- Coverage   87.81%   86.94%   -0.88%     
==========================================
  Files         102      107       +5     
  Lines        8732     9306     +574     
  Branches      783      863      +80     
==========================================
+ Hits         7668     8091     +423     
- Misses        789      899     +110     
- Partials      275      316      +41     
Flag Coverage Δ
unittests 86.94% <73.54%> (-0.88%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
.../include/joint_limits/joint_saturation_limiter.hpp 100.00% <100.00%> (ø)
...oint_limits/test/test_joint_saturation_limiter.hpp 96.55% <96.55%> (ø)
...oint_limits/test/test_joint_saturation_limiter.cpp 90.95% <90.95%> (ø)
...s/include/joint_limits/joint_limiter_interface.hpp 52.00% <52.00%> (ø)
joint_limits/src/joint_saturation_limiter.cpp 85.49% <85.49%> (ø)
...its/include/joint_limits/joint_limits_rosparam.hpp 59.42% <1.26%> (-29.02%) :arrow_down:

... and 1 file with indirect coverage changes

codecov-commenter avatar Apr 13 '23 13:04 codecov-commenter

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

mergify[bot] avatar Apr 14 '23 17:04 mergify[bot]

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

mergify[bot] avatar May 17 '23 23:05 mergify[bot]

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

mergify[bot] avatar Jun 14 '23 18:06 mergify[bot]

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

mergify[bot] avatar Jul 09 '23 20:07 mergify[bot]

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

mergify[bot] avatar Aug 07 '23 17:08 mergify[bot]

Thanks for the great work :clap:

saikishor avatar Aug 31 '23 21:08 saikishor

Thanks for polishing this out, but I still ask for some description/documentation of the simple_joint_limiter 🙊

No problem, how would you like to have this. in .rst file of in the code?

destogl avatar Sep 12 '23 17:09 destogl

Thanks for polishing this out, but I still ask for some description/documentation of the simple_joint_limiter 🙊

No problem, how would you like to have this. in .rst file of in the code?

I'd say in the code because it can't be used out of the box without coding into the controller -> and it will be published in the API docs then. controllers from ros2_controllers using this in the future can then link to the API docs.

christophfroehlich avatar Sep 12 '23 18:09 christophfroehlich

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

mergify[bot] avatar Oct 03 '23 18:10 mergify[bot]

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

mergify[bot] avatar Nov 14 '23 06:11 mergify[bot]

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

mergify[bot] avatar Nov 30 '23 18:11 mergify[bot]

Steps to finish this up:

  1. Rename class and files from SimpleJointLimiter to JointStaturationLimiter.

destogl avatar Dec 07 '23 16:12 destogl

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

mergify[bot] avatar Dec 12 '23 16:12 mergify[bot]

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

mergify[bot] avatar Jan 22 '24 12:01 mergify[bot]

RHEL workflow fails because generate_parameter_library seems to be not released for RHEL: This project is currently disabled @tylerjw was this disabled on purpose?

To fix this here, shall we add it to ros2_controllers.rolling.repos?

christophfroehlich avatar Jan 22 '24 18:01 christophfroehlich

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

mergify[bot] avatar Jan 23 '24 14:01 mergify[bot]

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

mergify[bot] avatar Jan 25 '24 18:01 mergify[bot]

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

mergify[bot] avatar Feb 12 '24 18:02 mergify[bot]

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

mergify[bot] avatar Apr 29 '24 12:04 mergify[bot]

Hey @bmagyar @destogl

The PR #1526 also has the changes from this PR and rebased and all. Should we aim to get that merged, so we can have the limiters in ResourceManager?

saikishor avatar Jul 03 '24 17:07 saikishor

Merging as agreed in WG Meeting yesterday.

destogl avatar Jul 04 '24 08:07 destogl