rclpy.validate_parameter_name module

rclpy.validate_parameter_name.validate_parameter_name(name: str) bool

Validate a given parameter name, and raise an exception if invalid.

The name does not have to be fully-qualified and is not expanded.

If the name is invalid then rclpy.exceptions.InvalidParameterException will be raised.


str (name) – parameter name to be validated.


InvalidParameterException: when the name is invalid.