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_obstacle_stop_planner): rework parameters #7795

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

Conversation

Ariiees
Copy link

@Ariiees Ariiees commented Jul 2, 2024

Description

Implement the ROS Node configuration layout for the obstacle_stop_planner package.

Test performed

  1. Build colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to autoware_obstacle_stop_planner
  2. Launch ros2 launch autoware_obstacle_stop_planner obstacle_stop_planner.launch.xml

Notes for reviewers

None

Interface Changes

  1. Create 3 schema.json files
  2. Update README.md

Effects on system behavior

None

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.

Signed-off-by: Ariiees <[email protected]>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Jul 2, 2024
Copy link

github-actions bot commented Jul 2, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@mitsudome-r mitsudome-r added 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) labels Jul 4, 2024
Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.36%. Comparing base (d5882c9) to head (0f29834).
Report is 34 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7795      +/-   ##
==========================================
- Coverage   28.37%   28.36%   -0.01%     
==========================================
  Files        1584     1585       +1     
  Lines      115601   115622      +21     
  Branches    49286    49289       +3     
==========================================
+ Hits        32799    32801       +2     
- Misses      73845    73864      +19     
  Partials     8957     8957              
Flag Coverage Δ *Carryforward flag
differential 4.43% <ø> (?)
total 28.37% <ø> (ø) Carriedforward from d5882c9

*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.

"properties": {
"chattering_threshold": {
"type": "number",
"description": "INSERT_DESCRIeven if the obstacle disappears, the stop judgment continues for chattering_threshold [s]PTION",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"description": "INSERT_DESCRIeven if the obstacle disappears, the stop judgment continues for chattering_threshold [s]PTION",
"description": "even if the obstacle disappears, the stop judgment continues for chattering_threshold [s]",

"enable_slow_down": {
"type": "boolean",
"description": "whether to use slow down planner [-]",
"default": "False"
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 make it to lower case?
It seems it causes some error when converting to markdown if false/true are capitalized.

Suggested change
"default": "False"
"default": "false"

"enable_z_axis_obstacle_filtering": {
"type": "boolean",
"description": "filter obstacles in z axis (height) [-]",
"default": "True"
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 make it to lower case?
It seems it causes some error when converting to markdown if false/true are capitalized.

Suggested change
"default": "True"
"default": "true"

"enable_stop_behind_goal_for_obstacle": {
"type": "boolean",
"description": "enable extend trajectory after goal lane for obstacle detection",
"default": "True"
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 make it to lower case?
It seems it causes some error when converting to markdown if false/true are capitalized.

Suggested change
"default": "True"
"default": "true"

"consider_constraints": {
"type": "boolean",
"description": "set 'True', if no decel plan found under jerk/dec constrains, relax target slow down vel [-]",
"default": "False"
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 make it to lower case?
It seems it causes some error when converting to markdown if false/true are capitalized.

Suggested change
"default": "False"
"default": "false"

"use_predicted_objects": {
"type": "boolean",
"description": "whether to use predicted objects [-]",
"default": "False"
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 make it to lower case?
It seems it causes some error when converting to markdown if false/true are capitalized.

Suggested change
"default": "False"
"default": "false"

"publish_obstacle_polygon": {
"type": "boolean",
"description": "whether to publish obstacle polygon [-]",
"default": "False"
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 make it to lower case?
It seems it causes some error when converting to markdown if false/true are capitalized.

Suggested change
"default": "False"
"default": "false"

"max_slow_down_velocity": {
"type": "number",
"description": "max slow down velocity (use this param if consider_constraints is False)[m/s]",
"default": "1.38 "
Copy link
Member

Choose a reason for hiding this comment

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

unecessary space

Suggested change
"default": "1.38 "
"default": "1.38"

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) 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.

None yet

2 participants