1 Star 0 Fork 1

nealliu / rrt_dynamic

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
CollisionFree.m 276 Bytes
Copy Edit Web IDE Raw Blame History
Chahat Deep Singh authored 2017-04-27 05:04 . First Commit
function Out=CollisionFree(xnear,xnew,obstacles)
Out=1;
ri=norm(xnew-xnear)/100;
xi=xnear;
for c=1:100
xi=Steer2(xi,xnew,ri);
if ObtacleFree(xi,obstacles)==0
Out=0;
end
end
if ObtacleFree(xnew,obstacles)==0
Out=0;
end
end

Comment ( 0 )

Sign in for post a comment

Matlab
1
https://gitee.com/nealliu/rrt_dynamic.git
git@gitee.com:nealliu/rrt_dynamic.git
nealliu
rrt_dynamic
rrt_dynamic
master

Search