-
Notifications
You must be signed in to change notification settings - Fork 650
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
feat(surround_obstacle_checker): integrate generate_parameter_library #8719
feat(surround_obstacle_checker): integrate generate_parameter_library #8719
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
@@ -0,0 +1,67 @@ | |||
surround_obstacle_checker_node: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mitukou1109 Is it possible to create this yaml file under config
dir...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it confusing if it is in the same directory as the original parameter file? The file is just for code generation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 OK. Let's use param dir for now.
private: | ||
rcl_interfaces::msg::SetParametersResult onParam( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the alternative function of onParam
...? Or, the pickNik lib can automatically update the value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ParamListener
adds a callback for each parameter internally and thus we don't have to care about updating its value, but we still need to call get_params()
to acquire the latest values as done here.
pointcloud: | ||
enable_check: | ||
type: bool | ||
default_value: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mitukou1109 please remove default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed: fb362a9
...ning/autoware_surround_obstacle_checker/param/surround_obstacle_checker_node_parameters.yaml
Show resolved
Hide resolved
...ning/autoware_surround_obstacle_checker/param/surround_obstacle_checker_node_parameters.yaml
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8719 +/- ##
==========================================
- Coverage 24.13% 24.13% -0.01%
==========================================
Files 1407 1407
Lines 102317 102315 -2
Branches 38830 38830
==========================================
- Hits 24699 24693 -6
- Misses 75045 75048 +3
- Partials 2573 2574 +1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
fb362a9
to
c48cf4f
Compare
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Good job.
…autowarefoundation#8719) * add generate_parameter_library to package Signed-off-by: mitukou1109 <mitukou1109@gmail.com> * add parameter file generator script Signed-off-by: mitukou1109 <mitukou1109@gmail.com> * use mapped parameters Signed-off-by: mitukou1109 <mitukou1109@gmail.com> * integrate generate_parameter_library Signed-off-by: mitukou1109 <mitukou1109@gmail.com> * style(pre-commit): autofix * check to use dynamic object Signed-off-by: mitukou1109 <mitukou1109@gmail.com> * remove default values Signed-off-by: mitukou1109 <mitukou1109@gmail.com> * fix variable shadowing Signed-off-by: mitukou1109 <mitukou1109@gmail.com> --------- Signed-off-by: mitukou1109 <mitukou1109@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: emuemuJP <k.matsumoto.0807@gmail.com>
Description
This PR enables surround_obstacle_checker to handle parameters using generate_parameter_library.
How was this PR tested?
Psim
Screencast.from.2024.09.03.11.49.01.webm
Evaluator: https://evaluation.tier4.jp/evaluation/reports/36978351-88c5-59df-967f-03ff39440cae?project_id=prd_jt
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.