Skip to content

Add config directory#149

Merged
rafal-gorecki merged 8 commits intojazzyfrom
jazzy-dev-config-dir
Nov 6, 2025
Merged

Add config directory#149
rafal-gorecki merged 8 commits intojazzyfrom
jazzy-dev-config-dir

Conversation

@rafal-gorecki
Copy link
Contributor

@rafal-gorecki rafal-gorecki commented Nov 6, 2025

bump::minor

  • Logic for loading parameters from a different path, containing the same configuration file structure as the rosbot_ros repository. This is a useful feature for editing parameters from within a snap.
  • A script create_config_dir.py for creating a configuration folder has also been added.

declare_robot_model_arg,
declare_mecanum_arg, # mecanum base on robot_model arg
declare_controller_config_arg, # controler_config base on mecanum and robot_model arg
declare_config_dir_arg, # controler_config base on mecanum and robot_model arg
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
declare_config_dir_arg, # controler_config base on mecanum and robot_model arg
declare_config_dir_arg, # controller_config base on mecanum and robot_model arg

Copy link
Contributor Author

@rafal-gorecki rafal-gorecki Nov 6, 2025

Choose a reason for hiding this comment

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

The default value do not depend on mecanum and robot_model, so I order it alphabetically

config_rosbot_description_dir, "config", robot_model, components_file
)

if robot_model != "rosbot_xl" and configuration != "basic":
Copy link
Contributor

Choose a reason for hiding this comment

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

Disallows custom config for base rosbot model, even though this PR introduces rosbot_description/config/rosbot/custom.yaml.

rafal-gorecki and others added 2 commits November 6, 2025 13:08
Co-authored-by: husarafal <rafal.zelazko@husarion.com>
@rafal-gorecki rafal-gorecki merged commit 866fbae into jazzy Nov 6, 2025
4 checks passed
@husarion-inframan
Copy link

Backport failed for humble, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin humble
git worktree add -d .worktree/backport-149-to-humble origin/humble
cd .worktree/backport-149-to-humble
git switch --create backport-149-to-humble
git cherry-pick -x 866fbae410974e0d349680545517136186e2f323

@rafal-gorecki rafal-gorecki deleted the jazzy-dev-config-dir branch November 6, 2025 12:45
rafal-gorecki added a commit that referenced this pull request Nov 6, 2025
rafal-gorecki added a commit that referenced this pull request Nov 6, 2025
rafal-gorecki added a commit that referenced this pull request Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants