路径跟随-stanley control原理、代码实现、调优技巧、不同跟随方法对比

视频讲解

路径跟随-stanley control原理、代码实现、调优技巧、不同跟随方法对比_哔哩哔哩_bilibili路径跟随-stanley control原理、代码实现、调优技巧、不同跟随方法对比共计2条视频,包括:路径跟随-stanley control原理、代码实现、调优技巧、不同跟随方法对比、小半径圆弧路径跟踪等,UP主更多精彩视频,请关注UP账号。icon-default.png?t=N7T8https://www.bilibili.com/video/BV1Ba4y1D7pv/?spm_id_from=333.999.0.0

见笔记运动规划;

见笔记开源项目总结-bilibili课程-;

ribbon跟踪,对stanley改进

【video】自动驾驶汽车预测-决策-规划-控制实战入门-b站-轨迹跟踪方法对比

1. 背景

轮速跟随中加速响应滞后减速迅速的特点;

不满足理论上的状态方程;

2. 原理/目的-如何减小和消除横向偏差和航向偏差

调节器减小误差的数学推理;调节器计算的出来的输出能够让误差趋近于零;

参考视频

路径规划与轨迹跟踪系列算法学习_第11讲_Stanley法_哔哩哔哩_bilibili

3. 代码实现

开源项目:

D:\[opencv_source_navigation]\hybrid_astar-master\PathFollower

D:\[openFromGit]\PythonRobotics-master(lateset)\PathTracking\stanley_controller


def stanley_control(state, cx, cy, cyaw, last_target_idx):
    """
    Stanley steering control.

    :param state: (State object)
    :param cx: ([float])
    :param cy: ([float])
    :param cyaw: ([float])
    :param last_target_idx: (int)
    :return: (float, int)
    """
    current_target_idx, error_front_axle = calc_target_index(state, cx, cy)

    if last_target_idx >= current_target_idx:
        current_target_idx = last_target_idx

    # theta_e corrects the heading error
    theta_e = normalize_angle(cyaw[current_target_idx] - state.yaw)
    # theta_d corrects the cross track error
    theta_d = np.arctan2(k * error_front_axle, state.v)
    # Steering control
    delta = theta_e + theta_d

    return delta, current_target_idx

4. 路径跟随-曲线跟随改进/调优技巧

路径跟随-曲线跟随调优技巧

5. 其他方法及对比

5.1. ribbon跟踪,对stanley改进

ribbon跟踪,对stanley改进

6. 四类跟踪算法和比较

结论:

stanley和mpc跟随的横向偏差小;

MPC可以考虑到速度规划;

对于简单的路径跟随/定位误差较大(空旷场景,可以增加预瞄距离)的时候,使用stanley;

  • 22
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

tmjtyj

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值