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

fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior #700

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Apr 15, 2022

Description

longitudinal_controller_node

  • parameterize STOPPED STATE entry duration time since vehicle stopped. (default 0.1[s])
  • set target velocity Zero in STOPPED STATE (remove deceleration limit)

vehicle_cmd_gate

  • modified check stopped condition (watch the duration time since vehicle stopped.)

Related links

Tests performed

please plot following topics:

  • /control/trajectory_follower/longitudinal/control_cmd/speed (target velocity)
  • /control/trajectory_follower/longitudinal/diagnostic/diag_array/data.13 (0: DRIVE, 1: STOPPING, 2: STOPPED, 3: EMERGENCY)

and, check that target velocity is Zero during STOPPED STATE.

image

Notes for reviewers

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.

@satoshi-ota satoshi-ota force-pushed the fix/update-stopped-condition-and-behavior branch from e9f2ffa to ec80e98 Compare April 15, 2022 04:46
@codecov
Copy link

codecov bot commented Apr 15, 2022

Codecov Report

Merging #700 (f1accd5) into main (02ebf0b) will increase coverage by 0.14%.
The diff coverage is 4.76%.

@@           Coverage Diff            @@
##            main    #700      +/-   ##
========================================
+ Coverage   9.64%   9.78%   +0.14%     
========================================
  Files        907     907              
  Lines      56508   56860     +352     
  Branches    6693    6918     +225     
========================================
+ Hits        5449    5566     +117     
- Misses     46568   46737     +169     
- Partials    4491    4557      +66     
Flag Coverage Δ *Carryforward flag
differential 30.38% <6.25%> (?)
total 9.64% <0.00%> (ø) Carriedforward from 02ebf0b

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

