ros2 pkg create: Add --message and --service
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 262
- Forks
- 228
- Avg merge
- 23h 15m
- Merged PRs (30d)
- 12
Description
Description
It would be nice if ros2 pkg create would also have --message and --service in addition to --node-name and --library-name.
Motivation
It would be great if pkg create could generate a properly configured package with messages and services.
Design / Implementation Considerations
When --message or --service is used, package type has to be ament_cmake.
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the ros2 pkg create command and trace how the existing --node-name and --library-name options generate package contents. Inspect the package-generation path and ament_cmake handling first. Done means --message and --service generate a properly configured package, with package type constrained to ament_cmake.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100