1 Star 0 Fork 1

nealliu / rrt_dynamic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Steer.m 291 Bytes
一键复制 编辑 原始数据 按行查看 历史
Chahat Deep Singh 提交于 2017-04-27 05:04 . First Commit
function [xnew] = Steer(xnearest,xrand)
global y x
y=xrand;
x=xnearest;
z0 = x; % Make a starting guess at the solution
fun = @(z)norm(z-y);
options = optimoptions(@fmincon,'Algorithm','sqp','Display','off');
[xnew,fval] = fmincon(fun,z0,[],[],[],[],[],[],@confun,options);
end
Matlab
1
https://gitee.com/nealliu/rrt_dynamic.git
git@gitee.com:nealliu/rrt_dynamic.git
nealliu
rrt_dynamic
rrt_dynamic
master

搜索帮助