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

chore: sync beta branch beta/v0.33 with tier4/main #1489

Merged
merged 250 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
7135f72
feat(behavior_path _planner): divide planner manager modules into dep…
soblin Aug 1, 2024
983c90c
fix(autoware_lidar_centerpoint): place device vector in CUDA device s…
amadeuszsz Aug 1, 2024
aa2de28
fix(autoware_lidar_transfusion): place device vector in CUDA device s…
amadeuszsz Aug 1, 2024
b840acf
fix(autoware_behavior_velocity_intersection_module): fix funcArgNames…
kobayu858 Aug 1, 2024
8ed7e55
fix(learning_based_vehicle_model): fix passedByValue (#8244)
kobayu858 Aug 1, 2024
3d1d83d
fix(autoware_ground_segmentation): fix functionConst (#8291)
kobayu858 Aug 1, 2024
37614bc
fix(autoware_radar_fusion_to_detected_object): fix functionConst (#8287)
kobayu858 Aug 1, 2024
2692d3c
fix(autoware_freespace_planning_algorithms): fix functionConst (#8281)
kobayu858 Aug 1, 2024
24bfad3
fix(autoware_behavior_velocity_run_out_module): fix functionConst (#8…
kobayu858 Aug 1, 2024
5e1e22b
fix(behavior_path_planner, spellchecks): spell checks in behavior pat…
Owen-Liuyuxuan Aug 1, 2024
22052b9
fix(docs): autoware stop filter docs (#8302)
Owen-Liuyuxuan Aug 1, 2024
41fca7e
fix(doc): landmark localizer (#8301)
Owen-Liuyuxuan Aug 1, 2024
13ee518
refactor(smart_mpc_trajectory_folower): modify pacakge structure and …
kosuke55 Aug 1, 2024
96dae8d
fix(tier4_perception_launch): set `use_image_transport` in launch (#8…
MasatoSaeki Aug 1, 2024
50bf7b2
fix(autoware_velocity_smoother): fix passedByValue (#8207)
kobayu858 Aug 2, 2024
c7432e1
feat(autonomous_emergency_braking): add info marker and override for …
danielsanchezaran Aug 2, 2024
2e7eb3e
fix(autoware_behavior_velocity_occlusion_module): fix passedByValue (…
kobayu858 Aug 2, 2024
b00e8e9
fix(autoware_perception_rviz_plugin): fix passedByValue (#8192)
bathteayo Aug 2, 2024
f105db9
fix(autoware_obstacle_stop_planner): fix passedByValue (#8189)
kobayu858 Aug 2, 2024
2adb6f8
fix(autoware_pure_pursuit): fix redundantInitialization redundantInit…
veqcc Aug 2, 2024
1e297b1
docs(autonomous_emergency_braking): update readme for new param (#8330)
danielsanchezaran Aug 2, 2024
04a00ef
feat(shape_estimation): add ml shape estimation (#7860)
kaancolak Aug 2, 2024
ad574d7
fix(diagnostic_graph_aggregator): fix functionConst (#8279)
kobayu858 Aug 2, 2024
43439ac
fix(lane_change): relax finish judge (#8133)
zulfaqar-azmi-t4 Aug 2, 2024
f07fa8e
feat(lane_change): use different rss param to deal with parked vehicl…
zulfaqar-azmi-t4 Aug 2, 2024
87df6ad
feat(autonomous_emergency_braking): add some tests to aeb (#8126)
danielsanchezaran Aug 2, 2024
19a1550
fix(autoware_pointcloud_preprocessor): fix passedByValue (#8242)
kobayu858 Aug 4, 2024
f3dfbaf
fix(autoware_probabilistic_occupancy_grid_map): fix functionConst (#8…
kobayu858 Aug 4, 2024
5fd4b2a
fix(autoware_pointcloud_preprocessor): fix functionConst (#8280)
kobayu858 Aug 4, 2024
513a2f2
fix(autoware_vehicle_cmd_gate): fix passedByValue (#8243)
bathteayo Aug 5, 2024
d3afe89
fix(autoware_vehicle_cmd_gate): fix uninitMemberVar (#8339)
kobayu858 Aug 5, 2024
65140b3
fix(autoware_behavior_velocity_detection_area_module): fix uninitMemb…
kobayu858 Aug 5, 2024
f79f9bb
fix(autoware_behavior_velocity_speed_bump_module): fix uninitMemberVa…
kobayu858 Aug 5, 2024
3e30f32
fix(autoware_behavior_velocity_speed_bump_module): fix uninitMemberVa…
kobayu858 Aug 5, 2024
3efbad0
fix(autoware_behavior_velocity_stop_line_module): fix uninitMemberVar…
kobayu858 Aug 5, 2024
330ab85
fix(autoware_behavior_velocity_traffic_light_module): fix uninitMembe…
kobayu858 Aug 5, 2024
fd48788
fix(autoware_behavior_velocity_intersection_module): fix functionCons…
kobayu858 Aug 5, 2024
1fb846a
fix(autoware_obstacle_stop_planner): fix functionConst (#8282)
kobayu858 Aug 5, 2024
396263e
fix(autoware_motion_velocity_obstacle_velocity_limiter_module): fix u…
kobayu858 Aug 5, 2024
75348e5
fix(diagnostic_graph_aggregator): fix uninitMemberVar (#8313)
kobayu858 Aug 5, 2024
b43fff8
fix(autoware_behavior_velocity_no_stopping_area_module): fix uninitMe…
kobayu858 Aug 5, 2024
8d7bbe9
fix(autoware_behavior_velocity_no_drivable_lane_module): fix uninitMe…
kobayu858 Aug 5, 2024
0a0994c
fix(autoware_probabilistic_occupancy_grid_map): fix uninitMemberVar (…
kobayu858 Aug 5, 2024
b1e84ca
fix(autoware_multi_object_tracker): fix uninitMemberVar (#8335)
kobayu858 Aug 5, 2024
3d17d84
fix(autoware_traffic_light_visualization): fix passedByValue (#8241)
kobayu858 Aug 5, 2024
983b133
fix(autoware_multi_object_tracker): revert latency reduction logic an…
technolojin Aug 5, 2024
6aefc8a
ci: use self-hosted machine for build-and-test-differential-cuda (#8327)
mitsudome-r Aug 5, 2024
50a699d
fix(start/goal_planner): align geometric parall parking start pose wi…
kosuke55 Aug 5, 2024
9dba708
fix(autoware_ground_segmentation): fix uninitMemberVar (#8336)
kobayu858 Aug 5, 2024
e01f853
fix(autoware_compare_map_segmentation): fix uninitMemberVar (#8338)
kobayu858 Aug 5, 2024
3e79b8f
fix(freespace_planner): disable randomly failing tests (#8337)
maxime-clem Aug 5, 2024
2601642
perf(autoware_pointcloud_preprocessor): lazy & managed TF listeners (…
amadeuszsz Aug 5, 2024
ca32505
refactor(twist2accel)!: prefix package and namespace with autoware (#…
a-maumau Aug 6, 2024
ea8ff9d
fix(autoware_accel_brake_map_calibrator): fix redundantInitialization…
veqcc Aug 6, 2024
38f1e28
chore(ci): remove unnecessary redundantInitialization cppcheck suppre…
veqcc Aug 6, 2024
5a76869
fix(traffic_light_visualizer): remove cerr temporarily to avoid flood…
kminoda Aug 6, 2024
2705a63
fix(static_obstacle_avoidance): remove invalid small shift lines (#8344)
satoshi-ota Aug 6, 2024
a7a75ea
fix(static_obstacle_avoidance): check opposite lane (#8345)
satoshi-ota Aug 6, 2024
550f3f7
chore(codecov): ignore test directory in codecov (#8374)
yhisaki Aug 6, 2024
f7027ff
chore(readme): add codecov badge (#8375)
yhisaki Aug 6, 2024
d7bde29
fix(autoware_pointcloud_preprocessor): fix cppcheck warnings of funct…
taisa1 Aug 6, 2024
b29c84e
fix(autoware_detected_object_validation): fix cppcheck warnings of fu…
taisa1 Aug 6, 2024
f59209c
fix(autoware_traffic_light_occlusion_predictor): fix functionConst (#…
kobayu858 Aug 6, 2024
e88d482
fix(autoware_auto_common): fix cppcheck warnings of functionStatic (#…
taisa1 Aug 6, 2024
a165326
fix(docs): fox docs for autoware object range splitter (#8306)
Owen-Liuyuxuan Aug 6, 2024
0444e9f
fix(docs): fix docs for radar tracks msgs converter (#8305)
Owen-Liuyuxuan Aug 6, 2024
4c3057a
fix(doc, object_merger): fix object merger document path (#8292)
Owen-Liuyuxuan Aug 6, 2024
b68cce2
refactor(autoware_path_distance_calculator): prefix package and names…
esteve Aug 6, 2024
b7e159f
fix(autoware_obstacle_stop_planner): fix cppcheck warning of function…
taisa1 Aug 6, 2024
6fb8804
fix(diagnostic_graph_aggregator): fix cppcheck warning of functionSta…
taisa1 Aug 6, 2024
8cc3e49
fix(autoware_map_based_prediction): fix argument order (#8031)
yucedagonurcan Aug 7, 2024
389683f
fix: add autoware prefix (#8385)
ktro2828 Aug 7, 2024
a60cf68
fix(traffic_light_classifier): fix zero size roi bug (#7608)
technolojin Aug 7, 2024
e541300
refactor(lane_change): check start point directly after getting start…
zulfaqar-azmi-t4 Aug 7, 2024
847e2c9
fix(behavior_velocity_planner): fix cppcheck warnings of functionStat…
taisa1 Aug 7, 2024
dae2d06
fix(autoware_vehicle_cmd_gate): fix cppcheck warning of functionStati…
taisa1 Aug 7, 2024
c7513e0
fix(autoware_vehicle_cmd_gate): fix functionConst (#8253)
bathteayo Aug 7, 2024
e84d546
fix(autoware_compare_map_segmentation): fix cppcheck warnings of func…
taisa1 Aug 7, 2024
a335c84
fix(autoware_detection_by_tracker): fix cppcheck warning of functionS…
taisa1 Aug 7, 2024
12e4ae5
chore(lane_change): add codeowner (#8387)
zulfaqar-azmi-t4 Aug 7, 2024
f064f0e
refactor(lane_change): refactor debug print when computing paths (#…
zulfaqar-azmi-t4 Aug 7, 2024
9f7a103
fix(lane_change): skip path computation if len exceed dist to termina…
zulfaqar-azmi-t4 Aug 7, 2024
c2125a8
chore: update CODEOWNERS (#8343)
awf-autoware-bot[bot] Aug 7, 2024
f732b45
feat(default_ad_api): release adapi v1.5.0 (#8267)
isamu-takagi Aug 7, 2024
9730bc6
fix(autoware_multi_object_tracker): fix functionConst (#8290)
kobayu858 Aug 7, 2024
34c1b8b
fix(ndt_scan_matcher): apply interface change of ndt_omp (#8124)
a-maumau Aug 7, 2024
67f455d
refactor(pose2twist)!: prefix package and namespace with autoware (#8…
a-maumau Aug 7, 2024
7eb0ffc
fix(autoware_twist2accel): fix funcArgNamesDifferent (#8391)
kobayu858 Aug 7, 2024
47f847f
fix(traffic_light_visualization): fix funcArgNamesDifferent (#8156)
kobayu858 Aug 7, 2024
a067070
feat(gyro_odometer): fix to use diagnostics_module in localization_ut…
RyuYamamoto Aug 7, 2024
3410aad
fix(autoware_traffic_light_classifier): fix passedByValue (#8392)
kobayu858 Aug 7, 2024
ba5da74
feat(map_based_prediction): filter surrounding crosswalks for pedestr…
soblin Aug 7, 2024
1640c06
fix(ekf_localizer): add_delay_compensation_for_roll_and_pitch (#8095)
meliketanrikulu Aug 7, 2024
645af11
fix(tensorrt_common): fix unreadVariable (#8350)
kobayu858 Aug 7, 2024
022bd17
fix(autoware_planning_evaluator): fix unreadVariable (#8352)
kobayu858 Aug 8, 2024
861317d
fix(autoware_ground_segmentation): fix unreadVariable (#8353)
kobayu858 Aug 8, 2024
6f7ef5e
fix(autoware_smart_mpc_trajectory_follower): fix uninitMemberVar (#8346)
bathteayo Aug 8, 2024
40ed473
fix(route_handler): make new route continuous with previous route (#8…
rej55 Aug 8, 2024
c1f75e1
fix(autoware_tensorrt_yolox): fix unreadVariable (#8356)
kobayu858 Aug 8, 2024
848d914
chore(ci): remove funcArgNamesDifferent and passedByValue suppression…
veqcc Aug 8, 2024
05cf1bb
fix(autoware_universe_utils): fix constParameterReference (#8145)
kobayu858 Aug 8, 2024
4e5256f
fix(tensorrt classifier wrapper): fix unreadVariable (#8355)
kobayu858 Aug 8, 2024
9f32279
fix(autoware_smart_mpc_trajectory_follower): fix unusedStructMember (…
kobayu858 Aug 8, 2024
d20de29
fix(autoware_behavior_velocity_virtual_traffic_light_module): fix unu…
kobayu858 Aug 8, 2024
12b2f84
fix(autoware_freespace_planning_algorithms): fix unreadVariable (#8360)
kobayu858 Aug 8, 2024
278304e
chore(ci): remove unnecessary constParameterReference cppcheck suppre…
veqcc Aug 8, 2024
50a110a
perf(map_based_prediction): remove unncessary withinRoadLanelet() (#8…
soblin Aug 8, 2024
61aa1b7
fix(autoware_path_optimizer): fix unreadVariable (#8361)
kobayu858 Aug 8, 2024
473bee8
chore(ci): remove uninitMemberVar cppcheck suppression (#8405)
veqcc Aug 8, 2024
a5d77b4
perf(map_based_prediction): create a fence LineString layer and use r…
soblin Aug 8, 2024
3e3df5b
docs(autoware_multi_object_tracker): add default values on the schema…
tby-udel Aug 8, 2024
147403f
perf(map_based_prediction): use linear interpolation for path convers…
technolojin Aug 8, 2024
ba34878
fix(traffic_light_classifier): fix traffic light monitor warning (#8412)
zusizusi Aug 8, 2024
dcd56fe
fix(tensorrt_yolox): add run length encoding for sematic segmentation…
badai-nguyen Aug 8, 2024
e9dcf99
fix(autoware_elevation_map_loader): fix functionConst (#8293)
bathteayo Aug 8, 2024
ea52340
revert (map_based_prediction): use linear interpolation for path conv…
technolojin Aug 9, 2024
6b405dc
chore: update CODEOWNERS (#8398)
awf-autoware-bot[bot] Aug 9, 2024
6d1c1b3
fix(ring_outlier_filter): remove unnecessary resize to prevent zero p…
YoshiRi Aug 9, 2024
906ca65
fix(autoware_behavior_path_goal_planner_module): fix unreadVariable (…
kobayu858 Aug 9, 2024
5a7bb0f
fix(autoware_motion_velocity_obstacle_velocity_limiter_module): fix u…
kobayu858 Aug 9, 2024
8c5a24b
fix(autoware_velocity_smoother): fix unreadVariable (#8364)
kobayu858 Aug 9, 2024
c67141f
refactor(geo_pose_projector)!: prefix package and namespace with auto…
a-maumau Aug 9, 2024
0e54b7e
fix(autoware_pointcloud_preprocessor): fix unreadVariable (#8370)
kobayu858 Aug 9, 2024
fb2fc7d
fix(bluetooth_monitor): fix unreadVariable (#8371)
kobayu858 Aug 9, 2024
e0fa943
fix(system_monitor): fix unreadVariable (#8372)
kobayu858 Aug 9, 2024
7a4cb68
fix(system_monitor): fix unusedStructMember (#8401)
kobayu858 Aug 9, 2024
33df0cb
fix(lane_change): skip generating path if lane changing path is too l…
zulfaqar-azmi-t4 Aug 9, 2024
7f96352
feat(autoware_universe_utils): reduce dependence on Boost.Geometry (#…
mitukou1109 Aug 9, 2024
58276d5
perf(map_based_prediction): apply lerp instead of spline (#8416)
ktro2828 Aug 9, 2024
21c01aa
fix(autoware_multi_object_tracker): fix functionConst (#8424)
kobayu858 Aug 9, 2024
e5cd62f
feat(autoware_vehicle_cmd_gate): check the timestamp of input topics …
shtokuda Aug 9, 2024
7b93a0f
test(dynamic_obstacle_stop): add tests and do some refactoring (#8250)
maxime-clem Aug 9, 2024
e7addcb
chore(traffic_light_arbiter): missing name changes (#8278)
knzo25 Aug 11, 2024
9c95d21
fix(autoware_tracking_object_merger): add merge frame (#8418)
kaancolak Aug 11, 2024
13ac473
fix(autoware_universe_utils): fix memory leak of time_keeper (#8425)
yhisaki Aug 12, 2024
2c4e953
fix(traffic_light_occlusion_predictor): fix cppcheck warnings of func…
taisa1 Aug 13, 2024
1dc6db3
perf(static_obstacle_avoidance): improve logic to reduce computationa…
satoshi-ota Aug 13, 2024
9876c76
fix(lane_change): skip generating path if longitudinal distance diffe…
zulfaqar-azmi-t4 Aug 13, 2024
4241a1d
refactor(lane_change): separate leading and trailing objects (#8214)
zulfaqar-azmi-t4 Aug 13, 2024
7382d66
perf(autoware_map_based_prediction): improve orientation calculation …
technolojin Aug 13, 2024
7b1fc8c
chore(out_of_lane): add Mamoru SOBUE as maintainer (#8440)
maxime-clem Aug 13, 2024
318689a
fix(autoware_probabilistic_occupancy_grid_map): fix functionConst (#8…
kobayu858 Aug 13, 2024
adfd354
fix(autoware_livox_tag_filter): fix unusedStructMember (#8395)
kobayu858 Aug 13, 2024
5b14f88
fix(qp_interface): fix unreadVariable (#8349)
kobayu858 Aug 13, 2024
8a9efba
perf(out_of_lane): use rtree to get stop lines and trajectory lanelet…
maxime-clem Aug 13, 2024
3c0a78b
fix(static_obstacle_avoidance): change avoidance condition (#8433)
satoshi-ota Aug 13, 2024
bbc8525
fix(autoware_radar_fusion_to_detected_object): fix variableScope (#8429)
Nagi70 Aug 13, 2024
ca1d101
feat(autoware_universe_utils): add LRU Cache (#8456)
yhisaki Aug 13, 2024
3a30814
fix(goal_planner): fix lane departure check not working correctly due…
kosuke55 Aug 13, 2024
532c78c
fix(lane_departure_checker): fix uninitialized variables (#8451)
kosuke55 Aug 14, 2024
2ec46a9
ci(cppcheck): remove unnecessary suppressions (#8452)
veqcc Aug 14, 2024
6b31cf4
perf(map_based_prediction): improve world to map transform calculatio…
technolojin Aug 14, 2024
31263bd
feat(psim)!: change a setting parameter type from bool to string (#8331)
yuki-takagi-66 Aug 14, 2024
2a050d7
feat(freespace_planning_algorithms): use distance to nearest obstacle…
mkquda Aug 14, 2024
2c19f1e
feat(pose_initializer, ndt_scan_matcher): check initial pose result a…
RyuYamamoto Aug 14, 2024
5e400de
fix(tier4_planning_rviz_plugin): fix cppcheck warning of virtualCallI…
taisa1 Aug 14, 2024
07c1302
fix(tier4_system_rviz_plugin): fix cppcheck warning of virtualCallInC…
taisa1 Aug 14, 2024
c28606b
fix(tier4_vehicle_rviz_plugin): fix cppcheck warning of virtualCallIn…
taisa1 Aug 14, 2024
73127b7
fix(autoware_lane_departure_checker): not to show error message "traj…
T-Kimura-MM Aug 14, 2024
142795a
fix(autoware_pointcloud_preprocessor): fix variableScope (#8447)
kobayu858 Aug 14, 2024
93b9a5b
perf(autoware_map_based_prediction): speed up map based prediction by…
yhisaki Aug 14, 2024
a742e82
fix(turn_signal, lane_change, goal_planner): add optional to tackle l…
Owen-Liuyuxuan Aug 14, 2024
8fdebeb
fix(lane_change): unify stuck detection to avoid unnecessary computat…
zulfaqar-azmi-t4 Aug 14, 2024
f7998e9
fix(autoware_map_based_prediction): use surrounding_crosswalks instea…
yhisaki Aug 14, 2024
991cb94
refactor(autoware_map_based_prediction): map based pred time keeper p…
technolojin Aug 14, 2024
9d522ea
feat(autoware_test_utils): add qos handler in pub/sub (#7856)
YoshiRi Aug 15, 2024
58e0001
fix(lane_change): fix invalid doesn't have stop point (#8470)
zulfaqar-azmi-t4 Aug 15, 2024
1f32972
perf(autoware_map_based_prediction): enhance speed by removing unnece…
yhisaki Aug 15, 2024
59a04e5
refactor(geography_utils): prefix package and namespace with autoware…
esteve Aug 15, 2024
36f30d4
fix(autoware_tensorrt_yolox): fix variableScope (#8430)
Nagi70 Aug 15, 2024
3470824
fix(system_monitor): fix variableScope (#8448)
kobayu858 Aug 15, 2024
c656530
fix(autoware_multi_object_tracker): enable trigger publish when delay…
technolojin Aug 15, 2024
02abe1e
fix(lane_change): do not cancel when approaching terminal start (#8381)
zulfaqar-azmi-t4 Aug 15, 2024
5bc0b3f
fix(lane_change): moving object is filtered in the extended target la…
zulfaqar-azmi-t4 Aug 15, 2024
9fa7cc9
fix(autoware_motion_velocity_obstacle_velocity_limiter_module): fix f…
kobayu858 Aug 15, 2024
fb76734
refactor(tensorrt_yolox): move utils into perception_utils (#8435)
badai-nguyen Aug 15, 2024
4ea0772
feat(behavior_path_planner_common): add road_shoulder test map (#8454)
soblin Aug 15, 2024
0a7a51b
refactor(autoware_freespace_planner): rework parameters (#8296)
batuhanbeytekin Aug 15, 2024
3551d64
refactor(kinematic_evaluator): rework parameters (#8199)
batuhanbeytekin Aug 15, 2024
43fb315
chore(autoware_freespace_planning_algorithms): add missing dependency…
xmfcx Aug 15, 2024
a612530
perf(autoware_map_based_prediction): removed duplicate findNearest ca…
yhisaki Aug 15, 2024
0649ede
fix(autoware_detected_object_validation): fix functionStatic (#8482)
kobayu858 Aug 16, 2024
8e8e19e
feat(autoware_vehicle_cmd_gate): accept same topic unless mode chang…
shtokuda Aug 16, 2024
196b9fa
ci(cppcheck): remove unnecessary functionStatic suppression (#8500)
veqcc Aug 16, 2024
1bcc0f9
docs(autoware_multi_object_tracker): update input_channels schema wit…
technolojin Aug 16, 2024
be16b07
perf(goal_planner): reduce unnecessary recursive lock guard (#8465)
kosuke55 Aug 16, 2024
85e2660
fix(autoware_freespace_planning_algorithms): fix variableScope (#8431)
Nagi70 Aug 16, 2024
77059a1
refactor(lane_change): update filtered objects only once (#8489)
zulfaqar-azmi-t4 Aug 16, 2024
0c28bc9
feat(lane_change): ensure LC merging lane stop point is safe (#8369)
mkquda Aug 16, 2024
5b5cf71
refactor(safety_checker): remove redundant polygon creation (#8502)
zulfaqar-azmi-t4 Aug 16, 2024
860eeb7
fix(autoware_traffic_light_visualization): fix to visualize correct c…
ktro2828 Aug 16, 2024
6c5f9b1
fix(autoware_mission_planner): fix noConstructor (#8505)
kobayu858 Aug 16, 2024
2719e23
refactor(external_cmd_selector): rework parameters (#8198)
batuhanbeytekin Aug 16, 2024
e9fe665
feat(intersection): add test map for intersection (#8455)
soblin Aug 16, 2024
fd09a5b
fix(perception_utils): install library after build (#8501)
manato Aug 19, 2024
2f392a8
refactor(kalman_filter): prefix package and namespace with autoware (…
esteve Aug 19, 2024
095607f
fix(autoware_vehicle_cmd_gate): fix unreadVariable (#8351)
kobayu858 Aug 19, 2024
28170c3
fix(image_projection_based_fusion): handle projection errors in image…
technolojin Aug 19, 2024
a9bee9f
refactor(vehicle_cmd_gate): use smaller class for filter command (#8518)
TakaHoribe Aug 19, 2024
00f6d4d
fix(docs): fix docs for tensorrt yolox (#8304)
Owen-Liuyuxuan Aug 19, 2024
a6b0df9
fix(docs): fix dead links in behavior path planner manager (#8309)
Owen-Liuyuxuan Aug 19, 2024
a2ec903
fix(autoware_tensorrt_yolox): fix path to json schema files in README…
mitsudome-r Aug 19, 2024
776f5d8
feat(psim)!: preapre settings to launch localization modules on psim …
yuki-takagi-66 Aug 19, 2024
5dd947a
chore(autoware_multi_object_tracker): fix typo in input_channels.sche…
technolojin Aug 19, 2024
7424c48
refactor(behavior_path_planner): apply clang-tidy check (#7549)
soblin Aug 19, 2024
56ba7f9
refactor(autowre_accel_brake_map_calibrator): fix for flake-ros v0.9.…
kosuke55 Aug 19, 2024
5e1188f
feat(pointcloud_preprocessor)!: revert "fix: added temporary retrocom…
Shin-kyoto Aug 19, 2024
8ce80bd
docs(static_obstacle_avoidance): add FAQ section in document (#8514)
go-sakayori Aug 20, 2024
daa04dc
fix: updated pre-commit-hooks-ros version from v0.8.0 to v0.9.0 (#8527)
kosuke55 Aug 20, 2024
9a461b4
fix(behavior_velocity_planner): fix cppcheck warnings of virtualCallI…
taisa1 Aug 20, 2024
567de72
fix(autoware_behavior_velocity_planner_common): fix variableScope (#8…
kobayu858 Aug 20, 2024
d5d6fee
fix(autoware_velocity_smoother): fix variableScope (#8442)
kobayu858 Aug 20, 2024
4d1c7fc
fix(autoware_behavior_path_planner_common): fix variableScope (#8443)
kobayu858 Aug 20, 2024
8cb2b32
feat(behavior_path_planner_common): add calculateRoughDistanceToObjec…
kosuke55 Aug 20, 2024
1d87bdb
fix(lidar_apollo_instance_segmentation): fix critical bug (#8444)
kminoda Aug 20, 2024
12f4d23
fix(docs): fix documentation for traffic light visualization (#8303)
Owen-Liuyuxuan Aug 20, 2024
af01e3f
feat(intersection): fix topological sort for complicated intersection…
soblin Aug 20, 2024
d4a0443
fix(autoware_traffic_light_visualization): fix path to json schema pa…
mitsudome-r Aug 20, 2024
8abf07b
chore(autoware_pcl_extensions): refactored the pcl_extensions (#8220)
knzo25 Aug 20, 2024
8ba6168
refactor(autoware_pointcloud_preprocessor): rework blockage diag para…
vividf Aug 20, 2024
cd35388
refactor(autoware_pointcloud_preprocessor): rework voxel grid downsam…
vividf Aug 20, 2024
bd628e4
ci: use aws codebuild (#8498)
xmfcx Aug 20, 2024
f9f5622
chore(obstacle_velocity_limiter): add Alqudah Mohammad as codeowner (…
maxime-clem Aug 20, 2024
47113d7
fix(ground_segmentation): missing default parameters ERROR (#8538)
badai-nguyen Aug 20, 2024
df530c2
feat(dummy_perception_publisher): modify orientation availability of …
technolojin Aug 21, 2024
0b2d0d4
fix(autoware_motion_utils): fix unusedFunction (#8519)
Nagi70 Aug 21, 2024
978f181
fix(autoware_universe_utils): fix unusedFunction (#8521)
Nagi70 Aug 21, 2024
fb14444
fix(interpolation): fix unusedFunction (#8522)
Nagi70 Aug 21, 2024
37dae46
fix(reaction_analyzer): fix variableScope (#8450)
kobayu858 Aug 21, 2024
85de32e
ci(cppcheck): remove unnecessary virtualCallInConstructor suppression…
veqcc Aug 21, 2024
2c758e6
test(autoware_route_handler): add unit test for autoware route handle…
mkquda Aug 21, 2024
774f67f
feat(scenario_selector, freespace_planner): improve freespace planner…
mkquda Aug 21, 2024
24716ce
fix(diagnostic_graph_aggregator): fix noConstructor (#8508)
kobayu858 Aug 21, 2024
7c0bbab
perf(goal_planner): faster path sorting and selection (#8457)
kosuke55 Aug 21, 2024
8bad5a3
ci(cppcheck): remove unnecessary variableScope suppression (#8542)
veqcc Aug 21, 2024
b501569
ci(labeler): tag packages that require cuda (#8546)
yhisaki Aug 21, 2024
3e1c0e7
feat(motion_velocity_planner,planning_evaluator): add stop, slow_dow…
xtk8532704 Aug 21, 2024
f047525
fix(static_obstacle_avoidance): target object sorting (#8545)
go-sakayori Aug 21, 2024
098da32
feat(tier4_adapi_rviz_plugin, tier4_state_rviz_plugin): set timestamp…
Autumn60 Aug 21, 2024
55da586
fix(autoware_smart_mpc_trajectory_follower): fix unusedFunction (#8553)
kobayu858 Aug 21, 2024
cfe527b
chore(behavior_path_planner_common): update road_shoulder test_map (#…
soblin Aug 21, 2024
bb3d4b6
feat(static_obstacle_avoidance): update envelope polygon creation met…
go-sakayori Aug 21, 2024
d43ad18
fix(perception_online_evaluator): fix unusedFunction (#8559)
kobayu858 Aug 21, 2024
1cb1863
fix(yabloc_common): fix unusedFunction (#8560)
kobayu858 Aug 21, 2024
52c558d
refactor(lane_change): rename prepare_segment_ignore_object_velocity_…
zulfaqar-azmi-t4 Aug 21, 2024
39ef4e9
fix(intersection): additional fix for 8520 (#8561)
soblin Aug 21, 2024
556816d
fix(image_projection_based_fusion): add run length decoding for segme…
badai-nguyen Aug 21, 2024
95d08d4
feat(lane_change): consider deceleration in safety check for cancel (…
rej55 Aug 21, 2024
4230758
refactor(control/pid_longitudinal_controller): rework parameters (#6707)
oguzkaganozt Aug 21, 2024
bfaccc7
Merge pull request #1483 from tier4/sync-upstream
tier4-autoware-public-bot[bot] Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(freespace_planning_algorithms): use distance to nearest obstacle…
… to improve path planning (autowarefoundation#8089)

* refactor freespace planning algorithms

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix error

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* use vector instead of map for a-star node graph

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove unnecessary parameters

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* precompute average turning radius

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add threshold for minimum distance between direction changes

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* apply curvature weight and change in curvature weight

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* store total cost instead of heuristic cost

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix reverse weight application

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix parameter description in README

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* implement edt map to store distance to nearest obstacle for each grid cell

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* use obstacle edt in collision check

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add cost for distance to obstacle

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix formats

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add missing include

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* refactor functions

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add missing include

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* precompute number of margin cells to reduce out of range vertices check necessity

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add reset data function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add member function set() to AstarNode struct

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* implement adaptive expansion distance

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove unnecessary code

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* interpolate nodes with large expansion distance

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* minor refactor

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* ensure expansion distance is larger than grid cell diagonal

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* compute collision free distance to goal map

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* use obstacle edt when computing collision free distance map

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* minor refactor

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix expansion cost function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* set distance map before setting start node

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* refactor detect collision function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add missing variable initialization

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove declared but undefined function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove unnecessary checks

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* minor fix

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* refactor computeEDTMap function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove unnecessary code

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* set min and max expansion distance after setting costmap

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* refactor detectCollision function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove unused function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* change default parameter values

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix computeEDTMap function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* rename parameter

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* use linear function for obstacle distance cost

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* fix rrtstar obstacle check

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* remove redundant return statements

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* check goal pose validity before setting collision free distance map

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* declare variables as const where necessary

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* compare front and back lengths when setting min and max dimension

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* add docstring and citation for computeEDTMap function

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* suppress spell check

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

---------

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>
  • Loading branch information
mkquda and maxime-clem authored Aug 14, 2024
commit 2a050d78f3a119abeaafe4c8c4cb770bc9610758
2 changes: 2 additions & 0 deletions planning/autoware_freespace_planner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ None
| --------------------------- | ------ | ------------------------------------------------------- |
| `only_behind_solutions` | bool | whether restricting the solutions to be behind the goal |
| `use_back` | bool | whether using backward trajectory |
| `adapt_expansion_distance` | bool | if true, adapt expansion distance based on environment |
| `expansion_distance` | double | length of expansion for node transitions |
| `distance_heuristic_weight` | double | heuristic weight for estimating node's cost |
| `smoothness_weight` | double | cost factor for change in curvature |
| `obstacle_distance_weight` | double | cost factor for distance to obstacle |

#### RRT\* search parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
astar:
only_behind_solutions: false
use_back: true
adapt_expansion_distance: true
expansion_distance: 0.5
distance_heuristic_weight: 1.0
distance_heuristic_weight: 1.5
smoothness_weight: 0.5
obstacle_distance_weight: 1.5

# -- RRT* search Configurations --
rrtstar:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ void FreespacePlannerNode::initializePlanningAlgorithm()
extended_vehicle_shape.length += margin;
extended_vehicle_shape.width += margin;
extended_vehicle_shape.base2back += margin / 2;
extended_vehicle_shape.setMinMaxDimension();

const auto planner_common_param = getPlannerCommonParam();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <tf2/utils.h>

#include <algorithm>
#include <limits>
#include <vector>

namespace autoware::freespace_planning_algorithms
Expand Down Expand Up @@ -63,6 +64,8 @@ struct VehicleShape
double base_length;
double max_steering;
double base2back; // base_link to rear [m]
double min_dimension;
double max_dimension;

VehicleShape() = default;

Expand All @@ -74,6 +77,7 @@ struct VehicleShape
max_steering(max_steering),
base2back(base2back)
{
setMinMaxDimension();
}

explicit VehicleShape(
Expand All @@ -84,6 +88,19 @@ struct VehicleShape
max_steering(vehicle_info.max_steer_angle_rad),
base2back(vehicle_info.rear_overhang_m + margin / 2.0)
{
setMinMaxDimension();
}

void setMinMaxDimension()
{
const auto base2front = length - base2back;
if (base2back <= base2front) {
min_dimension = std::min(0.5 * width, base2back);
max_dimension = std::hypot(base2front, 0.5 * width);
} else {
min_dimension = std::min(0.5 * width, base2front);
max_dimension = std::hypot(base2back, 0.5 * width);
}
}
};

Expand Down Expand Up @@ -156,6 +173,16 @@ class AbstractPlanningAlgorithm
std::vector<IndexXY> & vertex_indexes_2d) const;
bool detectBoundaryExit(const IndexXYT & base_index) const;
bool detectCollision(const IndexXYT & base_index) const;
bool detectCollision(const geometry_msgs::msg::Pose & base_pose) const;

// cspell: ignore Toriwaki
/// @brief Computes the euclidean distance to the nearest obstacle for each grid cell.
/// @cite T., Saito, and J., Toriwaki "New algorithms for euclidean distance transformation of an
/// n-dimensional digitized picture with applications," Pattern Recognition 27, 1994
/// https://doi.org/10.1016/0031-3203(94)90133-3
/// @details first, distance values are computed along each row. Then, the computed values are
/// used to to compute the minimum distance along each column.
void computeEDTMap();

template <typename IndexType>
inline bool isOutOfRange(const IndexType & index) const
Expand Down Expand Up @@ -194,6 +221,12 @@ class AbstractPlanningAlgorithm
return is_obstacle_table_[indexToId(index)];
}

template <typename IndexType>
inline double getObstacleEDT(const IndexType & index) const
{
return edt_map_[indexToId(index)];
}

// compute single dimensional grid cell index from 2 dimensional index
template <typename IndexType>
inline int indexToId(const IndexType & index) const
Expand All @@ -216,6 +249,9 @@ class AbstractPlanningAlgorithm
// is_obstacle's table
std::vector<bool> is_obstacle_table_;

// Euclidean distance transform map (distance to nearest obstacle cell)
std::vector<double> edt_map_;

// pose in costmap frame
geometry_msgs::msg::Pose start_pose_;
geometry_msgs::msg::Pose goal_pose_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ struct AstarParam
// base configs
bool only_behind_solutions; // solutions should be behind the goal
bool use_back; // backward search
bool adapt_expansion_distance;
double expansion_distance;

// search configs
double distance_heuristic_weight; // obstacle threshold on grid [0,255]
double smoothness_weight;
double obstacle_distance_weight;
};

struct AstarNode
Expand All @@ -56,9 +58,11 @@ struct AstarNode
double x; // x
double y; // y
double theta; // theta
double gc = 0; // actual motion cost
double fc = 0; // total node cost
double dir_distance = 0; // distance traveled from last direction change
double gc = 0.0; // actual motion cost
double fc = 0.0; // total node cost
double dir_distance = 0.0; // distance traveled from last direction change
double dist_to_goal = 0.0; // euclidean distance to goal pose
double dist_to_obs = 0.0; // euclidean distance to nearest obstacle
int steering_index; // steering index
bool is_back; // true if the current direction of the vehicle is back
AstarNode * parent = nullptr; // parent node
Expand All @@ -82,46 +86,9 @@ struct NodeComparison
bool operator()(const AstarNode * lhs, const AstarNode * rhs) const { return lhs->fc > rhs->fc; }
};

struct NodeUpdate
{
double shift_x;
double shift_y;
double shift_theta;
double distance;
int steering_index;
bool is_back;

NodeUpdate rotated(const double theta) const
{
NodeUpdate result = *this;
result.shift_x = std::cos(theta) * this->shift_x - std::sin(theta) * this->shift_y;
result.shift_y = std::sin(theta) * this->shift_x + std::cos(theta) * this->shift_y;
return result;
}

NodeUpdate flipped() const
{
NodeUpdate result = *this;
result.shift_y = -result.shift_y;
result.shift_theta = -result.shift_theta;
return result;
}

NodeUpdate reversed() const
{
NodeUpdate result = *this;
result.shift_x = -result.shift_x;
result.shift_theta = -result.shift_theta;
result.is_back = !result.is_back;
return result;
}
};

class AstarSearch : public AbstractPlanningAlgorithm
{
public:
using TransitionTable = std::vector<std::vector<NodeUpdate>>;

AstarSearch(
const PlannerCommonParam & planner_common_param, const VehicleShape & collision_vehicle_shape,
const AstarParam & astar_param);
Expand All @@ -134,12 +101,15 @@ class AstarSearch : public AbstractPlanningAlgorithm
AstarParam{
node.declare_parameter<bool>("astar.only_behind_solutions"),
node.declare_parameter<bool>("astar.use_back"),
node.declare_parameter<bool>("astar.adapt_expansion_distance"),
node.declare_parameter<double>("astar.expansion_distance"),
node.declare_parameter<double>("astar.distance_heuristic_weight"),
node.declare_parameter<double>("astar.smoothness_weight")})
node.declare_parameter<double>("astar.smoothness_weight"),
node.declare_parameter<double>("astar.obstacle_distance_weight")})
{
}

void setMap(const nav_msgs::msg::OccupancyGrid & costmap) override;
bool makePlan(const Pose & start_pose, const Pose & goal_pose) override;

const PlannerWaypoints & getWaypoints() const { return waypoints_; }
Expand All @@ -150,27 +120,26 @@ class AstarSearch : public AbstractPlanningAlgorithm
}

private:
void setTransitionTable();
void setCollisionFreeDistanceMap();
bool search();
void expandNodes(AstarNode & current_node);
void expandNodes(AstarNode & current_node, const bool is_back = false);
void resetData();
void setPath(const AstarNode & goal);
bool setStartNode();
bool setGoalNode();
double estimateCost(const Pose & pose, const IndexXYT & index) const;
bool isGoal(const AstarNode & node) const;
Pose node2pose(const AstarNode & node) const;

double getExpansionDistance(const AstarNode & current_node) const;
double getSteeringCost(const int steering_index) const;
double getSteeringChangeCost(const int steering_index, const int prev_steering_index) const;
double getDirectionChangeCost(const double dir_distance) const;
double getObsDistanceCost(const double obs_distance) const;

// Algorithm specific param
AstarParam astar_param_;

// hybrid astar variables
TransitionTable transition_table_;
std::vector<AstarNode> graph_;
std::vector<double> col_free_distance_map_;

Expand All @@ -185,6 +154,20 @@ class AstarSearch : public AbstractPlanningAlgorithm
double steering_resolution_;
double heading_resolution_;
double avg_turning_radius_;
double min_expansion_dist_;
double max_expansion_dist_;

// the following constexpr values were found to be best by trial and error, through multiple
// tests, and are not expected to be changed regularly, therefore they were not made into ros
// parameters.

// expansion distance factors
static constexpr double base_length_max_expansion_factor_ = 0.5;
static constexpr double dist_to_goal_expansion_factor_ = 0.15;
static constexpr double dist_to_obs_expansion_factor_ = 0.3;

// cost free obstacle distance
static constexpr double cost_free_obs_dist = 5.0;
};
} // namespace autoware::freespace_planning_algorithms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,39 +31,26 @@ static constexpr double eps = 0.001;

inline double getTurningRadius(const double base_length, const double steering_angle)
{
return base_length / tan(steering_angle);
}

inline geometry_msgs::msg::Pose getPoseShift(
const double yaw, const double base_length, const double steering_angle, const double distance)
{
geometry_msgs::msg::Pose pose;
if (abs(steering_angle) < eps) {
pose.position.x = distance * cos(yaw);
pose.position.y = distance * sin(yaw);
return pose;
}
const double R = getTurningRadius(base_length, steering_angle);
const double beta = distance / R;
pose.position.x = R * sin(yaw + beta) - R * sin(yaw);
pose.position.y = R * cos(yaw) - R * cos(yaw + beta);
pose.orientation = autoware::universe_utils::createQuaternionFromYaw(beta);
return pose;
return base_length / std::tan(steering_angle);
}

inline geometry_msgs::msg::Pose getPose(
const geometry_msgs::msg::Pose & current_pose, const double base_length,
const double steering_angle, const double distance)
{
const double current_yaw = tf2::getYaw(current_pose.orientation);
const auto shift = getPoseShift(current_yaw, base_length, steering_angle, distance);
auto pose = current_pose;
pose.position.x += shift.position.x;
pose.position.y += shift.position.y;
if (abs(steering_angle) > eps) {
pose.orientation = autoware::universe_utils::createQuaternionFromYaw(
current_yaw + tf2::getYaw(shift.orientation));
const double yaw = tf2::getYaw(current_pose.orientation);
if (std::abs(steering_angle) < eps) {
pose.position.x += distance * std::cos(yaw);
pose.position.y += distance * std::sin(yaw);
return pose;
}

const double R = getTurningRadius(base_length, steering_angle);
const double beta = distance / R;
pose.position.x += (R * std::sin(yaw + beta) - R * std::sin(yaw));
pose.position.y += (R * std::cos(yaw) - R * std::cos(yaw + beta));
pose.orientation = autoware::universe_utils::createQuaternionFromYaw(yaw + beta);
return pose;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,19 @@ PYBIND11_MODULE(autoware_freespace_planning_algorithms_pybind, p)
.def_readwrite(
"only_behind_solutions", &freespace_planning_algorithms::AstarParam::only_behind_solutions)
.def_readwrite("use_back", &freespace_planning_algorithms::AstarParam::use_back)
.def_readwrite(
"adapt_expansion_distance",
&freespace_planning_algorithms::AstarParam::adapt_expansion_distance)
.def_readwrite(
"expansion_distance", &freespace_planning_algorithms::AstarParam::expansion_distance)
.def_readwrite(
"distance_heuristic_weight",
&freespace_planning_algorithms::AstarParam::distance_heuristic_weight)
.def_readwrite(
"smoothness_weight", &freespace_planning_algorithms::AstarParam::smoothness_weight);
"smoothness_weight", &freespace_planning_algorithms::AstarParam::smoothness_weight)
.def_readwrite(
"obstacle_distance_weight",
&freespace_planning_algorithms::AstarParam::obstacle_distance_weight);
auto pyPlannerCommonParam =
py::class_<freespace_planning_algorithms::PlannerCommonParam>(
p, "PlannerCommonParam", py::dynamic_attr())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@
astar_param = fp.AstarParam()
astar_param.only_behind_solutions = False
astar_param.use_back = True
astar_param.adapt_expansion_distance = True
astar_param.expansion_distance = 0.4
astar_param.distance_heuristic_weight = 1.0
astar_param.smoothness_weight = 1.0
astar_param.obstacle_distance_weight = 1.0

astar = fp.AstarSearch(planner_param, vehicle_shape, astar_param)

Expand Down
Loading