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

Reproduce Load controller + Fix with new API #1

Closed
wants to merge 2 commits into from

Conversation

saikishor
Copy link
Owner

Copy link
Collaborator

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me. Should we change all load_* tests to use empty parameter files?

And do we now have an explanation why the current rolling version failed with a correct yaml, as described with ros-controls#795?

@@ -43,6 +42,10 @@ controller_interface::CallbackReturn IMUSensorBroadcaster::on_init()
controller_interface::CallbackReturn IMUSensorBroadcaster::on_configure(
const rclcpp_lifecycle::State & /*previous_state*/)
{
if (!param_listener_->are_params_initialized())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this in the client code, or should we put this in the library?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it won't be needed for sure if you call the initialize_parameters on the first instance. If the get_params is called, then it throws an exception anyway.

We can remove the check if you prefer

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

Successfully merging this pull request may close these issues.

2 participants