Closed edwardribbit closed 4 months ago
Update:
I'm seeing something bizarre
The scenario: The parameter is declared as integer The definition is a double It complains about setting it as double when it expects an integer I change it to an integer It complains about setting it to an integer when it expects a double
How is this possible?
@edwardribbit Can you post your parameters.yaml
file used by generate_parameter_library
to generate the code? Or at least post the section you think is causing the issue.
When I change a parameter declaration file, colcon clean, and rebuild the package, it seems like the changes have no effect.
'x' has invalid type: Wrong parameter type, parameter {x} is of type {double}, setting it to {integer} is not allowed.
I change the parameter type from double to int in the declaration file, clean, build, and rerun but this error still appears. I even delete the build and install folder.
How can I clean my environment to update the parameter declaration?