You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configuration discovery accepts malformed planner and controller filenames #4020
Automatic planner and controller discovery accepts malformed filenames because the regular expressions use an unescaped dot in the YAML extension and allow empty names.
Reproduction
Place valid_planning.yaml and bogus_planning-yaml in a configuration package, then call planning_pipelines(load_all=False). Similarly, place valid_controllers.yaml and bogus_controllers-yaml in the config directory and call trajectory_execution().
Expected behavior
Only files with nonempty names and literal _planning.yaml or _controllers.yaml suffixes should be discovered.
Actual behavior
The bogus files produce nonexistent planner paths or spurious controller selection ambiguity. Files named _planning.yaml and _controllers.yaml also cause failures.
Environment
Reproduced on main (5399d29), Python 3.12 and Jazzy launch Python dependencies.
Activity