This repository contains a ROS (Robot Operating System) wrapper for OpenPCDet, enabling real-time 3D object detection using point cloud data. OpenPCDet
is an open-source toolbox for 3D object detection from point cloud data.
With this ROS wrapper, you can seamlessly integrate OpenPCDet into your robotics applications to perform real-time 3D object detection using point cloud data from LiDAR or depth cameras.
- Real-time 3D object detection with point cloud data
- Easy integration with ROS-compatible devices
- Compatible with common ROS point cloud message types (e.g.,
sensor_msgs/PointCloud2
) - Configurable detection parameters for adapting to different environments and use cases
Please provide the following information to help us list the dependencies:
- ROS Noetic
- CUDA version (11.7)
- PyTorch version (1.13.1)
- Clone this repository into your ROS workspace's
src
directory:
cd ~/your_ros_workspace/src
git clone https://github.com/dom-lee/OpenPCDet_ros
- Install the required dependencies:
sudo apt-get install ros-<your_ros_distro>-jsk-rviz-plugins
sudo apt-get install ros-<your_ros_distro>-vision-msgs
- Build the package:
cd ~/your_ros_workspace
catkin_make
- Source the workspace:
source devel/setup.bash
- Launch the ROS wrapper for OpenPCDet:
roslaunch multiple-object-tracking kitti-raw.launch
-
Publish your point cloud data to the
/point_raw
topic using thesensor_msgs/PointCloud2
message type. -
Subscribe to the
/detect_3dbox
topic to receive detected 3D objects.
You can configure the ROS wrapper for OpenPCDet by modifying the parameters in the config/kitti-raw.yaml
file. These parameters include:
pointcloud_topic
: Input point cloud topic (default:/points_raw
)bbox_topic
: Output detected objects topic (default:/detect_3dbox
)threshold
: Minimum score for an object to be considered detected (default: 0.1)cfg_file
: Path to the OpenPCDet model configuration fileckpt_file
: Path to the OpenPCDet model weights file
If you encounter any issues or have questions, please open an issue on the GitHub repository.
This ROS wrapper for OpenPCDet is released under the MIT License. Please refer to the original OpenPCDet repository for information about its licensing.