Impacted Files Coverage Δ
...gate/include/vehicle_cmd_gate/vehicle_cmd_gate.hpp 0.00% <ø> (ø)
control/vehicle_cmd_gate/src/vehicle_cmd_gate.cpp 0.00% <0.00%> (ø)
...ollower_nodes/src/longitudinal_controller_node.cpp 46.97% <14.28%> (+5.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02ebf0b...f1accd5. Read the comment docs.

@yabuta
Copy link
Contributor

yabuta commented Apr 20, 2022

@satoshi-ota 速度0のときにSTOPPING, STOPになることは確認できました
Test PerformedではSTOPPINGがないのは何故でしたっけ?

I confirmed that state is STOPPING, STOP at speed 0
Why was there no STOPPING in Test Performed?

Screenshot from 2022-04-20 19-28-25

@satoshi-ota
Copy link
Contributor Author

@yabuta Thank you for your comment 👍 Sorry for the lack of clarity, but I fixed and created this PR in X2 product env, and the product has smooth_stop function disable in control config. As a result, longitudinal_controller doesn't have STOPPING_STATE.

…ondition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…PPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/update-stopped-condition-and-behavior branch from ec80e98 to f1accd5 Compare April 20, 2022 23:35
@satoshi-ota
Copy link
Contributor Author

resolve conflicts

Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for your fix and detailed explanation.
The same logic exists in several packages, so please create an issue to track the issue.

@TakaHoribe
Copy link
Contributor

Related. tier4/autoware_launch#283

@satoshi-ota
Copy link
Contributor Author

LGTM. Thank you for your fix and detailed explanation. The same logic exists in several packages, so please create an issue to track the issue.

OK 👍 I would be happy to undertake that works.

@satoshi-ota satoshi-ota merged commit 26a252e into autowarefoundation:main Apr 21, 2022
@satoshi-ota satoshi-ota deleted the fix/update-stopped-condition-and-behavior branch April 21, 2022 04:49
isamu-takagi added a commit to isamu-takagi/autoware.universe that referenced this pull request Apr 21, 2022
* Feature/porting motion velocity smoother (autowarefoundation#1653)

* Add motion_velocity_smoother (autowarefoundation#1333)

* Refactor node and utilities

* Fix utilities

* Fix utilities

* Fixing...

* Runs with L2 smoother

* Use boost::optional

* Add Linf, JerkFiltered

* JerkFiltered

* Fix

* Fix awapi

* Fix bug

* Add config files

* Fix bug

* Fix bug and apply clang-format

* Remove unused variable

* Fix bug

* Change C-style cast to static_cast

* Add destructors

* Use smart pointers for members

* Add test

* Fix test code

* Tmp: add L2 norm of jerk in objective function

* Fix external velocity limit

* Fix interpolate in velocity controller and remove prevent move to close stop line

* add initial velocity and acceleration to the filter function

* Fix index calculation

* add new marge function

* handle edge case

* Tmp: skip osqp_interface build test

* Revert get_modified_package.sh

* Fix CI

* Fix version of osqp

* Fix

* Add design docment (JPN)

* Fix linear interpolation

* Refactor node and utilities

* Fix utilities

* Fix utilities

* Fixing...

* Runs with L2 smoother

* Use boost::optional

* Add Linf, JerkFiltered

* JerkFiltered

* Fix

* Fix awapi

* Fix bug

* Add config files

* Fix bug

* Fix bug and apply clang-format

* Remove unused variable

* Fix bug

* Change C-style cast to static_cast

* Add destructors

* Use smart pointers for members

* Add test

* Fix test code

* Tmp: add L2 norm of jerk in objective function

* Fix external velocity limit

* Fix interpolate in velocity controller and remove prevent move to close stop line

* add initial velocity and acceleration to the filter function

* Fix index calculation

* add new marge function

* handle edge case

* Tmp: skip osqp_interface build test

* Revert get_modified_package.sh

* Fix CI

* Fix version of osqp

* Fix

* Add design docment (JPN)

* Fix linear interpolation

* add new sample function

* Fix

* Revert velocity_controller

* Reset motion_velocity_optimizer

* Fix parameter setting

* Refactor and fix bugs

* Use autoware_utils

* Fix doc and bug

* Fix doc

* Fix external velocity limit and parametrize margin and jerk weight

* Fix typo

* Fix typo and remove old readme

* add stop point calculation and modify objective function

* Add parameter handling functions and add namespace

* Rename calcClosestTrajectoryPoint to calcInterpolatedTrajectoryPoint and remove unused function

* Fix applyExternalVelocityLimit and fix comments

* Fix variable name

* Fix variable name

* Fix yaml comment

* Add const

* Fix interpolaion

* Remove run() and change type of prev_closest_point_

* Update planning/scenario_planning/common/motion_velocity_smoother/src/smoother/smoother_base.cpp

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* fix stop point error

* Fix linear interpolation and external velocity calculation

* Remove debug code

* Rename BaseParam

* Remove unused func and fix misc

* Fix package.xml, include, apply formatting

* Fix external velocity limit

* add debug calculation time

* modify calculation time debugger

* modify calculation time publisher

* rescale the calculation time

* Fix some problem

* Update planning/scenario_planning/common/motion_velocity_smoother/launch/motion_velocity_smoother.launch

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

Co-authored-by: yutaka <purewater0901@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Add Resample Procedure after the optimization in motion_velocity_smoother (autowarefoundation#1530)

* do resample after the optimization

* modify resample timing

* add 0 at the end of the resampeld output trajectory

* Manage parameters

* Fix format

* Fix format

* Devide resample function in other file

* Update default_motion_velocity_smoother.yaml

* Update default_motion_velocity_smoother.yaml

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>

* Output debug trajectories in motion velocity smoother (autowarefoundation#1533)

* add debug trajectory

* add rqt_multiplot setting files

* add calculation tiem visualization

* guard emtpy output (autowarefoundation#1537)

* Motion velocity smoother doc (autowarefoundation#1563)

* Fix doc

* Add english doc (tmp)

* Add english file

* Remove unused files

* Fix

* Fix typo

* Modify 1-size trajectory handling & warning messages (autowarefoundation#1540)

* add new guard to delete unnecessary message

* change message

* add warning messages

* chnage message to warning

* chnage to throttle

* Fix jerk filter calculation (autowarefoundation#1593)

* modify jerk filter calculation

* remove unnecessary code

* change the way of interp. of pose in smoother (autowarefoundation#1600)

* Update smoother resampling (autowarefoundation#1595)

* add new guard to delete unnecessary message

* change message

* add warning messages

* chnage message to warning

* chnage to throttle

* modify jerk filter calculation

* modify jerk filter calculation

* separate resampling code

* add new parameter

* add new parameter to dynamic reconfigure

* remove unnecessary code

* add sampling before optimization

* add const and blocker

* change access to at

* fix terminal length value

* add comments

* clean code

* add comment

* Fix/insert backward on reverse trajectory (autowarefoundation#1602)

* remove unused code

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* move debug code

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix insert backward on reverse trajectory

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Porting motion velocity smoother to ros2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix launch and fix warning

* pre-commit fixes

* Remove unused argument

* Comment out unused parameter

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Add distance threshold in motion_velocity_smoother (autowarefoundation#1659)

* Add distance threshold

* Remove parameters and use default value

* Fix for pre-commit

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Support Non-zero Stop Point Acceleration (autowarefoundation#1651)

* Support non-zero stop point acceleration

* modify zero velocity id search function (autowarefoundation#1690)

* modify zero velocity id search function

* Fix resample function and error handling

* Add comment

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>

* Apply lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* pre-commit fixes

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: yutaka <purewater0901@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: purewater0901 <43805014+purewater0901@users.noreply.github.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: pre-commit <pre-commit@example.com>

* Feature/add trajectory_visualizer and closest_velocity_checker to motion_velocity_smoother (autowarefoundation#1820)

* add trajectory_visualizer and closest_velocity_optimizer to motion_velocity_smoother.

* Fix CMakeLists

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>

* Feature/port analytical smoother (autowarefoundation#1896)

* Port analytical jerk constrained smoother

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix parameters format

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Resolve warnings and remove unnecessary processing

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Change default parameters

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Change slash to dot for declare_parameter

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix debug messages

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Change pragma once to ifndef and endif

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Add #include vector, utility and string

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Remove extra white spaces

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix acceleration calculation at type 3

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Apply clang-format

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Change copyright format

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix to be less than 100 characters per line

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Implement and remove TODO

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Add include to src

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Use static_cast

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Follow uncrustify

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Disable uncrustify at include guard

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Disable uncrustify at include

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Follow uncrustify

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix include order error

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix typo

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Change index type to size_t

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix size_t

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Add const

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix parameter namespace signs from slash to dot and add latacc one

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* fix for createQuaternionFromRPY/Yaw (autowarefoundation#2154)

* fix stop dist calc bug (autowarefoundation#2152)

* use interpolation::slerp (autowarefoundation#2161)

* Add post resampling explanations (autowarefoundation#2155)

* Update motion_velocity_smoother-design.ja.md

* Update motion_velocity_smoother-design.md

* Feature/use external jerk/acc constraints (autowarefoundation#2130)

* use external jerk/acc constraints

* update VelocityLimit.msg

* Feature/add external velocity limit selector (autowarefoundation#2217)

* add external velocity limit selector

* add README.md

* improve document

* apply document template

* update external velocity limit selector & use commot params

* update smoother & use commot params

* update launch file

* Fix/smoother params (autowarefoundation#2239)

* Update velocity debug script (add vehicle engage check) (autowarefoundation#2267)

* add vehicle engage

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix format

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* [motion_velocity_smoother] fix trajectory size guard condition (autowarefoundation#2297)

* change condition for input trajectory validation chack

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* organize guard code into function

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Change formatter to clang-format and black (autowarefoundation#2332)

* Revert "Temporarily comment out pre-commit hooks"

This reverts commit 748e9cdb145ce12f8b520bcbd97f5ff899fc28a3.

* Replace ament_lint_common with autoware_lint_common

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove ament_cmake_uncrustify and ament_clang_format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply Black

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix build errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix for cpplint

* Fix include double quotes to angle brackets

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix build errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add COLCON_IGNORE (autowarefoundation#500)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* port motion velocity smoother (autowarefoundation#495)

* Use autoware_auto_msgs

* Fix bugs and apply clang-format

* Remove COLCON_IGNORE

* Rename TrajectoryPointArray to TrajectoryPoints, use conversion functions in autoware_utils

* Apply clang-format

* Use odometry

* Fix document

* rename to README.md (autowarefoundation#550)

* rename to README.md

* dealt with new auto_msgs format

Co-authored-by: Takayuki Murooka <takayuki.murooka@tier4.jp>

* update iv_msgs -> auto_msgs in planning readme (autowarefoundation#576)

* update iv_msgs -> auto_msgs in planning readme

* minor change

* some fix

* some fix

Co-authored-by: Takayuki Murooka <takayuki.murooka@tier4.jp>

* Back port .auto control packages (autowarefoundation#571)

* Implement Lateral and Longitudinal Control Muxer

* [autowarefoundation#570] Porting wf_simulator

* [autowarefoundation#1189] Deactivate flaky test in 'trajectory_follower_nodes'

* [autowarefoundation#1189] Fix flacky test in 'trajectory_follower_nodes/latlon_muxer'

* [autowarefoundation#1057] Add osqp_interface package

* [autowarefoundation#1057] Add library code for MPC-based lateral control

* [autowarefoundation#1271] Use std::abs instead of abs

* [autowarefoundation#1057] Implement Lateral Controller for Cargo ODD

* [autowarefoundation#1246] Resolve "Test case names currently use snake_case but should be CamelCase"

* [autowarefoundation#1325] Deactivate flaky smoke test in 'trajectory_follower_nodes'

* [autowarefoundation#1058] Add library code of longitudinal controller

* Fix build error for trajectory follower

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix build error for trajectory follower nodes

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* [autowarefoundation#1272] Add AckermannControlCommand support to simple_planning_simulator

* [autowarefoundation#1058] Add Longitudinal Controller node

* [autowarefoundation#1058] Rename velocity_controller -> longitudinal_controller

* [autowarefoundation#1058] Update CMakeLists.txt for the longitudinal_controller_node

* [autowarefoundation#1058] Add smoke test python launch file

* [autowarefoundation#1058] Use LowPassFilter1d from trajectory_follower

* [autowarefoundation#1058] Use autoware_auto_msgs

* [autowarefoundation#1058] Changes for .auto (debug msg tmp fix, common func, tf listener)

* [autowarefoundation#1058] Remove unused parameters

* [autowarefoundation#1058] Fix ros test

* [autowarefoundation#1058] Rm default params from declare_parameters + use autoware types

* [autowarefoundation#1058] Use default param file to setup NodeOptions in the ros test

* [autowarefoundation#1058] Fix docstring

* [autowarefoundation#1058] Replace receiving a Twist with a VehicleKinematicState

* [autowarefoundation#1058] Change class variables format to m_ prefix

* [autowarefoundation#1058] Fix plugin name of LongitudinalController in CMakeLists.txt

* [autowarefoundation#1058] Fix copyright dates

* [autowarefoundation#1058] Reorder includes

* [autowarefoundation#1058] Add some tests (~89% coverage without disabling flaky tests)

* [autowarefoundation#1058] Add more tests (90+% coverage without disabling flaky tests)

* [autowarefoundation#1058] Use Float32MultiArrayDiagnostic message for debug and slope

* [autowarefoundation#1058] Calculate wheel_base value from vehicle parameters

* [autowarefoundation#1058] Cleanup redundant logger setting in tests

* [autowarefoundation#1058] Set ROS_DOMAIN_ID when running tests to prevent CI failures

* [autowarefoundation#1058] Remove TF listener and use published vehicle state instead

* [autowarefoundation#1058] Change smoke tests to use autoware_testing

* [autowarefoundation#1058] Add plotjuggler cfg for both lateral and longitudinal control

* [autowarefoundation#1058] Improve design documents

* [autowarefoundation#1058] Disable flaky test

* [autowarefoundation#1058] Properly transform vehicle state in longitudinal node

* [autowarefoundation#1058] Fix TF buffer of lateral controller

* [autowarefoundation#1058] Tuning of lateral controller for LGSVL

* [autowarefoundation#1058] Fix formating

* [autowarefoundation#1058] Fix /tf_static sub to be transient_local

* [autowarefoundation#1058] Fix yaw recalculation of reverse trajs in the lateral controller

* modify trajectory_follower for galactic build

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* [autowarefoundation#1379] Update trajectory_follower

* [autowarefoundation#1379] Update simple_planning_simulator

* [autowarefoundation#1379] Update trajectory_follower_nodes

* apply trajectory msg modification in control

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* move directory

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remote control/trajectory_follower level dorectpry

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove .iv trajectory follower

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use .auto trajectory_follower

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove .iv simple_planning_simulator & osqp_interface

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use .iv simple_planning_simulator & osqp_interface

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add tmp_autoware_auto_dependencies

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* tmporally add autoware_auto_msgs

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* apply .auto message split

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix build depend

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix packages using osqp

* fix autoware_auto_geometry

* ignore lint of some packages

* ignore ament_lint of some packages

* ignore lint/pre-commit of trajectory_follower_nodes

* disable unit tests of some packages

Co-authored-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Co-authored-by: Joshua Whitley <josh.whitley@autoware.org>
Co-authored-by: Igor Bogoslavskyi <igor.bogoslavskyi@gmail.com>
Co-authored-by: MIURA Yasuyuki <kokosabu@gmail.com>
Co-authored-by: wep21 <border_goldenmarket@yahoo.co.jp>
Co-authored-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* [planning module]fix bug (autowarefoundation#643)

* fix topic name

* remove angular z from LinearInterpolation in motion_velocity_smoother

* FIx vehicle status topic name/type (autowarefoundation#658)

* shift -> gear_status

* twist -> velocity_status

* port closest velocity checker (autowarefoundation#672)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* port trajectory visualizer (autowarefoundation#682)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add header for debug trajectories (autowarefoundation#681)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Sync .auto branch with the latest branch in internal repository (autowarefoundation#691)

* add trajectory point offset in rviz plugin (autowarefoundation#2270)

* sync rc rc/v0.23.0 (autowarefoundation#2258)

* fix interpolation for insert point (autowarefoundation#2228)

* fix interpolation for insert point

* to prev interpolation pkg

* Revert "to prev interpolation pkg"

This reverts commit 9eb145b5d36e297186015fb17c267ccd5b3c21ef.

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: taikitanaka <ttatcoder@outlook.jp>

* fix topic name (autowarefoundation#2266)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Add namespace to diag for dual_return_filter (autowarefoundation#2269)

* Add a function to make 'geometry_msgs::msg::TransformStamped' (autowarefoundation#2250)

* Add a function to make 'geometry_msgs::msg::TransformStamped'
* Add 'child_frame_id' as an argument of 'pose2transform'

* Simplify marker scale initialization (autowarefoundation#2286)

* Fix/crosswalk polygon (autowarefoundation#2279)

* extend crosswalk polygon

* improve readability

* fix polygon shape

* Add warning when decel distance calculation fails (autowarefoundation#2289)

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* [motion_velocity_smoother] ignore debug print (autowarefoundation#2292)

* cosmetic change

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* cahnge severity from WARN to DEBUG for debug info

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use util for stop_watch

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix map based prediction (autowarefoundation#2200)

* fix map based prediction

* fix format

* change map based prediction

* fix spells

* fix spells in comments

* fix for cpplint

* fix some problems

* fix format and code for clang-tidy

* fix space for cpplint

* Update Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* fix vector access method

* fix readme format

* add parameter

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Update Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* remove failure condition for 0 velocity trajectory (autowarefoundation#2295)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* [mpc_follower] remove stop distance condition from stopState decision (autowarefoundation#1916)

* [mpc_follower] remove stop distance condition from stopState decision

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add invalid index handling

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Move the debug marker initialization part to another file (autowarefoundation#2288)

* Move the debug marker initialization part to 'debug.cpp'

* Make 'isLocalOptimalSolutionOscillation' independent from 'NDTScanMatcher' (autowarefoundation#2300)

* Remove an unused function 'getTransform' (autowarefoundation#2301)

* Simplify iteration of initial poses (autowarefoundation#2310)

* Make a transform object const (autowarefoundation#2311)

* Represent poses in 'std::vector' instead of 'geometry_msgs::msg::PoseArray' (autowarefoundation#2312)

* Feature/no stopping area (autowarefoundation#2163)

* add no stopping area module to behavior velocity planner

* apply utils

* add polygon interpolation module order stopline around area is considered

* devide jpass udge with stop line polygon

* update docs

* rename file name

* update to latest

* minor change for marker

* update license

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* update license

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* update license

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* update license

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* minor fix

* add parameter tuning at experiment

* update readme

* format doc

* apply comments

* add exception gurd

* cosmetic change

* fix ament

* fix typo and remove for statement

* & to " "

* better ns

* return pass judge param

* add missing stoppable condition

* add clear pass judge and stoppable flag

* add comment

* precommit fix

* cpplint

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* sync rc rc/v0.23.0 (autowarefoundation#2281)

* Fix side shift planner (autowarefoundation#2171) (autowarefoundation#2172)

* add print debug

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* remove forward shift points when adding new point

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* remove debug print

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* format

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* Fix remove threshold

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Fix/pull out and pull over (autowarefoundation#2175)

* delete unnecessary check

* fix condition of starting pull out

* Add emergency status API (autowarefoundation#2174) (autowarefoundation#2182)

* Fix/mpc reset prev result (autowarefoundation#2185) (autowarefoundation#2195)

* reset prev result

* clean code

* reset only raw_steer_cmd

* Update control/mpc_follower/src/mpc_follower_core.cpp

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* [hotfix] 1 path point exception after resampling (autowarefoundation#2204)

* fix 1 path point exception after resampling

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* [hotfix] Fix lane ids (autowarefoundation#2211)

* Fix lane ids

* Prevent acceleration on avoidance (autowarefoundation#2214)

* prevent acceleration on avoidance

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* fix param name

Signed-off-by: TakaHoribe <horibe.takamasa@gmail.com>

* parametrize avoidance acc

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* change param name

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix typo

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Fix qos in roi cluster fusion (autowarefoundation#2218)

* fix confidence (autowarefoundation#2220)

* too high confidence (autowarefoundation#2229)

* Fix/obstacle stop 0.23.0 (autowarefoundation#2232)

* fix unexpected slow down in sharp curves (autowarefoundation#2181)

* Fix/insert implementation (autowarefoundation#2186)

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>

* [hotfix] Remove exception in avoidance module (autowarefoundation#2233)

* Remove exception

* Fix clock

* Remove blank line

* Update traffic light state if ref stop point is ahead of previous one (autowarefoundation#2197)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix interpolation for insert point (autowarefoundation#2228)

* fix interpolation for insert point

* to prev interpolation pkg

* fix index (autowarefoundation#2265)

* turn signal calculation (#2280)

* add turn signal funtion in path shifter

* add ros parameters

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: Sugatyon <32741405+Sugatyon@users.noreply.github.com>

* [behavior_path_planner] fix sudden path change around ego (autowarefoundation#2305) (autowarefoundation#2318)

* fix return-from-ego shift point generation logic

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* change param for trimSimilarGradShiftPoint

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add comment for issue

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* update comment

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* replace code with function (logic has not changed)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* move func to cpp

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add comment for issue

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix typo

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Add functions to make stamped scalar messages (autowarefoundation#2317)

* Fix/object yaw in intersection module (autowarefoundation#2294)

* fix object orientation

* fix function name

* add guard (autowarefoundation#2321)

* reduce cost (double to float) (autowarefoundation#2298)

* Add detail collision check (autowarefoundation#2274)

* Add detail collision check

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Remove unused function

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix arc length

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Seperate time margin

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix parameter name

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Update Readme

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Address review: Add comment for TimeDistanceArray

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Run pre-commit

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix cpplint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Add return for empty polygon

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* update CenterPoint  (autowarefoundation#2222)

* update to model trained by mmdet3d

* add vizualizer (debug)

* for multi-frame inputs

* chagne config

* use autoware_utils::pi

* project specific model and param

* rename vfe -> encoder

* rename general to common

* update download link

* update

* fix

* rename model_name

* change training toolbox link

* chage lint package

* fix test error

* commit suggestion

* Feature/lane change detection (autowarefoundation#2331)

* add old information deleter

* fix access bug

* change to deque

* update obstacle buffer

* fix some bugs

* add lane change detector

* make a update lanelet function

* fix code style

* parameterize essential values

* Update perception/object_recognition/prediction/map_based_prediction/src/map_based_prediction_ros.cpp

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* fix slash position

* remove unnecessary lines

* fix format

* fix format

* change to new enum

* fix format

* fix typo and add guard

* change funciton name

* add lane change description

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Add Planning Evaluator  (autowarefoundation#2293)

* Add prototype planning evaluator

Produced data for dist between points, curvature, and relative angle

* Cleanup the code to make adding metrics easier

* Add remaining basic metrics (length, duration, vel, accel, jerk)

* Add motion_evaluator to evaluate the actual ego motion + code cleanup

* Add deviation metrics

* Add naive stability metric

* Handle invalid stat (TODO: fix the output file formatting)

* Add parameter file and cleanup

* Add basic obstacle metric (TTC not yet implemented) and fix output file format

* Add basic time to collision

* Add lateral-distance based stability metric

* Add check (at init time) that metrics' maps are complete

* Publish metrics as ParamaterDeclaration msg (for openscenario)

* Use lookahead and start from ego_pose when calculating stability metrics

* Code cleanup

* Fix lint

* Add tests

* Fix bug with Frechet dist and the last traj point

* Finish implementing tests

* Fix lint

* Code cleanup

* Update README.md

* Remove unused metric

* Change msg type of published metrics to DiagnosticArray

* fix format to fix pre-commit check

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix yaml format to fix pre-commit check

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix yaml format

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* apply clang-format

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* apply clang-format

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update planning/planning_diagnostics/planning_evaluator/include/planning_evaluator/planning_evaluator_node.hpp

* Update planning/planning_diagnostics/planning_evaluator/test/test_planning_evaluator_node.cpp

* Update planning/planning_diagnostics/planning_evaluator/test/test_planning_evaluator_node.cpp

* change lint format to autoware_lint_common

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Add keep braking function at driving state (autowarefoundation#2346)

* Add keep braking function at driving state

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Remove debug messages

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix format

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Change diag_updater's pediod from default to 0.1sec (autowarefoundation#2348)

* add cross judgement and common signal function (autowarefoundation#2319)

* merge branch turn_signal_common

* add turn signal function in signal decider

* add cross judge in path_utilities and delete from turn_signal_decider

* remove original signal calculation in lane change

* omit substitution

* replace turn signal decider in pull over function

* modify cross judge logic

* replace turn signal decider in avoidance

* add readme of turn signal

* update

* delete print debug

* update

* delete lane change decider in path shifter

* delete blank line

* fix indent

* fix typo

* fix typo

* decrease nest

* run pre commit

* Add 0 limit at forward jerk velocity filter (autowarefoundation#2340)

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* add time offset param to point cloud concatenation (autowarefoundation#2303)

* add offset param

* clang-format

Co-authored-by: Akihito OHSATO <aohsato@gmail.com>

* Feature/add doc for keep braking function at driving state (autowarefoundation#2366)

* Add the description of brake keeping

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Add the english document

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Improve description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Add english description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* Fix include files (autowarefoundation#2339)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix behavior intersection module

* fix behavior no stopping area module

* fix planning_evaluator

* fix motion_velocity_smoother

* rename variable

* Revert "[mpc_follower] remove stop distance condition from stopState decision (autowarefoundation#1916)"

This reverts commit ff4f0b5a844d1f835f1b93bd3b36a76747b0cd02.

* Revert "Add keep braking function at driving state (autowarefoundation#2346)"

This reverts commit f0478187db4c28bf6092c198723dcc5ec11a9c70.

* Revert "Feature/add doc for keep braking function at driving state (autowarefoundation#2366)"

This reverts commit 66de2f3924a479049fce2d5c5c6b579cacbd3e49.

* Fix orientation availability in centerpoint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix test_trajectory.cpp

* add target link libraries

* Use .auto msg in test code for planniing evaluator

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix include

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com>
Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: taikitanaka <ttatcoder@outlook.jp>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Co-authored-by: Takeshi Ishita <ishitah.takeshi@gmail.com>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
Co-authored-by: purewater0901 <43805014+purewater0901@users.noreply.github.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com>
Co-authored-by: Sugatyon <32741405+Sugatyon@users.noreply.github.com>
Co-authored-by: s-murakami-esol <81723883+s-murakami-esol@users.noreply.github.com>
Co-authored-by: Yusuke Muramatsu <yukke42@users.noreply.github.com>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>
Co-authored-by: Shunsuke Miura <37187849+miursh@users.noreply.github.com>
Co-authored-by: Shinnosuke Hirakawa <8327162+0x126@users.noreply.github.com>
Co-authored-by: Akihito OHSATO <aohsato@gmail.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix osqp link (autowarefoundation#700)

* Update twist topic name (autowarefoundation#736)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* rename readme.ja

* add default parameter file

Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: yutaka <purewater0901@gmail.com>
Co-authored-by: purewater0901 <43805014+purewater0901@users.noreply.github.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: pre-commit <pre-commit@example.com>
Co-authored-by: td12321 <85976747+td12321@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki.murooka@tier4.jp>
Co-authored-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Co-authored-by: Joshua Whitley <josh.whitley@autoware.org>
Co-authored-by: Igor Bogoslavskyi <igor.bogoslavskyi@gmail.com>
Co-authored-by: MIURA Yasuyuki <kokosabu@gmail.com>
Co-authored-by: wep21 <border_goldenmarket@yahoo.co.jp>
Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com>
Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: taikitanaka <ttatcoder@outlook.jp>
Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Co-authored-by: Takeshi Ishita <ishitah.takeshi@gmail.com>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com>
Co-authored-by: Sugatyon <32741405+Sugatyon@users.noreply.github.com>
Co-authored-by: s-murakami-esol <81723883+s-murakami-esol@users.noreply.github.com>
Co-authored-by: Yusuke Muramatsu <yukke42@users.noreply.github.com>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>
Co-authored-by: Shunsuke Miura <37187849+miursh@users.noreply.github.com>
Co-authored-by: Shinnosuke Hirakawa <8327162+0x126@users.noreply.github.com>
Co-authored-by: Akihito OHSATO <aohsato@gmail.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Co-authored-by: Kosuke Murakami <kosuke.murakami@tier4.jp>
isamu-takagi added a commit to isamu-takagi/autoware.universe that referenced this pull request Apr 21, 2022
* release v0.4.0

* Fix typo (#700)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix detection area (#701)

* Replace calcDistance with calcSignedDistance

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add STOP state

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* intersection: change detection area length parameter from 100m to 200m (#702)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* intersection: fix stuck vehicle behavior (#695)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Feature/intersection use spline interpolation library (#710)

* Use spline_interpolation module

* Remove debug messages

* Feature/stop reason (#712)

* add stop reason msg

* add mock of stop resaon publisher

* change namespace of stop reason

* update stop reason msg

* add toRosPoint

* implement stop reason publisher of blind stop

* implement stop reason publisher of crosswalk

* implement stop reason publisher of intersection

* implement stop reason publisher of stop line

* implement stop reason publisher of trafficlight

* implement stop reason publisher of detection area

* fix bug

* remove unnecessary process

* add remained stop factor

* clean code

* fix bug

* not punlish stop reason if array size is 0

* add stop reason to stuck object in intersection

* add stop factor of obstacle stop planner

* add stop reason of surround_obstacle checker

* Apply review

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix message type

* delete unused message from cmake

* remove stopReasonStamped

* change topic name of stop reasons

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix/stop reason (#724)

* input stop reason of traffic light

* add comment

* add empty traffic light handling

* change calculation method of traffic light position

* avoid 0 position output

* Fix/spline interpolation in intersection module (#726)

* Remove duplicating sample points

* Change isValidInput

* Apply clang-format

* Fix convergence check in PCG

* fix clac signed distance bug (#733)

* intersection: ignore stop plane when path[0] is in detection area (#739)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Publish tl states stamped (#744)

* Add TrafficLightStateStamped.msg

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use msg instead of struct

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Publish traffic light state

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Check if lamp state is empty

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Apply clang-format

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Cosmetic change

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* update visualization marker (#759)

* fix stack area (#758)

* dont check pointcloud (#765)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* fix stop factor of merge_from_private_area (#749)

* Revert "Publish tl states stamped (#744)" (#771)

This reverts commit 35a7e29e987afb29d9348b5f64866a584a65f753.

* fix intersection bug (#773)

* fix bug

* fix bug

* change uid of marker (#775)

* Fix/publish tl state stamped (#772)

* Publish tl states stamped (#744)

* Add TrafficLightStateStamped.msg

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use msg instead of struct

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Publish traffic light state

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Check if lamp state is empty

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Apply clang-format

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Cosmetic change

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Use dynamic pointer cast

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Fix blind spot areas and logic for creating a stop line (#732)

* Fix blind spot areas

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Change logic for creating a stop line

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Do not add marker when marker is empty

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Cosmetic change

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Return boost optional for first conflict point

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Return boost optional for intersection start point

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Apply clang

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* Fix/intersection stuck detect area (#764)

* fix stuck-vehicle detection area in intersection module

* separate vehicle param

* change the way ouf start idx count

* change param

* avoid to input -1 index (#777)

* add dead line and pass through when over dead line (#784)

* Add arg for input tl topic name (#783)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* change margin to 1.0m (#790)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* fix insert target point bug (#798)

* fix typo stop_liine to stop_line (#799)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* traffic light scene module : fix bug and change param (#800)

* fix bug (passs judge line)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* bug fix

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* change param

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* Intersection add debug comment (#803)

* blind spot : modify debug comment

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* merge from private road : modify debug comment

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* intersection : modify debug comment

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* intersection util: modify generateStopLine() for debug

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add comment

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Fix intersection preceeding lane query (#807)

* modified interseciton module to add lanelets in intersection to objective lanelets due to change in getPreceedingLaneletSequences()

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* update comment

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* Fix blind spot area (#806)

* Fix blind spot area

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use range based for

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use std::unique to remove adjacent duplicates

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use generateFineCenterline

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix detection area start point

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Revert "Use generateFineCenterline"

This reverts commit 9d4f46bf65d7296b9286b30dfeed217a566a815c.

* Fix centerline of half lanelet

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix area start point

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Revert "fix insert target point bug (#798)" (#815)

This reverts commit 12eac2023538531e28a85a8914305cb534499f29.

* Fix/traffic light state (#801)

* fix bug (passs judge line)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* bug fix

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* change param

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* bug fix : remove stop state

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* add lower limit

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* change param (#821)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* stopline: parametrize check distance (#825)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Check if lanelets are sequential (#823)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix uninitialized variables (#816)

* Parameterization for calculating judge line distance (#831)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* remove ROS1 packages temporarily

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* Revert "remove ROS1 packages temporarily"

This reverts commit 96b63e981899f79f2f5c6a6377e9600cc278e233.

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* add COLCON_IGNORE to ros1 packages

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* Rename launch files to launch.xml (#28)

* Port behavior_velocity_planner to ROS2 (#80)

* Revert "Add geometry2 to repos (#76)"

This reverts commit 6d2270476aaafdf1a8098d700d52a508525ea04b.

* Automatic parts of the package port

* Interesting part

* Fix typo in package.xml

* Review comments

* Child logger names

* Document logging duration

Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com>

* [ROS2] Fix behavior velocity planner (#110)

* install launch and config folders

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* port launch file

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* fix config files

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* improve vehicle_info_utils to enable multiple declaration of VehicleInfo objects

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* fix sementation fault

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* Convert calls of Duration to Duration::from_seconds where appropriate (#131)

* Rename h files to hpp (#142)

* Change includes

* Rename files

* Adjustments to make things compile

* Other packages

* Adjust copyright notice on 532 out of 699 source files (#143)

* Use quotes for includes where appropriate (#144)

* Use quotes for includes where appropriate

* Fix lint tests

* Make tests pass hopefully

* Run uncrustify on the entire Pilot.Auto codebase (#151)

* Run uncrustify on the entire Pilot.Auto codebase

* Exclude open PRs

* fixing trasient_local in ROS2 packages (#160)

* Enable cppcheck lints in behavior_velocity_planner (#159)

* Enable lints in behavior_velocity_planner

* Fix package.xml

* Make launch files load vehicle model params dependent on argument (#228)

* Make vehicle_model configurable in behavior_velocity_planner

* Make vehicle_model configurable in vehicle_cmd_gate

* change from vehicle_model to vehicle_param_file (#242)

Signed-off-by: kosuke murakami <kosuke.murakami@tier4.jp>

* Ros2 v0.8 fix typo of "preceding" (#323)

* Fix typo of getPrecedingLaneletSequences

* Fix comment

* Ros2 v0.8.0 behavior velocity planner (#332)

* restore behavior velocity planner files for v0.8.0 update

* Fix detection area (#808)

* Remove PASS state

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Keep stopping after going over dead-line in STOP state

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Clear state after obstacle disappears

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Parameterize and change conditions

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Refactor

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* add elapsed time checker

* Refactor

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore inserting point if points are too close

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Rename NORMAL to GO

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Revert "Ignore inserting point if points are too close"

This reverts commit 91c8d620ea11e703611945cb9a50877d175f4ff6.

* Fix small bug

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: taichiH <azumade.30@gmail.com>

* fix timing of publish stop reason of stop_line (#845)

* fix timing of publish stop reason of stop_line

* Fix formatting

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix task registration of detection area module (#856)

* Fix task registration of detection area module

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix id of factor_text marker

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Do not interpolate if path size is 1 (#865)

* Revert "restore behavior velocity planner files for v0.8.0 update"

This reverts commit ce07d3c2bfae562d56fec46c4f81d5351fd936a1.

* fix some implement miss

* restore behavior velocity planner files for v0.8.0 update

* change intersection param (#861)

* Fix/intersection stop line (#841)

* add trimmed path function

* fix typo

* avoid to insert stop line outside intersection

* Add pass judge flag (#872)

* Add pass judge flag

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix wrong format

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix flag order in judge condition

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* add ignore width with blind spot (#864)

* add ignore width with blind spot

* remove unused function

* fix typo

* fix margin

* remove bicycle from intersection stuck vehicle (#896)

* Revert "restore behavior velocity planner files for v0.8.0 update"

This reverts commit ff61ee56f2ce4728e53eb698836db60d68bf64b9.

* fix implement miss

* restore behavior velocity planner files for v0.8.0 update (fixed)

* Add external traffic light input (#912)

* Add external traffic light input

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Update topic namespace

* Fix typos in planning modules (#866)

* fix typos in planning

* fix corresponding typos in planning

* revert fixed typos temporarily due to its impact on launchers

* add exception handling to intersection module (#920)

* add exception handling

* output input path

* prevent passthrough chattering (#901)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* cosnider current_velocity to calculate intersection passing time (#880)

* cosnider current_velocity to calculate intersection passing time

* add fabs to current velocity

* Improve stuck vehicle detect (#824)

* intersection: modify stuck vehicle detect logic to consider the object shape

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* intersection: consider ego-vehicle length when calculate stuck vehicle detection area

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* intersection: change param stuck_vehicle_ignore_dist: 5.0 -> 7.0

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* intersection: use vehicle_info/vehicle_length

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix implement miss

* fix target pedestrian (#927)

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* fix insert backward point (#953)

* fix insert backward point

* add comment

Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp>

* remove unnecessary if

Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp>

* Add stop line referred from road marking (#968)

* Add stop line referred from road marking

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Add stop line for walkway

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Feature/external input (#982)

* add external input msg

* impl external input(crosswalk, intersection)

* :put_litter_in_its_place:

* change to ++14

* fix bug

* fix bug

* cosmetic change

* Revert "restore behavior velocity planner files for v0.8.0 update"

This reverts commit ff61ee56f2ce4728e53eb698836db60d68bf64b9.

* Fix typo (#1013)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix/blind spot insert point (#1027)

* Copy insert point from previous point

* Reset path unless state is stop

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* change slow down speed (#1030)

* restore behavior velocity planner files for v0.8.0 update (fixed)

* Fix/walkway stop judge range (#1028)

* Fix walkway stop judge

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Make refer id same

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix getObjectivePolygons() so that intersecting lanelet is added to objective lanelets even when there is no preceeding lanelets (#1010)

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

* Revert "restore behavior velocity planner files for v0.8.0 update (fixed)"

This reverts commit 39231f23eb17e39a418f28f5ccfe1df55b3fb45c.

* fix implement miss for marker

* restore behavior velocity planner files for v0.8.0 update (fixed)

* Fix/blind spot polygon (#1056)

* Fix detection area for blind spot

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Apply clang format

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Shrink conflicting area

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* chane slowdown judgement (#1066)

* chane slowdown judgement

* cosmetic change

* Revert "restore behavior velocity planner files for v0.8.0 update (fixed)"

This reverts commit 39231f23eb17e39a418f28f5ccfe1df55b3fb45c.

* fixed for ros2 style

* restore behavior velocity planner files for v0.8.0 update (fixed)

* Remove unused headers in behavior_velocity_planner (#1072)

* publish walkway stop reason (#1073)

* Revert "restore behavior velocity planner files for v0.8.0 update (fixed)"

This reverts commit 39231f23eb17e39a418f28f5ccfe1df55b3fb45c.

* restore behavior velocity planner files for v0.8.0 update (fixed)

* Add correspondence marker of detection_area and stop_line (#1081)

* Fix comment

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add const

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add correspondence marker of detection_area and stop_line

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add obstacle marker

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fixup

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add id marker

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Clear state when time rollback found

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix typo

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* change stop to polygon line

* apply clang format

* fix code

* fix bug

Co-authored-by: taichiH <azumade.30@gmail.com>

* Fix pass judge idx (#1090)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix bug (#1087)

* Revert "restore behavior velocity planner files for v0.8.0 update (fixed)"

This reverts commit 39231f23eb17e39a418f28f5ccfe1df55b3fb45c.

* fix for ros2 style

* restore behavior velocity planner files for v0.8.0 update (fixed)

* Fix/remove duplicated point (#1107)

* Split PoseDeviaiton functions

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove unnecessary pose

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Don't insert point if duplicated point exists

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix condition of duplicated points

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* seperate stop distance param (#1137)

* seperate stop distance param

Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp>

* apply param for automotically generated stop line

Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp>

* shift slow down line

Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp>

* add param in yaml file

Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp>

* fix prediction_time_margin bug (#1148)

* Revert "restore behavior velocity planner files for v0.8.0 update (fixed)"

This reverts commit 39231f23eb17e39a418f28f5ccfe1df55b3fb45c.

* fix ros2 style

* remove deprecated

* reformat

* add test temporary launch

* cpp_lint_namespace_what_you_use

* lint_comment_line_length

* pass ament cpplint

* fixe commit

* fix code

* remove unneccesary

* fix param structure

* fix missng params

* fix throttle time

Co-authored-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: taichiH <azumade.30@gmail.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: Kosuke Murakami <kosuke.murakami@tier4.jp>
Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com>

* Rename ROS-related .yaml to .param.yaml (#352)

* Rename ROS-related .yaml to .param.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove prefix 'default_' of yaml files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Rename vehicle_info.yaml to vehicle_info.param.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Rename diagnostic_aggregator's param files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix overlooked parameters

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* [behavior_velocity_planner]: Fix missing ros2 porting (#392)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix error handling of tf lookupTransform (#405)

Co-authored-by: autoware <autoware@example.com>

* rm_std_msgs (#402)

* Sensor data qos (#407)

* Use sensor data qos for pointcloud preprocessor

Signed-off-by: Autoware <autoware@tier4.jp>

* Use sensor data qos for pointcloud

Signed-off-by: Autoware <autoware@tier4.jp>

* Fix lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use sensor data qos for livox tag filter and vector map filter

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Autoware <autoware@tier4.jp>

* Ros2 fix topic name part1 (#408)

* Fix topic name of lane_departure_checker debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of mpc_follower debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of velocity_controller debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of motion_velocity_optimizer debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of lane_change_planner debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of behavior_velocity_planner debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of obstacle_avoidance_planner debug

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of behavior_velocity_planner

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of motion_velocity_optimizer

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of lane_departure_checker

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of mpc_follower

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of behavior_velocity_planner

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of velocity_controller

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of lane_change_planner

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of obstacle_avoidance_planner

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of obstacle_stop_planner

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of costmap_generator

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of freespace_planner

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of surround_obstacle_checker

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of costmap_generator

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of emergency_handler

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix lint errors

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix typo

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix typo in planning module (#432)

* Fix typo in planning module

* Fix remaining errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply cpplint and uncrustify.

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix traffic light module (#458)

* change log type (#459)

* add use_sim-time option (#454)

* Fix rolling build errors (#1225)

* Add missing include files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Replace rclcpp::Duration

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Use reference for exceptions

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Use from_seconds

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Sync public repo (#1228)

* [simple_planning_simulator] add readme (#424)

* add readme of simple_planning_simulator

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update simulator/simple_planning_simulator/README.md

* set transit_margin_time to intersect. planner (#460)

* Fix pose2twist (#462)

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Ros2 vehicle info param server (#447)

* add vehicle_info_param_server

* update vehicle info

* apply format

* fix bug

* skip unnecessary search

* delete vehicle param file

* fix bug

* Ros2 fix topic name part2 (#425)

* Fix topic name of traffic_light_classifier

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of traffic_light_visualization

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of traffic_light_ssd_fine_detector

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix topic name of traffic_light_map_based_detector

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix lint traffic_light_recognition

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix lint traffic_light_ssd_fine_detector

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix lint traffic_light_classifier

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix lint traffic_light_classifier

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix lint traffic_light_ssd_fine_detector

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Fix issues in hdd_reader (#466)

* Fix some issues detected by Coverity Scan and Clang-Tidy

* Update launch command

* Add more `close(new_sock)`

* Simplify the definitions of struct

* fix: re-construct laneletMapLayer for reindex RTree (#463)

* Rviz overlay render fix (#461)

* Moved painiting in SteeringAngle plugin to update()

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* super class now back to MFD

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* uncrustified

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* acquire data in mutex

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* back to RTD as superclass

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* Rviz overlay render in update (#465)

* Moved painiting in SteeringAngle plugin to update()

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* super class now back to MFD

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* uncrustified

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* acquire data in mutex

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* removed unnecessary includes and some dead code

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* Adepted remaining vehicle plugin classes to render-in-update concept. Returned to MFD superclass

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

* restored RTD superclass

Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
Co-authored-by: Makoto Tokunaga <vios-fish@users.noreply.github.com>
Co-authored-by: Adam Dąbrowski <adam.dabrowski@robotec.ai>

* Unify Apache-2.0 license name (#1242)

* Make planning modules components (#1263)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Remove use_sim_time for set_parameter (#1260)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Refactor vehicle info util (#1305)

* Update license

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Refactor vehicle_info_util

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Rename and split files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix interfaces

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix bug and add error handling

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add "// namespace"

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add missing include

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix slow/stop marker color & stop reason (#1347) (#1354)

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* fix intersection stop line (#1272) (#1349)

* fix intersection stop line (#1272)

* fix intersection stop line

* fix comment

* Fix typo

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Avoid passing empty lanelets to getPolygonFromArcLength (#1371)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Add perception traffic light state output (#1302)

* Add perception traffic light state output

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Modify message type

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Apply message type to relay

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* Feature/consider jerk limit in passjudge (#1339) (#1351)

* Feature/consider jerk limit in passjudge (#1339)

* make new branch for behavior velocity planner

* update implementation for considering accel & jerk limit

* refactoring

* change default params

* change default params

* change minimum velocity which decides to conduct pass judge

* remove ROS_DEBUG_COND()

* remove unnecessary variables

* fix lowpass filter implementation

* calc acceleration in planner_data_

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* Fix typo

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* Feature/refactor stop line module (#1343) (#1359)

* Refactor stop_line planner module

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add document

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix English

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* Feature/add stop duration ros2 (#1380)

* Feature/add stop duration (#1367)

* Add stop_duration to behavior_velocity_planner

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* parameterize stop duration sec

* Use stop_duration in Stop Line module

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Change default value

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix topic name of external traffic light input (#1412)

* publish perception and external tl_state for mlops (#1350) (#1375)

* publish perception and external tl_state for mlops

* fix tl_state time stamp

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* Fix/traffic light planning module (#1424) (#1487)

* Fix/traffic light planning module (#1424)

* bug fix

* refactor

* refactor

* cosmetic change

* fix typo

* cosmetic change

* refactor

* remove unused func

* enable restart

* cosmetic change

* fix typo

* refactor

* bug fix

* cosmetic change

* modify debug_data

* Apply lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Remove unnecesarry comment

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix bug

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* change msg type looking traffic light state (#1494)

* change msg type looking traffic light state (#1455)

* change msg type looking traffic light state

* fix msg name

* using namespace

* change function name

* fix typo

* add readme

* Update awapi/awapi_awiv_adapter/Readme.md

fix typo

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Remove deprecated message include

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Add namespace to behavior_velocity_planner (#1542)

* Add namespace to behavior_velocity_planner

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix typo

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Avoid passing uninitialized index (#1609)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* suppress warnings  for behavior_velocity_planner (#1733)

* add Werror

* suppress warnings for stopline module

* fix for crosswalk

* fix for traffic light

* fix for detection area

* fix style

* use {}

* use auto

* Fix -Wunused-parameter (#1836)

* Fix -Wunused-parameter

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix mistake

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix spell

* Fix lint issues

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore flake8 warnings

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp>

* Fix compiler warnings (#1837)

* Fix -Wunused-private-field

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Wunused-variable

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Wformat-security

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Winvalid-constexpr

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Wdelete-non-abstract-non-virtual-dtor

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Wdelete-abstract-non-virtual-dtor

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Winconsistent-missing-override

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Wrange-loop-construct

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix "invalid application of 'sizeof' to an incomplete type"

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore -Wgnu-anonymous-struct and -Wnested-anon-types

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix lint

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Ignore -Wno-deprecated-declarations in CUDA-related packages

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix mistake

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix -Wunused-parameter

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add autoware api (#1979)

* Feature/add virtual traffic light planner (#1588)

* add sort-package-xml hook in pre-commit (#1881)

* add sort xml hook in pre-commit

* change retval to exit_status

* rename

* add prettier plugin-xml

* use early return

* add license note

* add tier4 license

* restore prettier

* change license order

* move local hooks to public repo

* move prettier-xml to pre-commit-hooks-ros

* update version for bug-fix

* apply pre-commit

* remove spline_interpolation, and create interpolation package that ha… (#2114)

* remove spline_interpolation and add interpolation package

* fix bugs and add simple test

* modify application for interpolation package

* add some tests and fix ci test

* add some tests

* add -Werror

* move functions to anonymous

* fix reviews

* fix typo

* fix review and lint

* add tests

* resolve TODOs

* add README.md

* Update common/math/interpolation/test/src/test_interpolation_utils.cpp

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* Update common/math/interpolation/test/src/test_interpolation_utils.cpp

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* Update common/math/interpolation/test/src/test_interpolation_utils.cpp

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* fix README.md

* dealt with reviews

* update README.md

* update README.md

* Update common/math/interpolation/README.md

* fix some bugs

* fix typo

* update README.md

* Update common/math/interpolation/README.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* fix test

* Update common/math/interpolation/README.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* fix cdots

* fix README.md

* Update common/math/interpolation/README.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Sync develop/fix interpolation and speed up calculation (#2290)

* debug slope calculation in behavior (#1566) (#1727)

* debug slope calculation in behavior (#1566)

* update

* update

* revert change of autoware_utils

* define getPose in behavior_path_planner

* update

* update

* update

* update

* interpolate z in obstacle_avoidance_planner

* update velocity controller

* fix detection area and scene

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/utilities.cpp

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* update comment in velocity controller

* remove debug print

* update

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix typo

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix variable names

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix uncrustify

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix mistake

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>

* add underscore to marker namespace (#1785)

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* [obstacle_avoidance_planner] remove useless get nearest idx (#1851)

* modify velocity insertion in obstacle_avoidance_planner

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* [obstacle_avoidance_planner] reduce calculation cost in relative/absolute transformation (#1844)

* implement relative/absolute transformation without yaw but directly sin/cos of yaw

* rename: relative_p to absolute_p

* assigin point.z to rel/abs_z

* fix cpp-lint error

Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix argument order (#1502) (#1622)

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* Change param (#1559) (#1677)

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>

* Feature/use spline module in behavior velocity planner (#1457) (#1495)

* Feature/use spline module in behavior velocity planner (#1457)

* Use spline_interpolation module

* Remove unused function

* Remove unused include

* Use autoware_utils

* Remove unused function

* Remove cubic_spline.hpp

* Fix error handling

* Fix interpolation of velocity

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* change warning threshold (#1539)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Apply lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Feature/porting behavior path planner (#1645)

* Add behavior path planner pkg with Lane Change (#1525)

* add lanelet extension funcs

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add planning msgs for FOA

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add behavior_path_planner pkg

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* apply clang format

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add error handling for config load failure

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* replace word: foa with remote control

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add readme

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use pointer for return value of path

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix hz

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove debug print

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove shide-shift & avoidance related files

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Clip path by goal

* add build depend for behavior tree cpp

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* temporally disable lint test in lanelet2_extension

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: rej55 <rej55.g@gmail.com>

* Add avoidance module in behavior_path_planner (#1528)

* Revert "remove shide-shift & avoidance related files"

This reverts commit d819ea0291fca251012e4b9ffd16de3896830aa2.

* refactor findNewShiftPoint func

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove duplicated decleration

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix barkward length issue
 - add clipPathLenght func in avoidance

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* refactor:
 - translate english
 - minor modification for traffic distance

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* support debug marker in behavior_path_planner

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* clean up side shift module

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* change topic name

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove japanese

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/include/behavior_path_planner/scene_module/side_shift/side_shift_module.hpp

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* fix typo

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove unused var

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* adress reviewer comments:
 - add const for variables
 - add comment
 - fix typo

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix typo

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Replace behavior_path utilities with autoware_utils (#1532)

* replace calcDistance

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* replace arange

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* replave convertToEigenPt with autoware_utils::fromMsg

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* replace normalizeRadian

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* cosmetic change

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* import #1526 into behavior path planner (#1531)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Fix/behavior path empty path output guard (#1536)

* add guard

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/behavior_path_planner.cpp

* fix lateral jerk calculation (#1549)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix: error handling on exception in behavior_path_planner (#1551)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Fix ignore too steep avoidance path (#1550)

* ignore too steep path

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp

* parametrize lateral jerk limit

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/include/behavior_path_planner/scene_module/avoidance/avoidance_module.hpp

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* use offsetNoThrow and add error log (#1615)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Ignore object ahead goal for avoidance (#1618)

* Ignore object ahead goal for avoidance

* Add flag

* Fix position of definition of goal_pose

* Fix arclength calculation

* Fix position of definition of goal_pose

* fix intersection stop line (#1636)

* fix intersection stop line

* fix typo

* add document (#1635)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Port behavior path planner to ros2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Apply lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix typo

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix map qos

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* debug slope calculation in behavior (#1566)

* update

* update

* revert change of autoware_utils

* define getPose in behavior_path_planner

* update

* update

* update

* update

* interpolate z in obstacle_avoidance_planner

* update velocity controller

* fix detection area and scene

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/src/utilities.cpp

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* update comment in velocity controller

* remove debug print

* update

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Address review: Fix config file name

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* pre-commit fixes

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix redeclaring parameters

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Add missing tf2 geometry function

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Apply lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix rclcpp Time initialization

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use now() instead of msg stamp

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Use throttle output in getExpandedLanelet

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Add missing const

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: rej55 <rej55.g@gmail.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>

* Fix/generate intersection stop (#1590) (#1679)

* Fix/generate intersection stop (#1590)

* fix bug of conflicting polygons

* clean code

* Fix lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Fix/stop margin time ros2 (#1683)

* Add stop margin time in walkway and merge_from_private_area (#1613)

* Add stop margin time in walkway, merge_from_private_area

* Fix param name

* Fix bug

* Apply lint

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>

* Feature/change stop lines handling to support parking car avoidance p… (#1676)

* Feature/change stop lines handling to support parking car avoidance path (#1464)

* support parking car avoidance

* change log level

* apply clang-format

* add extendLine function

* clean up & apply clang-format

* change implementation getStopPoseFromMap()

* remove unuse comment line

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* fix argument order (#1580)

Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: satoshi-ota <satoshi.ota@gmail.com>

* Feature/porting occlusion spot (#1740)

* Feature/occlusion_spot safety planner public road (#1594)

* add blind spot safety planner public road

* remove duplicated procesing

* remove unused private param

* renaming fix typo add comments

* fix spell check

* velocity -> relative velocity

* calc2d, To param, simplify search, To original

* add the num possible collision gurd

* computational cost reduction

* Cosmetic change for PossibleCollisionInfo

* add interpolation to possible collision value

* refactor codes

* fix details

* invalid point gurd

* To Param

* refacotor to occlusion spot util

* cosmetic change

* clean up blindspot

* To Occlusion Spot

* revise readme

* refactor drawing

* for better explanation

* fix velocity profile

* clean up details

* cosmetic change for debug marker

* use max velocity in obstacle info instead

* add gtest for Too Many Possible Collision case

* change case

* refactor readme

* minor fix

* add more occlusion spot explanation

* replace svg

* add gtest build path lanelet

* hotfix lateral distance and searching method

* update g test for lateral distance

* use faster search

* set more realistic param

* add lanelet subtype highway

* cosmetic change of reviews

* add occlusion spot module in private area (#1640)

* add occlusion spot in private

* For debugging change

* add spline interpolation to path

* add review changes

* adding minor change

* cosmetic change

* Vector to retval

* Blindspot To OcclusionSpot1

* To Occlusion Spot 2

* To Occlusions spot3

* update gtest with unified anchor

* remove anchor

* add test slice

* simplify interpolation

* Too Occlusion spot4

* add test buffer

* To Occlusion spot

* namespace gurd

* correct slice and add interpolation first

* handle self crossing with check for invation

* to ros debug stream

* removed unused interpolation

* add readme to plant uml

* cosmetic change

* minor change

* update readme

* review change

* change occlusion spot text color

* To Offset no Throw

* better debug marker

* catch only inversion error

* skip return in case of inversion

* for better grid

* simplify path lanelet at first

* remove std::cout

* for better path

* limit ego path inside target lanelet location

* remove last points

* cosmetic change for markers

* apply module for limited scene

* fix interpolation gurd

* for better params

* do not includes path behind

* remove dummy perception publisher

* Revert "remove dummy perception publisher"

This reverts commit 4acad985fe31dd9befaa21a16631495de6c3a117.

* replace hard coded occupancy grid option in psim

* remove respawn

* add arg to params and remove redundunt launch

* fix spell check

* fix default value

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Feature/occlusion spot private slice size param (#1703)

* add min slice size

* for a bit narrow lateral distance

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/config/occlusion_spot_param.yaml

Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>

Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>

* Rename files

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Porting to ros2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* pre-commit fixes

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix typo

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix launch namespace

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Fix parameter type

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/occlusion_spot/scene_occlusion_spot_in_private_road.cpp

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>

* fix function name and condition for detection area (#1758)

* Fix build warning for occlusion spot (#1766)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix passing uninitialized index (#1792)

* Fix passing uninitialized index

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Apply uncrustify

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix return value

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* Fix/intersection bug (#1787)

* fix insert point function

* apply format

* separate insertPoint and hasDuplicatedPoint

* clean code

* fix bug

* replace velocity if collision point is too close to original path point (#1799)

* replace velocity if collision point is too close to original path point

* fix comment

* Fix compile warnings (#1852)

Fix -Wunused-parameter

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Fix -Wunused-private-field

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Fix -Wunused-lambda-capture

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Fix -Wdelete-non-abstract-non-virtual-dtor

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Fix -Wrange-loop-construct

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Ignore lint error

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Document / behavior velocity planner (#1767)

update document

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* fix occlusion spot insert velocity ros2 (#1821)

* Fix/occlusion spot offset (#1824)

* merge calcCollisionFunction

* ConsiderSignedOffset

* add extractRoadTargetAndSignedOffset

* apply signed offset and fix longitudinal distance

* fix unapplied param

* update gtest

* consider offset until target road

* refactor for proper variable name

* fix typo

* remove unused first index

* fix closest

* fix diff

* fix velocity and height

* tune distance thershold

* fix colcon test

* apply param at the experiment

* fix unused and param

* Fix/current acc initialize (#1899)

* use boost::optional

* null guard

* fix typo

* Feature/improve intersection detection area (#1958)

* exclude ego_lanes from detection_area

* add empty handling

* remove unused function

* Fix for uncrustify

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>

* [behavior_velocity_planner] remove unnecessary graph search to reduce computational cost (#1980)

* remote unnecessary graph search

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* add var for graph id

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove unused stopline search for computational cost reduction

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* restore lane_ids iteration as it was

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* sort sidewalk slice by arc length (#1967)

* sort sidewalk slice by arc length

* handle invalid index

* divide offset to ego to closest to and closest to target

* fix cartesian distance to arc lane distance

* consider ego to target to ignore length

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/occlusion_spot/occlusion_spot_utils.cpp

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp>

* Fix/merge from private area (#2005)

* fix insert pos. of merge from private area

* exclude entrance of private road from path

* extract exit of private road

* Feature/intersection module detect obstacle (#1990)

* change the way to detect target objects in detection area

* check the angle of deteced objects

* ignore predicted path with low confidence

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/include/scene_module/intersection/scene_intersection.hpp

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/include/scene_module/intersection/scene_intersection.hpp

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/README.md

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* Update planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/include/scene_module/intersection/scene_intersection.hpp

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* fix format

* fix object position judge

* change function

* apply format

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>

* occlusion spot lower min ego velocity (#2140)

Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp>

* add behavior velocity planner utils (#2113)

* add gtest utils

* add state machine as utils

* add arc lane utils

* remove empty file

* add gtest for offset segment

* use calcdist2d in autoware util

* apply get point

* fix uncrustify

* fix conflict getPoint in behavior path

* apply commit suggestion

* slower than ros1

* use interpolation::slerp (#2161)

* Update traffic light state if ref stop point is ahead of previous one (#2197) (#2240)

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>

* Change formatter to clang-format and black (#2332)

* Revert "Temporarily comment out pre-commit hooks"

This reverts commit 748e9cdb145ce12f8b520bcbd97f5ff899fc28a3.

* Replace ament_lint_common with autoware_lint_common

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove ament_cmake_uncrustify and ament_clang_format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply Black

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix build errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix for cpplint

* Fix include double quotes to angle brackets

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Apply clang-format

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix build errors

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Add COLCON_IGNORE (#500)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* rename topic name twist -> odometry (#568)

Co-authored-by: Takayuki Murooka <takayuki.murooka@tier4.jp>

* Auto/behavior velocity (#605)

* port except for traffic light

* fix test

* update traffic light

* fix errors

* rename traffic message: final -> result

* fix package.xml

* twist -> odometry

* use confidence

* rename topic name of dynamic objects

* remove TODOs

* deal with probabilistic test failure

* deal with probabilistic test failure2

Co-authored-by: Takayuki Murooka <takayuki.murooka@tier4.jp>

* Sync .auto branch with the latest branch in internal repository (#691)

* add trajectory point offset in rviz plugin (#2270)

* sync rc rc/v0.23.0 (#2258)

* fix interpolation for insert point (#2228)

* fix interpolation for insert point

* to prev interpolation pkg

* Revert "to prev interpolation pkg"

This reverts commit 9eb145b5d36e297186015fb17c267ccd5b3c21ef.

Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: taikitanaka <ttatcoder@outlook.jp>

* fix topic name (#2266)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* Add namespace to diag for dual_return_filter (#2269)

* Add a function to make 'geometry_msgs::msg::TransformStamped' (#2250)

* Add a function to make 'geometry_msgs::msg::TransformStamped'
* Add 'child_frame_id' as an argument of 'pose2transform'

* Simplify marker scale initialization (#2286)

* Fix/crosswalk polygon (#2279)

* extend crosswalk polygon

* improve readability

* fix polygon shape

* Add warning when decel distance calculation fails (#2289)

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>

* [motion_velocity_smoother] ignore debug print (#2292)

* cosmetic change

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* cahnge severity from WARN to DEBUG for debug info

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* use util for stop_watch

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix map based prediction (#2200)

* fix map based prediction

* fix format

* change map based prediction

* fix spells

* fix spells in comments

* fix for cpplint

* fix some problems

* fix format and code for clang-tidy

* fix space for cpplint

* Update Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

* fix vector access method

* fix readme format

* add parameter

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>

* Update perception/object_recognition/prediction/map_based_prediction/Readme.md

Co-authored-by: Kazuki Miyahara <kmiya@out…
yn-mrse referenced this pull request in tier4/autoware.universe May 9, 2022
…ondition and behavior (#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
TomohitoAndo pushed a commit to TomohitoAndo/autoware.universe that referenced this pull request May 25, 2022
…ondition and behavior (autowarefoundation#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
TomohitoAndo pushed a commit to TomohitoAndo/autoware.universe that referenced this pull request May 25, 2022
…ondition and behavior (autowarefoundation#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
TomohitoAndo added a commit that referenced this pull request Jun 1, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
ktro2828 pushed a commit to ktro2828/autoware.universe that referenced this pull request Jun 7, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (autowarefoundation#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (autowarefoundation#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (autowarefoundation#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (autowarefoundation#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (autowarefoundation#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (autowarefoundation#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
angry-crab pushed a commit that referenced this pull request Jul 19, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
…ondition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (tier4#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (tier4#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (tier4#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (tier4#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (tier4#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…ondition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (tier4#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (tier4#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (tier4#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (tier4#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (tier4#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…ondition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (tier4#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (tier4#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (tier4#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (tier4#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (tier4#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
…ondition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
* fix(behavior_velocity): calculate detection area from the nearest point from ego (tier4#730)

* fix(behavior_velocity): calculate lateral distance from the beginning of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add argument of min_velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use veloicty from the nearest point from ego

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pass struct by reference

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix to interpolate point in util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped condition and behavior (tier4#700)

* fix(longitudinal_controller_node): parameterize stopped state entry condition

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(longitudinal_controller_node): simply set stopped velocity in STOPPED STATE

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(vehicle_cmd_gate): check time duration since the vehicle stopped

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs(autoware_testing): fix link (tier4#741)

* docs(autoware_testing): fix link

* fix typo

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix: trajectory visualizer (tier4#745)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(tier4_autoware_utils): modify build error in rolling (tier4#720)

* fix(tier4_autoware_utils): modify build error in rolling

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lanelet2_extension): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ekf_localizer): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planning_algorithms): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(interpolation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(freespace_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lane_departure_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(map_based_prediction): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ground_segmentation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(motion_velocity_smoother): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(multi_object_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(control_performance_analysis): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detected_object_validation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(goal_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(ndt_scan_matcher): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(route_handler): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_path_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(mission_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_avoidance_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_stop_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(obstacle_collision_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(shape_estimation): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(behavior_velocity_planner): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(path_distance_calculator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(detection_by_tracker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(surround_obstacle_checker): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(probabilistic_occupancy_grid_map): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_debug_tools): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(tier4_vehicle_rviz_plugin): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(pure_pursuit): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(trajectory_follower_nodes): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(occupancy_grid_map_outlier_filter): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_map_based_detector): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_error_monitor): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(planning_evaluator): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* fix(lidar_centerpoint): add target compile definition for geometry2

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity): handle the case when finding index failed (tier4#746)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* feat: add scene module of dynamic obstacle stop

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix warnings

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add temporary debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to go after stopping

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix parameter namespace

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use planner util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation when multiple obstacles are detected in one step polygon

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary debug

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option to apply limit jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Modify parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add feature to exclude obstacles outside of partition

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify search distance for partitions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* apply voxel grid filter to input points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* set smoother param by passing node instance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add parameter for velocity limit (temporary)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* avoid acceleration when stopping for obstacles

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix lateral distance to publish distance from vehicle side

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify the location to publish longitudinal distance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix calculation of stop index

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use current velocity for stop dicision

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add dynamic parameter for slow down limit

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add debug value to display passing dist

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* modify stopping velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update param

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use smoother in planner data

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use path with lane id instead of trajectory

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary data check

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* extend path to consider obstacles after the end of the path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename public member variables

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unused paramter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create detection area using util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of stop distance marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* make option for detection method easier to understand

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove parameter about whether to enable this feature

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* calculate and publish debug data in function

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add comment

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix visualization of detection area when calculation of stop distance failed

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add option whether to specify the jerk

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix format

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change parameter name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove dynamic reconfigure

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary includes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launcher for compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch and config for dynamic obstacle stop planner

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix finding package name

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change of util

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* relay points for simulation

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix position and color of stop line marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* pre-commit fixes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary comments

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix Copyright

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add documents for dynamic obstacle stop module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update documents

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: begin a sentence with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* docs: replace predicted with smoothed for path velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* create interface class to switch method

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* run compare map filter only when points method is used

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* delete unused functions

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename functions for inserting velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename parameter of path_size to max_prediction_time

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): dynamic obstacle stop planner docs

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): add ego vehicle description

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix(behavior_velocity_planner): change space to hyphen

Signed-off-by: Makoto Kurihara <mkuri8m@gmail.com>
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change smoothed to expected target velocity

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Start a sentence in figure with a capital letter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* use voxel distance based compare map

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* select detection method from param file

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* do not launch as default for now

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename dynamic_obstacle_stop to run_out

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary change

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* remove unnecessary changes

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix typo

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* change default to false

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update cmake to build run_out module

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add launch_run_out parameter

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* Add note for compare map filtered points

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* handle the change for virtual wall marker

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* rename the parameters for smoother

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* fix build error in humble

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* launch compare map only when run out module is enabled

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* add calculation time for modify path

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* update a document

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Makoto Kurihara <mkuri8m@gmail.com>
badai-nguyen pushed a commit to badai-nguyen/autoware.universe that referenced this pull request Aug 8, 2023
…dation#3467) (autowarefoundation#700)

* feat(behavior_path_planner): use no_parking_area for pull_over



* support no_stopping_area



---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
kosuke55 added a commit to kosuke55/autoware.universe that referenced this pull request Sep 12, 2023
…dation#3467) (autowarefoundation#700)

* feat(behavior_path_planner): use no_parking_area for pull_over



* support no_stopping_area



---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants