Skip to content
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(autoware_velocity_smoother): rework parameters #8298

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

batuhanbeytekin
Copy link
Member

Description

Implement the ROS Node configuration layout described in https://github.com/orgs/autowarefoundation/discussions/3371

Tests performed

Package built and launch locally.

Effects on system behavior

More reliable and faster parameter configuration file creation.

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@batuhanbeytekin batuhanbeytekin added type:documentation Creating or refining documentation. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) tag:deploy-docs Mark for deploy-docs action generation. (used-by-ci) DevOps Dojo: ROS Node Conf Related to Open AD Kit WG tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) labels Jul 31, 2024
@batuhanbeytekin batuhanbeytekin self-assigned this Jul 31, 2024
Copy link

github-actions bot commented Jul 31, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.14%. Comparing base (01d9d67) to head (a060a63).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8298      +/-   ##
==========================================
- Coverage   26.16%   26.14%   -0.02%     
==========================================
  Files        1302     1306       +4     
  Lines       96917    96964      +47     
  Branches    39150    39152       +2     
==========================================
  Hits        25354    25354              
- Misses      68900    68947      +47     
  Partials     2663     2663              
Flag Coverage Δ *Carryforward flag
differential 23.02% <ø> (?)
total 26.16% <ø> (ø) Carriedforward from 01d9d67

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@batuhanbeytekin batuhanbeytekin force-pushed the refactor/autoware_velocity_smoother branch from 2df9f45 to 702dcaa Compare August 22, 2024 08:44
@oguzkaganozt oguzkaganozt force-pushed the refactor/autoware_velocity_smoother branch from 9a9e332 to fe6045b Compare August 22, 2024 09:16
@batuhanbeytekin
Copy link
Member Author

Hi @TakaHoribe, @go-sakayori, @mkuri, @rej55, @satoshi-ota,
One approval is needed to merge this PR. Could you please review it?

planning/autoware_velocity_smoother/README.md Outdated Show resolved Hide resolved
Comment on lines 13 to 14
ego_nearest_dist_threshold: 0.3 # threshold to find the nearest point on the trajectory [m]
ego_nearest_yaw_threshold: 1.046 # threshold to find the nearest point on the trajectory [rad]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to split these two parameters as default_nearest_search.param.yaml under config folder?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These parameters are meant to be managed as common parameter among different nodes and is better to be managed as a separate file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to split these two parameters as default_nearest_search.param.yaml under config folder?

I will make the necessary updates as you said. Thanks for your feedback.

@mitsudome-r mitsudome-r self-requested a review September 19, 2024 14:27
@batuhanbeytekin batuhanbeytekin force-pushed the refactor/autoware_velocity_smoother branch from fe6045b to 8f849ac Compare September 19, 2024 14:32
curvature_calculation_distance: 5.0 # distance of points while curvature is calculating for the steer rate and lateral acceleration limit [m]
ego_nearest_dist_threshold: 0.3 # threshold to find the nearest point on the trajectory [m]
ego_nearest_yaw_threshold: 1.046 # threshold to find the nearest point on the trajectory [rad]
algorithm_type: "JerkFiltered" # algorithm type for velocity smoother. "JerkFiltered" or "L2" or "Linf" or "Analytical"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change this to the following code so that the argument passed to the launch file is used instead?

Suggested change
algorithm_type: "JerkFiltered" # algorithm type for velocity smoother. "JerkFiltered" or "L2" or "Linf" or "Analytical"
algorithm_type: $(var velocity_smoother_type) # algorithm type for velocity smoother. "JerkFiltered" or "L2" or "Linf" or "Analytical"

@batuhanbeytekin batuhanbeytekin force-pushed the refactor/autoware_velocity_smoother branch from e67438b to 847885a Compare September 20, 2024 11:24
@oguzkaganozt oguzkaganozt force-pushed the refactor/autoware_velocity_smoother branch from 8a3d44f to a060a63 Compare October 3, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) DevOps Dojo: ROS Node Conf Related to Open AD Kit WG tag:deploy-docs Mark for deploy-docs action generation. (used-by-ci) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants