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

feat(map_based_prediction): refactoring map based prediction #491

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b38f82c
udpate map based prediction
purewater0901 Mar 7, 2022
92a4885
fix CMakeLists.txt
purewater0901 Mar 7, 2022
0824f34
fix format
purewater0901 Mar 7, 2022
a6102a4
clean code
purewater0901 Mar 7, 2022
7519937
use autoware utils in debug.cpp funcion
purewater0901 Mar 8, 2022
5d2a6ae
use autoware utils function
purewater0901 Mar 8, 2022
79d6111
use offset pose
purewater0901 Mar 8, 2022
811b714
clean generate straight line function
purewater0901 Mar 8, 2022
0ba3296
clean calculate object yaw function
purewater0901 Mar 8, 2022
b986db1
update readme
purewater0901 Mar 8, 2022
876c209
clean code
purewater0901 Mar 9, 2022
eac830a
add several const variables
purewater0901 Mar 9, 2022
88d0728
add new folder
purewater0901 Mar 11, 2022
1a4ffda
add compile option
purewater0901 Mar 11, 2022
e5d3973
udpate map based prediction
purewater0901 Mar 7, 2022
dd4bea9
fix CMakeLists.txt
purewater0901 Mar 7, 2022
a1ef534
fix format
purewater0901 Mar 7, 2022
80ed6ab
clean code
purewater0901 Mar 7, 2022
b99de29
use autoware utils in debug.cpp funcion
purewater0901 Mar 8, 2022
05ae178
use autoware utils function
purewater0901 Mar 8, 2022
bd01272
use offset pose
purewater0901 Mar 8, 2022
dd0d4af
clean generate straight line function
purewater0901 Mar 8, 2022
7926fab
clean calculate object yaw function
purewater0901 Mar 8, 2022
41ebfe4
update readme
purewater0901 Mar 8, 2022
b50447a
clean code
purewater0901 Mar 9, 2022
2ce260d
add several const variables
purewater0901 Mar 9, 2022
5340604
add new folder
purewater0901 Mar 11, 2022
c44c329
add compile option
purewater0901 Mar 11, 2022
f65eb29
remove unnecessary arguments
purewater0901 Mar 11, 2022
2b8302f
remove unnecessary arguments
purewater0901 Mar 11, 2022
8edc5b4
fix confidence value
purewater0901 Mar 16, 2022
75ec32f
Merge branch 'main' into feature/updated_map_based_prediction
purewater0901 Mar 16, 2022
dae7f49
add block for minus velocity obstacle
purewater0901 Mar 16, 2022
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
8 changes: 5 additions & 3 deletions perception/map_based_prediction/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
yukkysaito marked this conversation as resolved.
Show resolved Hide resolved
endif()
Expand All @@ -16,12 +17,13 @@ ament_auto_find_build_dependencies()
find_package(Eigen3 REQUIRED)

ament_auto_add_library(map_based_prediction_node SHARED
src/map_based_prediction_ros.cpp
src/map_based_prediction.cpp
src/map_based_prediction_node.cpp
src/path_generator.cpp
src/debug.cpp
)

rclcpp_components_register_node(map_based_prediction_node
PLUGIN "map_based_prediction::MapBasedPredictionROS"
PLUGIN "map_based_prediction::MapBasedPredictionNode"
EXECUTABLE map_based_prediction
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@

| Parameter | Type | Description |
| ------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------ |
| `enable_delay_compensation` | bool | flag to enable the time delay compensation for the position of the object |
| `prediction_time_horizon` | double | predict time duration for predicted path [s] |
| `prediction_sampling_delta_time` | double | sampling time for points in predicted path [s] |
| `min_velocity_for_map_based_prediction` | double | apply map-based prediction to the objects with higher velocity than this value |
| `dist_threshold_for_searching_lanelet` | double | The threshold of the angle used when searching for the lane to which the object belongs [rad] |
| `delta_yaw_threshold_for_searching_lanelet` | double | The threshold of the distance used when searching for the lane to which the object belongs [m] |
| `sigma_lateral_offset` | double | Standard deviation for lateral position of objects [m] |
| `sigma_yaw_angle` | double | Standard deviation yaw angle of objects [rad] |
| `object_buffer_time_length` | double | Time span of object history to store the information [s] |
| `history_time_length` | double | Time span of object information used for prediction [s] |
| `dist_ratio_threshold_to_left_bound` | double | Conditions for using lane change detection of objects. Distance to the left bound of lanelet. |
| `dist_ratio_threshold_to_right_bound` | double | Conditions for using lane change detection of objects. Distance to the right bound of lanelet. |
Expand Down
257 changes: 0 additions & 257 deletions perception/map_based_prediction/include/cubic_spline.hpp

This file was deleted.

86 changes: 0 additions & 86 deletions perception/map_based_prediction/include/map_based_prediction.hpp

This file was deleted.

Loading