Skip to content

Document node parameters and add config-file based launch - #5

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

Document node parameters and add config-file based launch#5
mmmarinho merged 1 commit into
jazzyfrom
feature/node-parameters-and-config-launch

Conversation

@mmmarinho

Copy link
Copy Markdown
Contributor

Summary

Applies the standard "ROS 2 Nodes & Parameters" README section and adds a config-file-based launch for the example node.

  • Adds launch/sinusoidal_force_sensor_launch.py for the sinusoidal_force_sensor example node, loading parameters from config/config.yaml via name + config_file launch arguments.
  • Adds config/config.yaml with a parameter block for the example node. The node currently declares no ROS parameters (amplitude/frequency/tick rate are hardcoded constants in src/examples/sinusoidal_force_sensor.cpp), so the block is an empty placeholder kept so the node follows the standard config-file pattern.
  • Adds a ROS 2 Nodes & Parameters README section documenting the node and noting it has no parameters.
  • Installs the launch/ and config/ directories into the package share directory.

Verification

  • python3 -m py_compile launch/sinusoidal_force_sensor_launch.py passes.
  • config/config.yaml parses.
  • Parameter cross-check: the example node declares no parameters, confirmed against the source.

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

- Add launch/sinusoidal_force_sensor_launch.py for the example
  sinusoidal_force_sensor node, loading parameters from config/config.yaml
  (name + config_file launch arguments).
- Add config/config.yaml with a parameter block for the example node. The
  node declares no ROS parameters today (constants are hardcoded), so the
  block is an empty placeholder kept for the standard config-file pattern.
- Add a 'ROS 2 Nodes & Parameters' section to the README documenting the
  node and noting it has no parameters.
- Install the launch and config directories into the package share dir.

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

@mmmarinho mmmarinho left a comment

Copy link
Copy Markdown
Contributor 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:41
@mmmarinho
mmmarinho merged commit 485d17f into jazzy Aug 25, 2026
6 checks passed
@mmmarinho
mmmarinho deleted the feature/node-parameters-and-config-launch branch August 25, 2026 02:41
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.

2 participants