Yet another bug algorithm. Pretty much same as others I posted earlier this week ( bug 0,1 and 2 ) but this one has a ranged sensor so it can detect obstacles from a distance and act properly.
Well at least it’s supposed to, my implementation is horribly broken at the moment, hope my professor won’t see this haha. Oh yea this was our first homework on “Robot Motion Planning and Control” class. It was a great homework as well but I was ( still am ) total newbie to javascript, html5, continues space calculations and bug algorithms of course, I my progress was terribly slow, had to rewrite lots of things again and again.
I think the presentation is fine though, if I can make this work properly ( I hope to keep working on it when I have time ( read never )), it’ll be a nice and probably useful to many people.
You can find my report on this homework and implementation details on the page as well, there is also a bugs-eye chart there as well, which I believe is neat.
Anyway it’s all here;
http://www.barankahyaoglu.com/robotics/tangent/