Coder Social home page Coder Social logo

Comments (3)

peci1 avatar peci1 commented on June 18, 2024

Hi. The field should contain the contents of the URDF file, not the path to it. Give it a try and let me know if it works.

from robot_body_filter.

Patrick-Lascombe avatar Patrick-Lascombe commented on June 18, 2024

It works, thanks!
And I had another questions concerning the inner working of the node, and I didn't knew if it was better to open a new issue or to post it here.

When I'm working with cloudpoints2, are the points compared to the actual shapes of the urdf or are they compared to the bounding spheres around these shapes. I dug into the code but didn't find a clear answer to this.

from robot_body_filter.

peci1 avatar peci1 commented on June 18, 2024

The logic is implemented in

void RayCastingShapeMask::classifyPointNoLock(const Eigen::Vector3d& data,
.

If you enable shadow filtering, then all points have to be processed. If you only enable containment tests, there can be lots of computations saved.

Each shape, when you construct the model, constructs its bounding sphere. At the time of filtering, the model is "arranged" according to the TFs and all bounding spheres are merged. First, each point is compared to this "big sphere" (which is quite a cheap computation). Only points inside this big sphere are then passed for more detail analysis which decides whether the point lies inside the shape or not. Even in this detailed analysis, the point is first tested for being inside the shape's bounding sphere.

from robot_body_filter.

Related Issues (19)

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.