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
ObtacleFree.m 249 Bytes
Copy Edit Web IDE Raw Blame History
Chahat Deep Singh authored 2017-04-27 05:04 . First Commit
function [out] = ObtacleFree(xnew,obstacles)
global obd
for i=1:size(obstacles,1)
if xnew(1)>=obstacles(i,1)-obd && xnew(1)<=obstacles(i,2)+obd && xnew(2)>=obstacles(i,3)-obd && xnew(2)<=obstacles(i,4)+obd
out=0;
break
else
out=1;
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