Giter Club home page Giter Club logo

Comments (2)

matlabbe avatar matlabbe commented on July 28, 2024

segmentFlatObstacles is used to segment planar objects like a table to be labeled as an obstacle instead of ground. All planes not coplanar to the biggest plane are considered as obstacles. To work, the camera must at least see always the ground and that the ground takes a big part of the camera image.

In the current code, holes are not segmented as obstacles. In your example, obstacles are detected on the other side of the hole, and the "hole" itself doesn't have any ground or obstacle points. Here is an idea:
hole
We could project the points hitting under the ground plane (on the hole's wall) on the ground plane and label them as obstacles. This could be done by finding the intersection of the rays with the ground plane (doing it only with points under the ground plane). If you are in a 2D environment, ray tracing for all points under z = 0 could be done.

On the move_base part:

  • laser : mark, don't clear
  • kinect_obstacles (obstacles over ground plane including the projected points above): mark, clear
  • kinect_ground: don't mark, clear

cheers

from rtabmap_ros.

mryellow avatar mryellow commented on July 28, 2024

Good stuff, sounds achievable in a usable way.

Lasers not clearing could throw up a few extra false-positives where move_base gets stuck trying to recover with a nearby non-existent collision, which then can't be cleared via the point_cloud/kinect/stereo input. Would have to rely on timeout clearing costmaps.

I'm by no means a mathematician but can brute-force my way through some Pythagoras when required. Got a lot on for the next month or 3, but will come back to this eventually if no one else does.

from rtabmap_ros.

Related Issues (20)

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.