Coder Social home page Coder Social logo

chhrobotics's Issues

关于e_y为什么为负数的个人理解

e_y = -l_d*math.sin(theta_e) # 与博客中公式相比多了个负号,我目前还不是太理解,暂时先放着

关于e_y为什么为负数的个人理解:
当theta_e为正时,前轮需要左转(正方向旋转),因为PID控制器的target设为了0,所以在PID控制器看来,当前的前轮转角状态相对而言应该是负数,即 —theta_e;右转同理。

rrt算法中的疑问

请问rrt算法中 当随机点与最近节点小于步长的时候,我看有的人写的时按照此时的方向继续向前扩展步长的长度,而您的代码是直接将随机点与最近节点相连,请问两者有区别吗?

你好,对于rrtstar的find_near_nodes我有一些疑问。

def find_near_nodes(self, new_node):
    """
    1) defines a ball centered on new_node
    2) Returns all nodes of the three that are inside this ball
        Arguments:
        ---------
            new_node: Node
                new randomly generated node, without collisions between
                its nearest node
        Returns:
        -------
            list
                List with the indices of the nodes inside the ball of
                radius r
    """
    nnode = len(self.node_list) + 1
    r = self.connect_circle_dist * math.sqrt((math.log(nnode) / nnode))

请问 这里nnode需要加1吗?len(self.node_list) 本身不就是节点数了吗?

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.