ros2 / ros2/ros2cli

FR: ros2 pkg create can use different template

Open
#295 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

Feature request

Feature description

ros2 pkg create now uses c++/cmake/package.xml template shipped with this package. It'll be nice if we can specify the path to the template so that the new package contains our code that should be shared by every package.

Implementation considerations
  1. Add a test file
  2. Add some contents as placeholder to the libraries and executable source code.

Thx

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ros2 pkg create entry point and its current C++/CMake/package.xml template references, then inspect the existing test layout. Done means the command accepts a template path and generated packages include the requested template contents, with tests covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.