After some research, I found that there were some name validation functions in rmw:
However, I could not find any sanitization functions in rmw, rclcpp, etc.
Is there anyone who knows whether such functions are implemented in the core packages?
If not, what would be the best package to add these functions to?
P.S. during making the PR, I also found that there is no concrete specification about what characters should or should not be used in parameter names. Something has to be done for this issue too…
Is there anyone who knows whether such functions are implemented in the core packages?
If not, what would be the best package to add these functions to?
as you mentioned, rmw does have some functions, but not exposed to client layer.
probably we can have those aligned with rmw_validate_node_name, and bring those up to client layer via rcl as utility functions?
I also found that there is no concrete specification about what characters should or should not be used in parameter names. Something has to be done for this issue too…