Coder Social home page Coder Social logo

rrt算法中的疑问 about chhrobotics HOT 1 OPEN

chh3213 avatar chh3213 commented on July 28, 2024
rrt算法中的疑问

from chhrobotics.

Comments (1)

CHH3213 avatar CHH3213 commented on July 28, 2024

你好,不好意思现在才注意到。两者还是有区别的。

  1. 将随机点直接与最近节点相连

我代码中的处理方式比较简单直接。当随机点与最近节点的距离小于步长时,直接将随机点作为新的节点添加到树中,并与最近节点相连。这样不需要进一步计算新节点的位置。缺点是可能会导致树的生长速度变慢,探索新区域的能力会受到一定限制。

  1. 沿着最近节点到随机点的方向继续扩展步长长度

我觉得这种方式的优点是可以较大限度地利用步长,提高了探索新区域的能力。不过因为需要进行额外的计算来确定新节点的位置,计算量会略微增加。

具体选择哪种可以依自己的情况而定。

from chhrobotics.

Related Issues (4)

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.