-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(behavior_velocity): add jerk limit for occlusion spot deceleration #344
feat(behavior_velocity): add jerk limit for occlusion spot deceleration #344
Conversation
Codecov Report
@@ Coverage Diff @@
## tier4/proposal #344 +/- ##
=================================================
- Coverage 9.29% 6.87% -2.42%
=================================================
Files 700 75 -625
Lines 48932 5001 -43931
Branches 5817 685 -5132
=================================================
- Hits 4549 344 -4205
+ Misses 40572 4430 -36142
+ Partials 3811 227 -3584
Continue to review full report at Codecov.
|
3953b42
to
28eba15
Compare
Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp>
Signed-off-by: taikitanaka <ttatcoder@outlook.jp>
Signed-off-by: taikitanaka <ttatcoder@outlook.jp>
Signed-off-by: taikitanaka <ttatcoder@outlook.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
28eba15
to
0413ea5
Compare
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
SafeMotion sm = calculateSafeMotion(param.v, ttc); | ||
double distance_to_stop = arc_coord_occlusion_with_offset.length - sm.stop_dist; | ||
const double eps = 1e-3; | ||
if (distance_to_stop <= param.baselink_to_front) distance_to_stop = param.baselink_to_front + eps; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
21098c6 includes this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor change to show debug collision point better(from start to end)
5fc86e3
…point Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
planning/behavior_velocity_planner/test/src/test_risk_predictive_braking.cpp
Show resolved
Hide resolved
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
…ith margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
planning/behavior_velocity_planner/include/scene_module/occlusion_spot/occlusion_spot_utils.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
…-better-occlusion-spot-deceleration
planning/behavior_velocity_planner/include/scene_module/occlusion_spot/occlusion_spot_utils.hpp
Outdated
Show resolved
Hide resolved
planning/behavior_velocity_planner/config/occlusion_spot.param.yaml
Outdated
Show resolved
Hide resolved
...ng/behavior_velocity_planner/include/scene_module/occlusion_spot/risk_predictive_braking.hpp
Outdated
Show resolved
Hide resolved
planning/behavior_velocity_planner/config/occlusion_spot.param.yaml
Outdated
Show resolved
Hide resolved
…own method Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
...ng/behavior_velocity_planner/include/scene_module/occlusion_spot/risk_predictive_braking.hpp
Show resolved
Hide resolved
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@yukkysaito
|
…on (autowarefoundation#344) * fix(behavior_velocity): use general naming Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> * feat(behavior_velocity): safe velocity consider jerk limit Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): apply safe velocity and offset Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): consider delay response Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): update gtest of caliculation of velocity Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): add margin for debug viz Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix(behavior_velocity): fix stop dist Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): consider safety margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): revert lateral distance threshold param Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): use same velocity after passing safe margin point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): rename collision point to collision point with margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): add collision marker Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore(behavior_velocity): better expression of safe motion Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): fix better naming and change ego min slow down method Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc * doc(behavior_velocity): update figure Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* release v0.4.0 * Feature/phased timestamped velodyne (autowarefoundation#53) * Replace with new velodyne driver, cutting scan based on azimuth * Fix launch/dependences * Fix version name for tier4/velodyne_vls * Add velodyne_driver dependency * Nodelet tlr (autowarefoundation#56) * temporary commit tlr_nodelet Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * compressed to compressed Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * Update traffic_light.launch Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * fix bug Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * change image_transport to relay Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * fix bug Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * fix bug Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * decompress as rgb8 Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * fix bug Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> * use env for livox id (autowarefoundation#58) Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com> * Feature/optimize scan phase (autowarefoundation#59) * Rename parameter name, sensor_phase -> scan_phase Signed-off-by: Akihito Ohasto <aohsato@gmail.com> * Modify aip_xx1 scan_phase for better perception * Rename parameter name, sensor_phase -> scan_phase Signed-off-by: Akihito Ohasto <aohsato@gmail.com> * Logging simulator (autowarefoundation#65) * Add logging_simulator.launch Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * Don't load env when launch driver is false Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * removed ROS1 package Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Revert "removed ROS1 package" This reverts commit 225276afe774a2c9d7bc28ca59accffbdc14dc8a. * add COLCON_IGNORE file to all ROS1 packages Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * rename *.launch files to *.launch.xml Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Port sensing_launch (autowarefoundation#14) * [sensing_launch] Initial port without actually launching * [sensing_launch] default -> value, namespace, first nodelet porting * [sensing_launch] use usb_cam, eval -> var * [sensing_launch] Fix syntax errors in pointcloud_preprocessor.launch.py * [pointcloud-preprocessor] fix ground-filter component name * [pointcloud-preprocessor] Polish aip_s1/pointcloud_preprocessor.launch.py Only one error at runtime remains when testing on dev laptop due to pointclouds that need to be available for concatenation * [sensing_launch] ublox_gps refer to config file properly * (wip) velodyne_node_container before opaque * [sensing_launch] Port aip-s1 as far as possible * [sensing_launch] remove unused pointcloud_preprocessor_nodes.py * [sensing_launch] Manage to add ComposableNode conditionally * [sensing_launch] Update camera for s1, x1 * [sensing_launch] Copy aip_s1/ content to aip_customized, aip_x1, aip_x2 because they were identical before the porting * [sensing_launch] Port livox * [sensing_launch] Port aip_xx1 * [sensing_launch] Port aip_xx2 * [sensing_launch] Remove superfluous passthrough filter, min_z, max_z * [sensing_launch] Incorporate changes from vehicle testing * [sensing_launch] Declare launch argument for base_frame * [sensing_launch] Missing fixes to launch/velodyne* * [sensing_launch] Update copied configs * Added linters (autowarefoundation#32) * Ros2 v0.8.0 sensing launch (autowarefoundation#57) * restore file name Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Update livox_horizon.launch (autowarefoundation#89) * fix pass through filter launch (autowarefoundation#90) * fix pass through filter launch * change if statement style * update aip_x1 sensing launch (autowarefoundation#100) * fix livox launch arg (autowarefoundation#108) * add usb_cam depend (autowarefoundation#118) * update aip_x1 camera.launch (autowarefoundation#119) * update imu.launch (autowarefoundation#120) * fix veodyne setting in aip_x1/lidar.launch (autowarefoundation#125) * Add velodyne_monitor to velodyne_*.launch (autowarefoundation#101) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Uupdate aip_x1 lidar.launch (autowarefoundation#143) * Format gnss.launch (autowarefoundation#145) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add use_gnss arg to aip_x1 gnss.launch (autowarefoundation#146) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * support individual params (autowarefoundation#137) * support individual params * remove kvaser_hardware_id.txt * Launch velodyne_monitor only when launch_driver is true (autowarefoundation#163) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * [sensing_launch] ros2 porting: use container for livox point preprocessor Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * [sensing_launch] ros2-porting: fix vehicle_info params Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * Revert "restore file name" This reverts commit 37d7ac4f6a2a617b003b4e2a5ac96c48b332ade0. * [sensing_launch] ros2-porting: fix vehicle_info for livox preprocessor launch Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * [sensing_launch] ros2-porting: fix vehicle_info for api_** points_preprocessor.launch.py Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix launch Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix livox launch Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * added suffix ".xml" to "velodyne_monitor.launch" in the launch files * added use_sim_time with AW_ROS2_USE_SIM_TIME envvar for the parameters in the *.launch.py (autowarefoundation#61) * added use_sim_time with AW_ROS2_USE_SIM_TIME envvar for the parameters * changed to use EnvironmentVariable function for use_sim_time parameter * changed indent * removed an empty line Co-authored-by: hosokawa <hosokawa@sng-3f-ros2-eval.l.sng.tier4.jp> * fixed typo on the arg bd_code_param_path lines (autowarefoundation#63) Co-authored-by: hosokawa <hosokawa@sng-3f-ros2-eval.l.sng.tier4.jp> * [sensing_launch]: Fix indentation in gnss launch Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [sensing_launch]: Add missing dependency in package.xml Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [sensing_launch]: Fix velodyne launch Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [sensing_launch]: Fix livox launch Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [sensing_launch]: Add arg for vehicle parameter file in lidar launch Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [sensing_launch]: Cleanup Signed-off-by: Autoware <autoware@tier4.jp> * Add new line Signed-off-by: Autoware <autoware@tier4.jp> * [sensing_launch]: Add default config for xx1 Signed-off-by: Autoware <autoware@tier4.jp> * [sensing_launch]: Fix indentation Signed-off-by: Autoware <autoware@tier4.jp> Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: hiroyuki obinata <58019445+obi-t4@users.noreply.github.com> Co-authored-by: hosokawa <hosokawa@sng-3f-ros2-eval.l.sng.tier4.jp> Co-authored-by: HOSOKAWA Ikuto <hosokawa.ikuto@gmail.com> Co-authored-by: wep21 <border_goldenmarket@yahoo.co.jp> Co-authored-by: Autoware <autoware@tier4.jp> * Rename ROS-related .yaml to .param.yaml (autowarefoundation#65) * Rename ROS-related .yaml to .param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add missing '--' 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> * Fix livox param name Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Sync with Ros2 v0.8.0 beta (autowarefoundation#71) * update sensing launch to support aip_x1 (autowarefoundation#69) Signed-off-by: taichiH <azumade.30@gmail.com> * fix logging_simulator_bug (autowarefoundation#68) Signed-off-by: taichiH <azumade.30@gmail.com> * fix aip_x1 param (autowarefoundation#70) Signed-off-by: taichiH <azumade.30@gmail.com> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> * Fix aip_xx1's pointcloud_preprocessor.launch.py (autowarefoundation#72) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix velodyne launch (autowarefoundation#73) * fix velodyne launch * fix bug * add scan_phase arg * fix bug (autowarefoundation#85) * Use sensor data qos for pointcloud (autowarefoundation#82) Signed-off-by: Autoware <autoware@tier4.jp> Co-authored-by: Autoware <autoware@tier4.jp> * Remove unused remappings (autowarefoundation#88) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Livox composable node (autowarefoundation#87) * Fix default value of use_concat_filter and use_radius_search (autowarefoundation#90) * Fix default value of use_concat_filter and use_radius_search Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix lint Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * [aip_x1]: Fix imu topic name (autowarefoundation#94) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix various typos in launch files (autowarefoundation#97) * Move individual params to a separate package (autowarefoundation#100) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * add use_sim-time option (autowarefoundation#99) * Format launch files (autowarefoundation#178) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix bug of pointcloud_preprocessor.py (autowarefoundation#179) Signed-off-by: autoware <autoware@example.com> Co-authored-by: autoware <autoware@example.com> * Replace doc by description (autowarefoundation#182) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ros2 lsim test (autowarefoundation#186) * Add group to launch file for var scope Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Remove pointcloud relay for localization Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Add use_sim_time Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Remove pointcloud relay for localization Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp> Co-authored-by: Takagi, Isamu <isamu.takagi@tier4.jp> * Add multithread and intra process option (autowarefoundation#187) * Add multithread and intra process option Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix velodyne node container executable Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add option into aip_xx2 Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add option into aip_x2 Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add option into aip_x1 Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add option into aip_s1 Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add option into aip_customized Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add option into lidar.launch.xml Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix invalid attribute in gnss launch (autowarefoundation#191) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix parameter for scan phase (autowarefoundation#193) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * add septentrio_gnss_driver launcher and switch(septentrio <-> ublox) (autowarefoundation#196) * add septentrio_gnss_driver launcher and switch(septentrio <-> ublox) * rm arg(gnss_receiver) escalation and modify septentrio_gnss_driver_node option * change gnss_receiver default septentrio to ublox * remap all septentrio_gnss_driver topic names * replace septentrio gnss driver launch type 'node' to 'include' * Use set_parameter for use_sim_time (autowarefoundation#198) * Use set_parameter for use_sim_time Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add default parameter for scenario simulator Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Format launch files (autowarefoundation#228) * Format launch files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Format launch.py Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix lint Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix aip_xx1 camera launch (autowarefoundation#242) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix gnss topic name (autowarefoundation#243) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Enable intra process and mt (autowarefoundation#204) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * add imu_corrector (autowarefoundation#296) * add description for sensing_launch (autowarefoundation#336) * add description * fix sentence * add README.md and svg files (autowarefoundation#328) * add md and svg * fix typo * fix typo * fix word * fix typo * add lack of things * Update README * fix depending packages * fix word * Fix camera launch invalid type string (autowarefoundation#344) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * add view width direction to velodyne_node_container.launch.py etc... (autowarefoundation#366) * add arg of view_width and view_direction * delete initial value * add args and params Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com> * Fix pre-commit (autowarefoundation#407) * Fix pre-commit errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix package.xml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix pre-commit target (autowarefoundation#436) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove aip xx2 model from sensing launch (autowarefoundation#446) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add respawn for ublox (autowarefoundation#449) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * delete aip and modify package settings (autowarefoundation#434) * Change formatter to black (autowarefoundation#488) * Update pre-commit settings * Apply Black * Replace ament_lint_common with autoware_lint_common * Update build_depends.repos * Fix build_depends * feature/use common pointcloud container (autowarefoundation#147) * add container argument * load composable node to pointcloud_container * fix autoware_launch * enable multi-thread * improve readability * Update package.xml (autowarefoundation#150) * feat: add default param * feat: add aip_launcher depends * fix: add vehicle_info_util as exec_depend * fix: add velodyne_vls to build_depend.repos * fix: remove api_launcher at build_depends Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Co-authored-by: Akihito Ohsato <aohsato@gmail.com> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com> Co-authored-by: Frederik Beaujean <72439809+fred-apex-ai@users.noreply.github.com> Co-authored-by: Esteve Fernandez <esteve@apache.org> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: hiroyuki obinata <58019445+obi-t4@users.noreply.github.com> Co-authored-by: hosokawa <hosokawa@sng-3f-ros2-eval.l.sng.tier4.jp> Co-authored-by: HOSOKAWA Ikuto <hosokawa.ikuto@gmail.com> Co-authored-by: wep21 <border_goldenmarket@yahoo.co.jp> Co-authored-by: Autoware <autoware@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> Co-authored-by: autoware <autoware@example.com> Co-authored-by: Takagi, Isamu <isamu.takagi@tier4.jp> Co-authored-by: hiro-ya-iv <30652835+hiro-ya-iv@users.noreply.github.com> Co-authored-by: YamatoAndo <yamato.ando@gmail.com> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com> Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
…on (#344) * fix(behavior_velocity): use general naming Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> * feat(behavior_velocity): safe velocity consider jerk limit Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): apply safe velocity and offset Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): consider delay response Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): update gtest of caliculation of velocity Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): add margin for debug viz Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix(behavior_velocity): fix stop dist Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): consider safety margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): revert lateral distance threshold param Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): use same velocity after passing safe margin point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): rename collision point to collision point with margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): add collision marker Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore(behavior_velocity): better expression of safe motion Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): fix better naming and change ego min slow down method Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc * doc(behavior_velocity): update figure Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* release v0.4.0 * Add map diag (autowarefoundation#688) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Change default value of disengage_on_route (autowarefoundation#703) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Change localization diag namespace (autowarefoundation#718) * Change default value of output_diagnostics_topic Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove localization_diagnostic.js from web_controller Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Integrate localization diag to diagnostic_aggregator Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Delete old and unused publisher Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Support error in autoware state (autowarefoundation#728) * Support Error in autoware_state_monitor Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Refactor autoware_state_monitor Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Wait after planning completed Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Integrate FailedToArriveGoal and Error into Emergency state Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove override after arrived goal in autoware_state_monitor (autowarefoundation#737) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Improve autoware state monitor diag (autowarefoundation#792) * Add ok_list to stats Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Use key-value Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add ok_list Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * remove ROS1 packages temporarily Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Revert "remove ROS1 packages temporarily" This reverts commit 470b35a4a07baca60033f7b363dba2f4279ff9c7. 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 (autowarefoundation#28) * [WIP] ROS2 Porting: autoware_state_monitor (autowarefoundation#81) * Fix CMake and package.xml - Remove topic_tools deps in package.xml - Fix cmake refs - Build just core without other deps * Remove colcon ignore * Convert CMake to ament_cmake_auto * Fix package.xml with correct deps - Remove topic tools * Convert yaml files to be ROS2 compliant - Previous XmlRpc was used to collect yaml array like structures - Use _configs.names string array to locate config.<name>.<field> - Will need to convert the way the parametersa are retrieved * First pass - make compile * Port headers - Change the name of arrived goal for consistency - Port state machine - Port diagnostics wrapper methods * Add subscription, publisher and timers - Add simple parameters - Add back functionality - Add topic state functionality - Add functionality * Add configuration parameter implementations * Add launch files and clean up - Remove commented code from cmake and package.xml - Remove rosconsole.h * Clean up - Remove changes to autoware_sysytem_msgs - remove comments * Added types to the launch files - Make type arrays to allow for multiple types * Add rclcpp_generic implementation for subscriptions - Add the callback method back - Include exec_depends in package.xml * Clean up - Remove boost dependencies - Remove commented out dependencies - Remove comments * Rename h files to hpp (autowarefoundation#142) * Change includes * Rename files * Adjustments to make things compile * Other packages * Adjust copyright notice on 532 out of 699 source files (autowarefoundation#143) * Use quotes for includes where appropriate (autowarefoundation#144) * Use quotes for includes where appropriate * Fix lint tests * Make tests pass hopefully * Run uncrustify on the entire Pilot.Auto codebase (autowarefoundation#151) * Run uncrustify on the entire Pilot.Auto codebase * Exclude open PRs * Add linters and fix some clang-tidy warnings (autowarefoundation#205) * [autoware_state_monitor] fix parameter in autoware_state_monitor.planning_simulation.yaml (autowarefoundation#244) Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Modify autoware state monitor (autowarefoundation#288) * comment out param config Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * fix minor issues Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * change engage from bool to control msg (autowarefoundation#292) Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * Ros2 v0.8.0 autoware state monitor (autowarefoundation#277) * Ros2 v0.8.0 engage (autowarefoundation#342) * [autoware_vehicle_msgs]: Add engage message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [as]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [awapi_awiv_adapter]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [web_controller]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [vehicle_cmd_gate]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [autoware_state_monitor]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [autoware_control_msgs]: Remove EngageMode message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [simple_planning_simulator]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix invalid exception handling (autowarefoundation#344) * remove invalid exception handling Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * remove unnecessary topics Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * Ros2 v0.8.0 fix packages (autowarefoundation#351) * add subscription to QoS * add vihicle_param _file to simple_planning_sim * update cmake/packages.xml * comment out unused parameter * apply lint * add vehicle_info_util to lane_change_planner * add vehicle_info_util to vehicle_cmd_gate * fix cmake of simple planning simulator * update cmake/packages.xml of vehicle cmd gate * apply lint * apply lint * add latch option to autoware_state_monitor * delete unused comment * fix implement miss in autoware_state_monitor * Rename ROS-related .yaml to .param.yaml (autowarefoundation#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> * Ros2 v0.8.0 fix packages2 (autowarefoundation#354) * fix topic name * fix duration rate * fix sensing.yaml * fix topic name * add latch-option to autoware_state_monitor * fix timer callback * fix autoware state monitor config * fix sensing.yaml * Add parameter args to autoware_state_monitor.launch (autowarefoundation#1175) (autowarefoundation#385) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Feature/Add route cancel service (autowarefoundation#384) * Feature/Add route cancel service (autowarefoundation#1100) * Feature/Add route cancel service Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add guard Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix service name in launch Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * remove spin_some within service callback functions Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * apply ament_uncrustify Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * change wait time for state transition (autowarefoundation#416) * Sensor data qos (autowarefoundation#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> * Fix typo in system module (autowarefoundation#434) * Fix typo in system module * Change variable name * Move comments * Apply uncrustify * add use_sim-time option (autowarefoundation#454) * add missing topic to topic config list (autowarefoundation#1224) * remove pointcloud from state_monitor (autowarefoundation#1236) * Remove use_sim_time for set_parameter (autowarefoundation#1260) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Use integrated generic subscription (autowarefoundation#1342) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * suppress warnings for autoware_state_monitor (autowarefoundation#1722) * suppress warnings for autoware_state_monitor * fix style * re fix style * Fix -Wunused-parameter (autowarefoundation#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> * Sync v1.3.0 (autowarefoundation#1909) * Add elevation_map to autoware_state_monitor (autowarefoundation#1907) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * Disable saving elevation map temporarily (autowarefoundation#1906) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * sync rc (autowarefoundation#1930) * Remove elevation_map from autoware_state_monitor (autowarefoundation#1922) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * Use base_ref (autowarefoundation#1925) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Add autoware api (autowarefoundation#1979) * suport auto recovery on autoware_state_monitor (autowarefoundation#2006) * disable emergency check if hazard_status is not received (autowarefoundation#2024) * suppress warnings for system directory autowarefoundation#2046 * add sort-package-xml hook in pre-commit (autowarefoundation#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 * Added warning about lookupTransform failure in autoware_status_monitor (autowarefoundation#2099) * 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> * [autoware state monitor] support autoware.auto msg (autowarefoundation#521) * support autoware.auto msg * add readme * remove unused code * remove emergency state * stop to subscribe hazard_status * remove VehicleStateReport/VehicleStateCommand/VehicleControlCommand (autowarefoundation#549) * fix autoware_error_monitor * fix state monitor * fix emergency handler(vehicle_state_report) * fix emergency Handler(vehicle_state_command) * fix shift_decider * fix emergency_handler(vehicle_control_command) * fix topic name * fix readme * Update system/autoware_state_monitor/Readme.md Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * fix format * Update system/autoware_state_monitor/launch/autoware_state_monitor.launch.xml Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * fix typo Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * [autowere_web_controller/autoware_state_monitor/emergency_handler]fix some packages (autowarefoundation#603) * fix vehicle_engage.js * fix autoware_state_monitor param * fix emergency_handler * oh * update autoware_state.js * [autoware_state_monitor]route -> had_map_route (autowarefoundation#635) * route -> had_map_route * Rename Readme.md to README.md Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> * Fix autoware monitors readme (autowarefoundation#629) * Fix readme of autoware_state_monitor * Fix readme of autoware_error_monitor * adapt to actuation cmd/status as control msg (autowarefoundation#646) * adapt to actuation cmd/status as control msg * fix readme * fix topics * fix remaing topics * as to pacmod interface * fix vehicle status * add header to twist * revert gyro_odometer_change * revert twist topic change * revert unchanged package * Fix topic name in autoware_state_monitor (autowarefoundation#667) * Fix no ground pointcloud topic name (autowarefoundation#733) Signed-off-by: j4tfwm6z <proj-jpntaxi@tier4.jp> Co-authored-by: j4tfwm6z <proj-jpntaxi@tier4.jp> * fix/rename segmentation namespace (autowarefoundation#742) * rename segmentation directory * fix namespace: system stack * fix namespace: planning * fix namespace: control stack * fix namespace: perception stack * fix readme Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: Nikolai Morin <nnmmgit@gmail.com> Co-authored-by: Jilada Eccleston <jilada.eccleston@gmail.com> Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> Co-authored-by: Kosuke Murakami <kosuke.murakami@tier4.jp> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Autoware <autoware@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> Co-authored-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com> Co-authored-by: Yohei Mishina <66298900+YoheiMishina@users.noreply.github.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: j4tfwm6z <proj-jpntaxi@tier4.jp> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
…on (autowarefoundation#344) * fix(behavior_velocity): use general naming Signed-off-by: taikitanaka3 <taiki.tanaka@tier4.jp> * feat(behavior_velocity): safe velocity consider jerk limit Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): apply safe velocity and offset Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): consider delay response Signed-off-by: taikitanaka <ttatcoder@outlook.jp> * feat(behavior_velocity): update gtest of caliculation of velocity Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): add margin for debug viz Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix(behavior_velocity): fix stop dist Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): consider safety margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): revert lateral distance threshold param Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * feat(behavior_velocity): use same velocity after passing safe margin point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): rename collision point to collision point with margin Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): add collision marker Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore(behavior_velocity): better expression of safe motion Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * chore(behavior_velocity): fix better naming and change ego min slow down method Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * doc(behavior_velocity): update doc * doc(behavior_velocity): update figure Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: taikitanaka3 <taiki.tanaka@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…owarefoundation#344) feat!(simulator_launch): replace ogm with simulation ogm sensor Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
* ci: split Humble workflows Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix container Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * remove env Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Related Issue(required)
#258
Description(required)
add safe motion for velocity/stop margin for time delay, constant jerk and constant acceleration .
This PR improves
wont change
Review Procedure(required)
Launch Psim and see behavior is natural
Debug Markers
s: longitudinal to occlusion spot collision point at ego
d: lateral distance to occlusion spot
v: safe velocity for occlusion spot
m: safe margin for ego to stop using emergency brake if pedestrian coming out
colcon test --packages-select "$PKG" --event-handlers console_direct+
see that case below is tested and successful
Unit test parameters expected result
Related PR(optional)
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.
If you are adding new package following items are required:
Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.
Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.
CI Checks