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: add node to limit trajectory velocity for apparent safety #690

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
431f1d1
Initial commit with barebone SafeVelocityAdjustorNode
maxime-clem Mar 22, 2022
6cb3ec0
Add debug topics, launch file, and config file
maxime-clem Mar 22, 2022
d01c9d3
Fix debug markers
maxime-clem Mar 23, 2022
9ab88d4
Fix dynamic parameters
maxime-clem Mar 23, 2022
af8ab05
Add proper collision detection and debug footprint
maxime-clem Mar 25, 2022
75d51f9
Add script to compare the original and adjusted velocity profiles
maxime-clem Mar 25, 2022
092fa11
Fix calculation of distance to obstacle
maxime-clem Mar 28, 2022
eb1e4bc
Add test for calculation collision distance
maxime-clem Mar 28, 2022
2722c3d
Add launch file to test the safe_velocity_adjustor with a bag
maxime-clem Mar 29, 2022
d2607e7
Cleanup code and add tests for forwardSimulatedVector
maxime-clem Mar 29, 2022
3bf0960
Simplify collision detection by not using a footprint polygon
maxime-clem Mar 30, 2022
1e656f0
Add filtering of the dynamic objects from the pointcloud
maxime-clem Mar 31, 2022
cb95908
[DEBUG] Print runtimes of expensive functions
maxime-clem Mar 31, 2022
00cfc4a
Add trajectory downsampling to boost performance + improve debug markers
maxime-clem Apr 1, 2022
893f76d
Modify velocity only from ego pose + distance parameter
maxime-clem Apr 5, 2022
2a63d11
Add 1st Eigen version of distanceToClosestCollision + benchmark
maxime-clem Apr 6, 2022
443d2e6
Switch to using contours from occupancy grid for collision checking
maxime-clem Apr 11, 2022
d399f61
Add buffer around dynamic obstacles to avoid false obstacle detection
maxime-clem Apr 12, 2022
fb1fdfe
Add parameter to limit the adjusted velocity
maxime-clem Apr 12, 2022
4bb4529
Use vehicle_info_util to get vehicle footprint
maxime-clem Apr 12, 2022
5cdc379
Calculate accurate distance to collision + add tests
maxime-clem Apr 12, 2022
9057796
Add parameter for the min velocity where a dynamic obstacle is ignored
maxime-clem Apr 13, 2022
4d62b50
Add README and some pictures to explain the node inner workings
maxime-clem Apr 13, 2022
0ad24e0
Update scenario_planning.launch.xml to run the new node
maxime-clem Apr 13, 2022
7036d26
Fix format of launch files
maxime-clem Apr 13, 2022
253beaa
Update launcher and rviz config used for debuging with bag
maxime-clem Apr 13, 2022
2325670
Cleanup debug publishing
maxime-clem Apr 14, 2022
05dfc53
Complete tests of collision_distance.hpp
maxime-clem Apr 14, 2022
584e14b
Add docstring + Small code cleanup
maxime-clem Apr 14, 2022
2ceb1c6
Improve test of occupancy_grid_utils
maxime-clem Apr 14, 2022
f235a9c
Fix bug when setting parameter callback before getting vehicle parame…
maxime-clem Apr 15, 2022
5f8a2f2
Rename safe_velocity_adjustor to apparent_safe_velocity_limiter
maxime-clem Apr 15, 2022
362cf55
Move declarations to cpp file (apparent_safe_velocity_limiter_node)
maxime-clem Apr 15, 2022
4dd7d6f
Move declarations to cpp file (occupancy_grid_utils)
maxime-clem Apr 15, 2022
bcb9cbd
Move declarations to cpp file (collision_distance)
maxime-clem Apr 15, 2022
a575c8c
Add exec of trajectory_visualizer.py in launch files
maxime-clem Apr 21, 2022
7040d3e
Mask trajectory footprint from the occupancy grid (might be expensive)
maxime-clem Apr 28, 2022
06c4dc9
Filter out the occupancy grid that is outside the envelope polygon
maxime-clem Apr 28, 2022
2e2099f
Add improved PolygonIterator using scan line algorithm
maxime-clem May 10, 2022
13d77b8
Use autoware_cmake for dependencies
maxime-clem May 12, 2022
d480b59
Improve performances of PolygonIterator
maxime-clem May 12, 2022
b0cf1cf
Lint scenario_planning.launch.xml
maxime-clem May 12, 2022
f9a0e64
Minor cleanup of PolygonIterator
maxime-clem May 14, 2022
84b2ea5
Use improved iterator + add benchmark (max/avg/med) to node
maxime-clem May 14, 2022
f7c912d
Minor code cleanup
maxime-clem May 16, 2022
448652f
Switch from set to vector/list in PolygonIterator
maxime-clem May 16, 2022
2efc874
Remove PolygonIterator and use implementation from grid_map_utils
maxime-clem May 26, 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
Prev Previous commit
Next Next commit
Use autoware_cmake for dependencies
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
  • Loading branch information
maxime-clem committed Jun 14, 2022
commit 13d77b8ab567db81e1d3fc9147780066ebf5baf9
4 changes: 2 additions & 2 deletions planning/apparent_safe_velocity_limiter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()
find_package(autoware_cmake REQUIRED)
autoware_package()

find_package(Boost REQUIRED)

Expand Down
2 changes: 1 addition & 1 deletion planning/apparent_safe_velocity_limiter/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>
<buildtool_depend>eigen3_cmake_module</buildtool_depend>

<depend>autoware_auto_perception_msgs</depend>
Expand Down