Should rclcpp::Parameter throw if trying to stringify an unset parameter?
Open
@brawner is already working on this.
Since Sep 29, 2020.
question
- Dominant language
- C++
- Stars
- 805
- Forks
- 564
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 27
Description
This is a follow-up issue to a comment left by @clalancette over at https://github.com/ros2/rclcpp/pull/1344.
Currently rclcpp::Parameter will convert an unset parameter into a string if requested (either by to_string or using the << operator). Should this be expected or should it throw some sort of exception?
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.
Assessment
This issue has not been assessed yet.