树的应用——RRT算法

本文介绍了路径规划的重要性和常用地图结构,包括格网、Octree和点云。重点讲解了RRT算法的工作流程,通过随机采样和碰撞检测构建搜索树,并给出了伪代码和规划效果示例。最后提到了改进的RRT算法,如双树RRT和RRT*,以优化路径寻找和更新更优路径。
摘要由CSDN通过智能技术生成

起始页

Good afternoon, everyone. Today I’m going to introduce the application of the tree structure in path planning.

目录

The presentation will be divided into three parts : Overview, RRT algorithm, improved RRT algorithm.

Overview内容——1(机器人路径规划图)

As the name implies, path planning is to find a feasible path from the start position to the target position. With the rapid development of science and technology, more and more mobile robots are everywhere in people’s lives, and path planning is a crucial technology for mobile robots to successfully complete tasks.

Overview内容——2(3个图)

Here are some map structures commonly used in path planning.

The first is grid map. Each grid is in occupied state or idle state or unknown states.

The second is Octree Map structure.

Last is PointCloud.

Path planning by grid map in plane is used most.

Overview内容——3(四叉树规划)

Teacher Zhang mentioned quadtree in last class, which is used to divide space and then connecting blank block can get a path.

RRT算法——1(流程图)

RRT means Rapidly-exploring Random Tree. In RRT, the root node of the random tree presents the start point. Then leaf nodes are added through random sampling and collision detection to generate a random tree.

Here is a flow chart of RRT.

  1. Generate a random sampling point called NewNode, determine whether the point is in idle state. If not, resample NewNode.
  2. Traverse(遍历) the random tree and find the closest node to NewNode called ClosestNode.
  3. Check whether NewNode is within the step size limit of ClosestNode. If not, get a middle point to replace NewNode.
  4. Check whether there is an obstacle(障碍物) between NewNode and ClosestNode.If not, resample NewNode.
  5. If true, add NewNode to the random tree and set ClosestNode as the parent node of NewNode.
  6. Determine whether NewNode is within the step size limit of the end point.If true, perform collision detection on them. If true, the NewNode is set as the parent node of the end point, and the end point is added to the random tree to end the iteration. If not, continue iterating.

RRT算法——2(伪代码)

RRT算法——3(规画效果图)

  • As shown in image(如图所示),the green point is the start point, and the yellow point is the end point.
  • We can construct the random tree as KD-Tree to quickly search closet node.

改进的RRT算法

  • Double trees RRT, one construct random tree with the start point as root node. and another with the end point as the root node. Util the two trees meet.
  • RRT* obtains a set of adjacent nodes in the search tree within a circle whose radius is R and center is sampling node. Cut the nodes in the set and update the parent node of the node if there is a closer path to the start node.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值