Issue Type
Generated by Generative AI
No response
Distribution
all
Description
The very first usage most people see in https://docs.ros.org/en/rolling/Tutorials/Beginner-Client-Libraries/Using-Parameters-In-A-Class-CPP.html
is really complicated and verbose.
Most nodes, most of the time, get their read-only params up front a single time, and there is a much better syntax for that than is suggested in the introductory materials
auto param_value = declare_parameter(...);
Affected Pages/Sections
No response
Screenshots or Examples (if applicable)
No response
Suggested Fix
No response
Additional Context
No response
Issue Type
Generated by Generative AI
No response
Distribution
all
Description
The very first usage most people see in https://docs.ros.org/en/rolling/Tutorials/Beginner-Client-Libraries/Using-Parameters-In-A-Class-CPP.html
is really complicated and verbose.
Most nodes, most of the time, get their read-only params up front a single time, and there is a much better syntax for that than is suggested in the introductory materials
Affected Pages/Sections
No response
Screenshots or Examples (if applicable)
No response
Suggested Fix
No response
Additional Context
No response