Skip to content

Fix/controller yaml defaults - #3478

Open
Eldgar wants to merge 7 commits into
moveit:mainfrom
Eldgar:fix/controller_yaml_defaults
Open

Eldgar wants to merge 7 commits into
moveit:mainfrom
Eldgar:fix/controller_yaml_defaults

Conversation

@Eldgar

@Eldgar Eldgar commented May 24, 2025 •

Copy link
Copy Markdown

Fix

When the user skips “Edit Selected,” Setup Assistant dropped
action_ns and default from moveit_controllers.yaml (see #3434).
This patch adds fallback values:

action_ns: follow_joint_trajectory
default: true

Test

Adds InjectedDefaultsWhenBlank to test_controllers.cpp to verify
those keys are always present.

Fixes #3434

@mergify

mergify Bot commented May 24, 2025

Copy link
Copy Markdown

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

@Eldgar
Eldgar changed the base branch from main to jazzy May 24, 2025 18:05
@mergify

mergify Bot commented May 24, 2025

Copy link
Copy Markdown

Please target the main branch for development, we will backport the changes to jazzy for you if approved and if they don't break API.

@Eldgar
Eldgar force-pushed the fix/controller_yaml_defaults branch from a354e8c to ecb1ba7 Compare May 24, 2025 18:21
@mergify

mergify Bot commented May 24, 2025

Copy link
Copy Markdown

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

@Eldgar
Eldgar changed the base branch from jazzy to main May 24, 2025 18:23
@Eldgar
Eldgar force-pushed the fix/controller_yaml_defaults branch from ecb1ba7 to d052d11 Compare May 24, 2025 18:29
@Eldgar
Eldgar force-pushed the fix/controller_yaml_defaults branch 3 times, most recently from ce4ef51 to 6301607 Compare May 24, 2025 21:52
@Eldgar
Eldgar force-pushed the fix/controller_yaml_defaults branch from 6301607 to a01de6b Compare May 24, 2025 21:54
@mikeferguson

Copy link
Copy Markdown
Contributor

I've triggered the CI - looks like the linter isn't happy with a bit of the whitespace

@codecov

codecov Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (c154f94) to head (3e40a88).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #3478       +/-   ##
==========================================
- Coverage   46.22%       0   -46.21%     
==========================================
  Files         726       0      -726     
  Lines       59503       0    -59503     
  Branches     7623       0     -7623     
==========================================
- Hits        27499       0    -27499     
+ Misses      31836       0    -31836     
+ Partials      168       0      -168     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

@github-actions github-actions Bot added the stale label Jul 23, 2025
@EzraBrooks EzraBrooks removed the stale label Dec 1, 2025
@rhaschke

Copy link
Copy Markdown
Contributor

Instead of manually modifying the YAML generation, the default values should be simply defined when adding controller configs. I adapted the PR appropriately.

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.

Fix joint trajectory controller duplicate key generation in setup assistant properly

4 participants