Rename modules "config" directory to "sample_config" or the config files to "sampler_*.params.yaml"? #3281
Replies: 2 comments 3 replies
-
@VRichardJP I think it might be a good idea. I'll ask other developers in TIER IV about it. Regarding the last option, I feel it's not good because it would be confusing when we sync parameters in Note: If we do this, we must update https://autowarefoundation.github.io/autoware-documentation/main/contributing/coding-guidelines/ros-nodes/parameters/. |
Beta Was this translation helpful? Give feedback.
-
There might be multiple levels to set those parameters: Node, launch, container, CLI. I think the ability to modify/override parameters at different levels is a modern practice that boosts agility. The lowest (node) level must be understood as default values. I am not sure whether that should be specified explicitly by the filename (but could be). When levels and merge order are well-defined, the confusion would be much less though. Hence, I am up for not giving too much importance to filenames, but standardizing individual parameter names and a well-defined overriding mechanism at launch. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems launch parameter files now all reside in the
autoware_launch/config
directory, while theconfig/*.param.yaml
files in autoware modules are nothing but examples, not meant to be modified.If that is the case, could we rename the modules config directory or the modules config files to reflect that and avoid any confusion?
For example, there are 2
ndt_scan_matcher.param.yaml
files, but the one that matters is inautoware_launch/config
. We could:autoware.universe/.../config/ndt_scan_matcher.launch.xml
->autoware.universe/.../sample_config/ndt_scan_matcher.launch.xml
orautoware.universe/.../config/ndt_scan_matcher.launch.xml
->autoware.universe/.../config/sample_ndt_scan_matcher.launch.xml
orautoware.universe/.../config/ndt_scan_matcher.launch.xml
, like/!\ This file is for default configuration, and is overridden in autoware_launch /!\
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions