ros2 / ros2/rclcpp

Parameter doesn't allow setting of name or value

Open
#238 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog enhancement
Dominant language
C++
Stars
805
Forks
564
Avg merge
1d 17h
Merged PRs (30d)
27

Description

The ParameterVariant class requires the name and value (and thus type) of the variable to be passed to the constructor. To make it easier to use, we should add set_name() and set_value() methods.

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

Use the ParameterVariant class as the entry point and inspect how its constructor currently receives the variable name, value, and type. Done means adding set_name() and set_value() methods so callers can configure those properties after construction.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.