Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: cyclopediatechtilon on December 09, 2008, 02:14:29 AM

Title: Object avoidance
Post by: cyclopediatechtilon on December 09, 2008, 02:14:29 AM
Will the $50 robot have objectavoidance??
Title: Re: Object avoidance
Post by: pomprocker on December 09, 2008, 01:57:04 PM
by default its a photovore, add the sharp ir tutorial and you have an object chaser. reverse the code and you have an object avoider
Title: Re: Object avoidance
Post by: cyclopediatechtilon on December 11, 2008, 09:59:51 AM
When it bashes an object ;), will it Turn away??(without the modifications)
Title: Re: Object avoidance
Post by: Trumpkin on December 11, 2008, 10:10:49 AM
Not on purpose. :P
Title: Re: Object avoidance
Post by: cyclopediatechtilon on December 11, 2008, 10:15:58 AM
So basically youll have to turn it with your hand?? :-\
Title: Re: Object avoidance
Post by: pomprocker on December 11, 2008, 11:38:01 AM
The object chaser will find an object and will attack it from its side. Its meant to be sumo-bot code where it flips another bot over and pushes it out of the ring.
Title: Re: Object avoidance
Post by: cyclopediatechtilon on December 11, 2008, 11:40:31 AM
I am not talking of the object chaser. I am talking of the plane 50$ robot. :P
Title: Re: Object avoidance
Post by: bukowski on December 11, 2008, 12:14:21 PM
the answer, as everyone said, is no. If you do the sharp ir upgrade you can modified the Stampy edge finding code so it avoids objects instead of trying to run into them, that's what I did. It worked OK.
http://www.societyofrobots.com/robotforum/index.php?topic=1029.0 (http://www.societyofrobots.com/robotforum/index.php?topic=1029.0)
Title: Re: Object avoidance
Post by: cyclopediatechtilon on December 12, 2008, 03:38:15 AM
the code on that link u gave me.how do i upload it? do i just copy-paste?? i cant program for nuts! :-[
Title: Re: Object avoidance
Post by: bukowski on December 12, 2008, 11:05:02 AM
yep, you could. or you could just look at the stampy edge finding code (it's fully documented) and figure out your own way to do it. Like I said in the post, you are better off doing away with the initial autocalibration and writing in a value, something I did later. It's not hard, i dont know nuts about programming either.
Title: Re: Object avoidance
Post by: cyclopediatechtilon on December 13, 2008, 12:17:21 AM
Where should i paste it? ??????