-
Notifications
You must be signed in to change notification settings - Fork 1
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
Consolidate parameters / configs #79
Comments
In particular, all config handling should be refactored at some point to use the ConfigProvider. This makes it possible to use configs in libraries without explicitly relying on ROS. An example looks like this here: // Set up configuration provider.
ConfigProvider::Ptr cfg =
std::dynamic_pointer_cast<ConfigProvider>(std::make_shared<RosConfigProvider>(nh_private_));
// Create construction strategy
auto construction_strategy = std::make_shared<offset_surface::VertexNormalStrategy>(cfg); |
Thanks for the remarks. |
I think this does not only apply to Marcs code btw, we should clean up some other modules as well. |
@hermannsblum thought so too. I am currently cleaning up some of my code and will next week have a look on how we could modularize and consolidate the core a bit. I'll add a new general issue about this. Otherwise it'll grow out of our hands :) |
There are a lot of config files and launch file parameters flowing around. An effort for cleaning this up would be nice (nice-to-have!).
The text was updated successfully, but these errors were encountered: