-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
I would like improved error messages for missing parameters. Currently I only see "No parameter value set". But I don't know which parameter this applies to. I'm trying to configure Nav2, so this is somewhat of an issue (...).
I tried to find my way around this code base:
In parameter_map.cpp the method parameter_map_from calls parameter_value_from.
That method can throw rclcpp::exceptions::InvalidParameterValueException. The description "No parameter value set" does not describe which parameter was invalid. That could be fixed: In parameter_map_from the c_param_name is known.
Does this sound like a feasible improvement?
Motivation
I would like to improve debugging of missing parameters.
Design / Implementation Considerations
No response
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request