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

Enable allowed_execution_duration_scaling and allowed_goal_duration_margin for each controller (backport #3335) #3337

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Feb 12, 2025

Description

Re-enabling the functionality to set allowed_execution_duration_scaling and allowed_goal_duration_margin for each controller, which has been commented out since moveit2 was created.

Example of usage

In moveit_controllers.yaml:

trajectory_execution:
  allowed_execution_duration_scaling: 1.2 # Default global value for all controllers
  allowed_goal_duration_margin: 0.5 # Default global value for all controllers

...

moveit_simple_controller_manager:
  controller_names:
    - panda_arm_controller

  panda_arm_controller:
    type: FollowJointTrajectory
    allowed_execution_duration_scaling: 5.0 # Overrides the global value for this controller
    allowed_goal_duration_margin: 1.0 # Overrides the global value for this controller
    ...

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

This is an automatic backport of pull request #3335 done by [Mergify](https://mergify.com).

…argin for each controller (#3335)

(cherry picked from commit 7db0bd4)
@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.41%. Comparing base (acdf211) to head (03e6885).
Report is 1 commits behind head on humble.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           humble    #3337      +/-   ##
==========================================
+ Coverage   51.41%   51.41%   +0.01%     
==========================================
  Files         382      382              
  Lines       31892    31892              
==========================================
+ Hits        16393    16395       +2     
+ Misses      15499    15497       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sea-bass sea-bass requested a review from sjahr February 12, 2025 04:01
@sjahr sjahr merged commit bf01f4c into humble Feb 12, 2025
7 checks passed
@sjahr sjahr deleted the mergify/bp/humble/pr-3335 branch February 12, 2025 11:54
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.

3 participants