- 4
- 0
- 约1.02千字
- 约 17页
- 2021-07-06 发布于江苏
- 举报
机器人学在Python中的实现(13):
Dynamic Window Approach;引言;DWA的原理;运动模型;运动模型;模型二;速度采样;1. 移动机器人自身可达到的最大速度与最小速度;评价函数;def calc_to_goal_cost(traj, goal, config):
# calc to goal cost. It is 2D norm.
dy = goal[0] - traj[-1, 0]#recent_update_position
dx = goal[1] - traj[-1, 1]#recent_update_position
goal_dis = math.sqrt(dx**2 + dy**2)
cost = config.to_goal_cost_gain * goal_dis
return cost;def calc_obstacle_cost(traj, ob, config):
# calc obstacle cost inf: collistion, 0:free
skip_n = 2
minr = float(inf)
for ii in range(0, len(traj[:, 1]), skip_n):
for i in range(len
您可能关注的文档
- PT222_RNN的实际应用-----计算机学习实战.pptx
- PT223_fastslam2.0-----计算机学习实战.pptx
- PT224_CS231n_Detection and Segmentation-----计算机学习实战.pptx
- PT224_graph based slam-----计算机学习实战.pptx
- PT225_我学udacity无人驾驶纳米学位课程(4)-----计算机学习实战.pptx
- PT227-Udacity-DNN-陈守钊-----计算机学习实战.pptx
- PT228_Grid based search-----计算机学习实战.pptx
- PT230_Optimal Trajectory in a Frenet Frame-----计算机学习实战.pptx
- PT230-Udacity-CNN-----计算机学习实战.pptx
- PT231-Model predictive trajectory generator-----计算机学习实战.pptx
最近下载
- 汽车焊装自动化生产线典型工艺.pptx VIP
- 国际市场营销学 (原书第18版)测试题及答案 Chapter 17 – Personal Selling and Sales Managemen.docx
- 国际市场营销学 (原书第18版)测试题及答案Chapter 8 – Developing a Global Vision through Marketing Research answerkey.docx
- 国际市场营销学 (原书第18版)测试题Chapter 10 – Europe, Africa, and the Middle East answerkey.docx
- 国际市场营销学 (原书第18版)测试题答案 Chapter 14 – Products and Services for Businesses_answerkey.docx
- 【语文含答案】2024年1月福建省普通高中学业水平合格性考试语文试题.docx VIP
- 培训课件材料1-白车身尺寸匹配控制.pptx VIP
- 通桥(2018)5403-III钢筋混凝土圆管涵.docx VIP
- 手足外科护理专题汇报.pptx VIP
- 2025年上海市春季高考数学试卷(含解析).docx VIP
原创力文档

文档评论(0)