• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

EwingKang/Dubins-Curve-For-MATLAB: A MATLAB version of Dubins Curve based on And ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

EwingKang/Dubins-Curve-For-MATLAB

开源软件地址(OpenSource Url):

https://github.com/EwingKang/Dubins-Curve-For-MATLAB

开源编程语言(OpenSource Language):

MATLAB 100.0%

开源软件介绍(OpenSource Introduction):

Dubins-Curve-For-MATLAB

About

A MATLAB version of Dubins' Curve based on Andrew Walker's work

Intro

A Dubin's curve is a nearly kinemetically feasible path solution for car-like platform. The method explicitly find the trajectory composed of 3 segment: two curves and one staight line, or three curves. The curves are part of the circle. There are only 6 kind of the composition that proved to be minimun in length, and thease 6 types are called Dubin's curve. In the program, the shourtest path is found and taken as the desired path.
Despite the kindly source code that Andrew Walker has provided, I'm still tired of searching the method to implement the C++ code into MATLAB using MEX and other compiler. Thus I decided to write my own MATLAB .m file.

Examples

After switching to corresponding folder that contains both files within the MATLAB, you may use the following command to easily generate a plot that contains a Dubins' curve defined by your input:

pointA = [ 1, 2,   0*pi/180 ];     
pointB = [ 9, 5, 120*pi/180 ];    
TurnRadius = 5;   
PathStep = -1;   
dubins_curve(pointA,pointB, TurnRadius, PathStep);

By default, the program will plot the path with marked start and end point. The execution time of calculating Dubins path and plotting is also shown in the MATLAB console. Plot is drawn dot by dot and can take much longer then Dubins calculation depends on the setting. To make implementation as a function simpler, you may suppressed the output (both console and plot) by:

dubins_curve(pointA,pointB, TurnRadius, PathStep, quiet);

References

  • Dubins-Curves by Andrew Walker https://github.com/AndrewWalker/Dubins-Curves#shkel01
  • Dubins, L.E. (July 1957). "On Curves of Minimal Length with a Constraint on Average Curvature, and with Prescribed Initial and Terminal Positions and Tangents". American Journal of Mathematics 79 (3): 497–516
  • Shkel, A. M. and Lumelsky, V. (2001). "Classification of the Dubins set". Robotics and Autonomous Systems 34 (2001) 179–202



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap