-
Notifications
You must be signed in to change notification settings - Fork 462
Add missing controller async parameter declarations #3481
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,6 +100,13 @@ return_type ControllerInterfaceBase::init( | |
| auto_declare<int>("update_rate", static_cast<int>(params.controller_manager_update_rate)); | ||
| auto_declare<bool>("is_async", false); | ||
| auto_declare<int>("thread_priority", -100); | ||
|
destogl marked this conversation as resolved.
Outdated
|
||
|
|
||
| auto_declare<int>("async_parameters.thread_priority", 50); | ||
| auto_declare<std::string>("async_parameters.scheduling_policy", "synchronized"); | ||
| auto_declare<std::vector<int64_t>>("async_parameters.cpu_affinity", std::vector<int64_t>()); | ||
| auto_declare<int>("async_parameters.execution_rate", impl_->ctrl_itf_params_.update_rate); | ||
| auto_declare<bool>("async_parameters.wait_until_initial_trigger", true); | ||
| auto_declare<bool>("async_parameters.print_warnings", true); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe, it is wiser to add declare_parameters method to the asyncParams and then handle it in the realtime_tools, this way any new parameter need not be reflected again and again here
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, that is a good catch. Added a commit for this |
||
| } | ||
| catch (const std::exception & e) | ||
| { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.