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

Fix bug for displaying all controllers #1259

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

fmrico
Copy link
Contributor

@fmrico fmrico commented Aug 21, 2024

Hi,

When using the rqt_joint_trajectory_controller, not all the controllers are shown on the controller button. This is because the list of limits was not accumulated, and only the last one was considered. This PR fixes this, showing all the valid controllers.

I hope it helps
Francisco

Signed-off-by: Francisco Martín Rico <[email protected]>
Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

thank you!

@saikishor
Copy link
Member

@fmrico can you apply the pre-commit formatting changes

Signed-off-by: Francisco Martín Rico <[email protected]>
@fmrico
Copy link
Contributor Author

fmrico commented Aug 22, 2024

Hi @saikishor !! Changes applied. Let's wait for CI

@bmagyar
Copy link
Member

bmagyar commented Aug 22, 2024

and let's see the CI after Christoph's updates ;)

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.40%. Comparing base (cdfc0af) to head (d4c28a9).
Report is 5 commits behind head on master.

Files Patch % Lines
...ajectory_controller/joint_trajectory_controller.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1259   +/-   ##
=======================================
  Coverage   80.39%   80.40%           
=======================================
  Files         105      105           
  Lines        9357     9356    -1     
  Branches      821      819    -2     
=======================================
  Hits         7523     7523           
- Misses       1557     1558    +1     
+ Partials      277      275    -2     
Flag Coverage Δ
unittests 80.40% <0.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
...ajectory_controller/joint_trajectory_controller.py 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

@bmagyar bmagyar merged commit 3be3fe9 into ros-controls:master Aug 26, 2024
17 checks passed
@bmagyar bmagyar added backport-iron This label should be used by maintaines only! Label triggers PR backport to ROS2 Iron. backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. labels Aug 26, 2024
mergify bot pushed a commit that referenced this pull request Aug 26, 2024
(cherry picked from commit 3be3fe9)

# Conflicts:
#	rqt_joint_trajectory_controller/rqt_joint_trajectory_controller/joint_trajectory_controller.py
mergify bot pushed a commit that referenced this pull request Aug 26, 2024
(cherry picked from commit 3be3fe9)

# Conflicts:
#	rqt_joint_trajectory_controller/rqt_joint_trajectory_controller/joint_trajectory_controller.py
RobertWilbrandt pushed a commit to RobertWilbrandt/ros2_controllers that referenced this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. backport-iron This label should be used by maintaines only! Label triggers PR backport to ROS2 Iron.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants