⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calcendpoint.m

📁 用于移动机器人SLAM的仿真工具箱(CAS Robot Navigation Toolbox)。由Kai Arras编写。可迅速构建移动机器人仿真平台。
💻 M
字号:
%CALCENDPOINT Calculate segment endpoints.%   PE = CALCENDPOINT(P,X) returns the Cartesian coordinates of%   the segment endpoint PE = [x; y] by perpendicularly project-%   ing point P = [x; y] onto the alpha,r-line with parameters%   X = [alpha; r].%%   See also EXTRACTLINES.% v.1.0, 08.01.99, Kai Arras, ASL-EPFLfunction pe = calcendpoint(p,x);cosa = cos(x(1));sina = sin(x(1));dist  = x(2) - p(1)*cosa - p(2)*sina;pe(1) = p(1) + dist*cosa;pe(2) = p(2) + dist*sina;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -