Skip to content

Commit

Permalink
refactor: move occ_grid_map package to perception folder
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshi Ri <yoshi.ri@tier4.jp>
  • Loading branch information
YoshiRi committed Sep 27, 2022
1 parent 47c77c7 commit 4f2f711
Show file tree
Hide file tree
Showing 28 changed files with 2,316 additions and 0 deletions.
51 changes: 51 additions & 0 deletions perception/probabilistic_occupancy_grid_map/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
cmake_minimum_required(VERSION 3.14)
project(probabilistic_occupancy_grid_map)

find_package(autoware_cmake REQUIRED)
autoware_package()

find_package(eigen3_cmake_module REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(PCL REQUIRED)

include_directories(
SYSTEM
${EIGEN3_INCLUDE_DIR}
)

# PointcloudBasedOccupancyGridMap
ament_auto_add_library(pointcloud_based_occupancy_grid_map SHARED
src/pointcloud_based_occupancy_grid_map/pointcloud_based_occupancy_grid_map_node.cpp
src/pointcloud_based_occupancy_grid_map/occupancy_grid_map.cpp
src/updater/occupancy_grid_map_binary_bayes_filter_updater.cpp
)

target_link_libraries(pointcloud_based_occupancy_grid_map
${PCL_LIBRARIES}
)

rclcpp_components_register_node(pointcloud_based_occupancy_grid_map
PLUGIN "occupancy_grid_map::PointcloudBasedOccupancyGridMapNode"
EXECUTABLE pointcloud_based_occupancy_grid_map_node
)

# LaserscanBasedOccupancyGridMap
ament_auto_add_library(laserscan_based_occupancy_grid_map SHARED
src/laserscan_based_occupancy_grid_map/laserscan_based_occupancy_grid_map_node.cpp
src/laserscan_based_occupancy_grid_map/occupancy_grid_map.cpp
src/updater/occupancy_grid_map_binary_bayes_filter_updater.cpp
)

target_link_libraries(laserscan_based_occupancy_grid_map
${PCL_LIBRARIES}
)

rclcpp_components_register_node(laserscan_based_occupancy_grid_map
PLUGIN "occupancy_grid_map::LaserscanBasedOccupancyGridMapNode"
EXECUTABLE laserscan_based_occupancy_grid_map_node
)

ament_auto_package(
INSTALL_TO_SHARE
launch
)
11 changes: 11 additions & 0 deletions perception/probabilistic_occupancy_grid_map/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# probabilistic_occupancy_grid_map

## Purpose

This package outputs the probability of having an obstacle as occupancy grid map.
![pointcloud_based_occupancy_grid_map_sample_image](./image/pointcloud_based_occupancy_grid_map_sample_image.gif)

## References/External links

- [Pointcloud based occupancy grid map](pointcloud-based-occupancy-grid-map.md)
- [Laserscan based occupancy grid map](laserscan-based-occupancy-grid-map.md)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4f2f711

Please sign in to comment.