Home

Awesome

segmenters_lib

CircleCI

  The LiDAR segmenters library, for segmentation-based detection.

<p align="center"> <img src=".readme/demo.gif" width="720px" alt=""/> </p>

How to use

  1. We name your ros workspace as CATKIN_WS and git clone as a ROS package, with common_lib and object_builders_lib as dependencies.
    $ cd $(CATKIN_WS)
    # we recommand you to organize your workspace as following
    $ mkdir -p src/common
    $ mkdir -p src/perception/libs
    
    # git clone basic libraries, like common_lib
    $ cd $(CATKIN_WS)/src/common
    $ git clone https://github.com/LidarPerception/common_lib.git libs
    
    # git clone perception libraries, segmenters_lib and its dependencies
    $ cd $(CATKIN_WS)/src/perception/libs
    $ git clone https://github.com/LidarPerception/roi_filters_lib.git roi_filters
    $ git clone https://github.com/LidarPerception/object_builders_lib.git object_builders
    $ git clone https://github.com/LidarPerception/segmenters_lib.git segmenters
    
    # build your ros workspace for our segmentation-based detection demo
    # uncomment add_subdirectory() in src/perception/libs/segmenters/CMakeLists.txt, git diff as following:
    -#add_subdirectory(example)
    +add_subdirectory(example)
    $ cd $(CATKIN_WS)
    $ catkin build -DCMAKE_BUILD_TYPE=Release
    
  2. Run demo under KiTTI raw dataset using kitti_ros's replayer.
    $ cd $(CATKIN_WS)/src
    $ git clone https://github.com/LidarPerception/kitti_ros.git
    # build your ros workspace for our segmentation-based detection demo
    $ cd ..
    $ catkin build -DCMAKE_BUILD_TYPE=Release
    
    • Terminal 1: KiTTI raw dataset replay, more tutorials.
      $ cd $(CATKIN_WS)
      $ source devel/setup.bash
      # change Mode for Keyboard Listening Device
      $ sudo chmod 777 /dev/input/event3
      # launch kitti_ros's kitti_player for frame-by-frame algorithm testing
      $ roslaunch kitti_ros kitti_player.launch
      
    • Terminal 2: launch Seg-based Detector demo.
      $ cd $(CATKIN_WS)
      $ source devel/setup.bash
      $ roslaunch segmenters_lib demo.launch
      
  3. Follow the demo example to use our LiDAR segmenters library.
    • Cascadingly use roi_filter, ground_remover and non_ground_segmenter for Point Cloud perception, like our Seg-based Detector: detection_node.
    • Refer to our CMakeLists.txt for building your own ros package using this library.
    <p align="center"> <img src=".readme/Segmentation-Learning-Tracking.png" width="580px" alt=""/> </p>

Parameters

TODO lists

Ground Segmenters

Non-ground Segmenters