-
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
refactor(motion_velocity_smoother): load smoother params from node instances #609
refactor(motion_velocity_smoother): load smoother params from node instances #609
Conversation
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #609 +/- ##
==========================================
- Coverage 10.76% 0.00% -10.77%
==========================================
Files 712 10 -702
Lines 50569 1776 -48793
Branches 6572 0 -6572
==========================================
- Hits 5445 0 -5445
+ Misses 40717 1776 -38941
+ Partials 4407 0 -4407
Continue to review full report at Codecov.
|
@mkuri |
Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Makoto Kurihara <mkuri8m@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.
…stances (autowarefoundation#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (autowarefoundation#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (tier4#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (tier4#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (tier4#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…stances (tier4#609) * Add constructor for setting params from node instance Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change num_resample type from double to int Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Remove debug std outputs Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Shorten parameter variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Apply other smothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Change how to construct smoothers Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix * Remove extra constructor Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * Refactor param variables Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Description
When using smoother from other nodes, the parameter structure had to be generated at each node, which was not easy to maintain.
Modified to pass node instances to the constructor of smoother and set parameters in the constructor of each smoother.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.