Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing parameter declaration #189

Closed
edwardribbit opened this issue Mar 28, 2024 · 2 comments
Closed

Changing parameter declaration #189

edwardribbit opened this issue Mar 28, 2024 · 2 comments

Comments

@edwardribbit
Copy link

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?

@edwardribbit
Copy link
Author

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?

@pac48
Copy link
Collaborator

pac48 commented Mar 29, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants