Giter VIP home page Giter VIP logo

ros_pc_det's Introduction

ROS real-time 3D point cloud detection

prequisites

  • ROS2(humble, foxy)
  • vision-msgs
  • vision-msgs-rviz-plugins
  • tf-transformation
  • sensor-msgs
  • mmdet3d(temporary) 1.0.0-rc6

build

1. install dependencies

rosdep install --from-paths src --ignore-src -r -y

Note:

If you are using Foxy distro instead of Humble, you need to manually build these dependencies:

  • vision-msgs
  • vision-msgs-rviz-plugins

2. rewrite config

In the patch 0.0.2, we introduced the ros2 params feature in order to avoid verbose build. You can rewrite the config file config.yaml in conf/ directory.

params

  1. pub_nuscenes_bin

    • time_period

      Time period for releasing the point cloud. In nuscenes source, it is the frequency of publishing point cloud; in real-time lidar scan, it is the scan frequency.

    • nus_lidar_path

      The path to the pointcloud folder. It should end with 'LIDAR_TOP'.

  2. infer_node

    • score_threshold

      The threshold of score for filtering the detection result.

    • mmdet3d_path

      The absolute path to the mmdet3d package.

    • config_file

      The relative path of config file in mmdet3d path.

    • checkpoint_file

      The absolute path to the checkpoint file.(.pth)

    • onnx_model(supported in v1.0.x)

      The absolute path to the onnxruntime model file.(.onnx)

3. build

colcon build --packages-select pc_det
. install/setup.bash

run

nuscenes demo source(nuscenes mini)

  1. base demo (mmdet3d api)
ros2 launch pc_det nuscenes_demo_launch.py
  1. ort-gpu infer (still bug)
ros2 launch pc_det nuscenes_ort_launch.py
  1. direct pc2 format inference(skip the file transform)
ros2 launch pc_det nuscenes_pc_launch.py
  1. run depthcam detection demo
ros2 launch pc_det depthcam_demo_launch.py

screenshots

screenshot

ros_pc_det's People

Contributors

kguniverse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.