Giter Site home page Giter Site logo

TRRT hangs about ompl HOT 3 CLOSED

ompl avatar ompl commented on May 24, 2024
TRRT hangs

from ompl.

Comments (3)

mamoll avatar mamoll commented on May 24, 2024

Original comment by Ioan Sucan (Bitbucket: isucan, GitHub: isucan).


This actually seems to hang in NearestNeighborsGNAT:

0x00007ffff7a9cfb7 in ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node::nearestK(ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*> const&, ompl::geometric::TRRT::Motion* const&, unsigned long, std::priority_queue<std::pair<ompl::geometric::TRRT::Motion* const*, double>, std::vector<std::pair<ompl::geometric::TRRT::Motion* const*, double>, std::allocator<std::pair<ompl::geometric::TRRT::Motion* const*, double> > >, ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::DataDistCompare>&, std::priority_queue<std::pair<ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node*, double>, std::vector<std::pair<ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node*, double>, std::allocator<std::pair<ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node*, double> > >, ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::NodeDistCompare>&, bool&) const () from /home/isucan/repos/ompl/build/lib/libompl.so.6
(gdb) bt
#0  0x00007ffff7a9cfb7 in ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node::nearestK(ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*> const&, ompl::geometric::TRRT::Motion* const&, unsigned long, std::priority_queue<std::pair<ompl::geometric::TRRT::Motion* const*, double>, std::vector<std::pair<ompl::geometric::TRRT::Motion* const*, double>, std::allocator<std::pair<ompl::geometric::TRRT::Motion* const*, double> > >, ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::DataDistCompare>&, std::priority_queue<std::pair<ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node*, double>, std::vector<std::pair<ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node*, double>, std::allocator<std::pair<ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::Node*, double> > >, ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::NodeDistCompare>&, bool&) const () from /home/isucan/repos/ompl/build/lib/libompl.so.6
#1  0x00007ffff7a96317 in ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::nearestKInternal(ompl::geometric::TRRT::Motion* const&, unsigned long, std::priority_queue<std::pair<ompl::geometric::TRRT::Motion* const*, double>, std::vector<std::pair<ompl::geometric::TRRT::Motion* const*, double>, std::allocator<std::pair<ompl::geometric::TRRT::Motion* const*, double> > >, ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::DataDistCompare>&) const [clone .constprop.735] () from /home/isucan/repos/ompl/build/lib/libompl.so.6
#2  0x00007ffff7a9d958 in ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::nearestK(ompl::geometric::TRRT::Motion* const&, unsigned long, std::vector<ompl::geometric::TRRT::Motion*, std::allocator<ompl::geometric::TRRT::Motion*> >&) const ()
   from /home/isucan/repos/ompl/build/lib/libompl.so.6
#3  0x00007ffff7a96967 in ompl::NearestNeighborsGNAT<ompl::geometric::TRRT::Motion*>::nearest(ompl::geometric::TRRT::Motion* const&) const ()

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Is the distance function that TRRT uses always a metric? If not, then GNAT shouldn't be used. BalltreeRRT* used to hang because of this issue.

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Ioan Sucan (Bitbucket: isucan, GitHub: isucan).


Replacing this by #40. The code hanging was due to unlimited wait time for finding a solution, but the algorithm was failing.

from ompl.

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.