Skip to content

Document node parameters and switch to config-file based launch - #8

Merged
mmmarinho merged 1 commit into
jazzyfrom
feature/node-parameters-and-config-launch
Aug 25, 2026
Merged

Document node parameters and switch to config-file based launch#8
mmmarinho merged 1 commit into
jazzyfrom
feature/node-parameters-and-config-launch

Conversation

@mmmarinho

Copy link
Copy Markdown
Member

Summary

Applies the standard "ROS 2 Nodes & Parameters" README section and converts the parameter-test launch file to the config-file-based pattern used by sas_robot_driver_ur.

Changes

  • Converts sas_common_ros2_parameter_test_launch.py to load parameters from a YAML configuration file via a config_file launch argument (previously an inline parameter dict).
  • Adds config/config.yaml with one block keyed by the effective node name sas_common_ros2_parameter_test, documenting all eight vector parameters (the four ["EMPTY_LIST"] markers and four representative non-empty vectors).
  • Adds a ROS 2 Nodes & Parameters README section with a full parameter table.
  • Installs the config/ directory into the package share directory.

Preserved behavior

  • The launch filename and node name are unchanged to avoid breaking downstream references (e.g. sas_force_sensor_bota's docker compose).
  • The config values are byte-for-byte equivalent to the previous inline dict, so the EMPTY_LIST / typed-array parsing exercised by the node is unchanged.

Verification

  • Launch file py_compiles cleanly; the YAML config parses and contains all eight expected parameter keys.
  • Confirmed against sas::get_ros_parameter that typed arrays (integer/double/bool) pass straight through and the ["EMPTY_LIST"] string-array markers trigger the empty-list path — so the config-file values behave identically to the previous inline dict.

Note: this PR was created by an AI agent (OpenHands) on behalf of the user.

- Convert the parameter test launch file to load parameters from a YAML
  configuration file (config_file launch argument) instead of an inline
  parameter dict.
- Add config/config.yaml with one block keyed by the effective node name
  'sas_common_ros2_parameter_test', documenting all eight vector parameters
  (the four EMPTY_LIST markers and four representative non-empty vectors).
- Add a 'ROS 2 Nodes & Parameters' README section with a parameter table.
- Install the config/ directory into the package share directory.
- Preserve the launch filename and node name to avoid breaking downstream
  references.

Co-authored-by: openhands <openhands@all-hands.dev>

@mmmarinho mmmarinho left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

👍

@mmmarinho
mmmarinho marked this pull request as ready for review August 25, 2026 02:38
@mmmarinho
mmmarinho merged commit 3c3a402 into jazzy Aug 25, 2026
2 checks passed
@mmmarinho
mmmarinho deleted the feature/node-parameters-and-config-launch branch August 25, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants