GithubHelp home page GithubHelp logo

obstacledet's Introduction

Obstacle Detection Functionality

This project provides obstacle detection functionality based on the fusion of laser scanner and point cloud data, suitable for scenarios where a cleaning robot needs to navigate around obstacles.

Overview Overview

Usage

Compilation

mkdir -p catkin_ws/src && cd catkin_ws/src
git clone https://github.com/SheldonFung98/ObstacleDet
cd ..
catkin_make
source devel/setup.sh

Launching

roslaunch obstacle_det detect.launch

Code Principle

Wall Detection Functionality

Method 1:

  1. Crop the point cloud ROI, downsample the point cloud within the ROI, and grid the point cloud.
  2. Use RANSAC to find a plane with normals pointing upwards, which serves as the ground.
  3. Elevate this plane (to ensure all ground points are filtered out) and filter out points below the plane.
  4. Project non-ground points onto the plane and publish the point cloud.

Method 2:

  1. Install the camera horizontally and set a threshold at a certain height; points below this threshold are considered as ground.

Debug Visualization Functionality

  1. Visualization information for obstacles can be obtained during debugging by subscribing to the topic /rgbd_pc/obstacle.
  2. Visualization information for ground can be obtained during debugging by subscribing to the topic /rgbd_pc/ground.

Communication Protocol

Input

Topic Name Type Description
/camera$/depth/points sensor_msgs/Image Point cloud data

Output

Topic Name Type Description
/rgbd_pc/obstacle sensor_msgs::PointCloud2 Point cloud for obstacle detection (debugging)
/rgbd_pc/ground sensor_msgs::PointCloud2 Point cloud for ground detection (debugging)
/rgbd_pc/laserCloud sensor_msgs::PointCloud2 Point cloud projected onto a 2D plane

obstacledet's People

Contributors

sheldonfung98 avatar

Watchers

 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.