Home

Awesome

object_builders_lib

 Object Orientation Corrected Bounding Box Fit for Point Cloud Clusters.

<p align="center"> <img src=".readme/MinMaxBox_vs_MinBox.png" width="688px" alt=""/> </p>

TODO list

<p align="left"> <img src="https://user-images.githubusercontent.com/6770853/36574754-27763efe-1882-11e8-8aa1-baf91eec25b1.png" width="588px" alt=""/> </p>

How to use

  1. git clone as a ROS package, with common_lib as dependency.
  2. find_package for this object_builders_lib local package.
    find_package(catkin REQUIRED COMPONENTS
        # ROS core
        roscpp
        # ROS messages
        #std_msgs
        #sensor_msgs
        # ROS PCL
        #pcl_conversions
        #pcl_ros
        # 3rd modules for ROS, like Eigen
        cmake_modules
        # local packages
        common_lib
        object_builders_lib
    )
    
  3. Use Point Cloud Clusters' Object Builder in your source code.
    // 1.include files
    #include "object_builders/base_object_builder.hpp"
    #include "object_builders/object_builder_manager.hpp"
    
    // 2.define object builder
    boost::shared_ptr<object_builder::BaseObjectBuilder> object_builder_;
    
    // 3.create object builder by manager
    object_builder_ = object_builder::createObjectBuilder();
    
    // 4.build 3D orientation bounding box for clustering point cloud
    std::vector<PointICloudPtr> cloud_clusters;
    std::vector<ObjectPtr> objects;
    object_builder_->build(cloud_clusters, &objects);