Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: cyclopediatechtilon on December 09, 2008, 02:14:29 AM
-
Will the $50 robot have objectavoidance??
-
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
-
When it bashes an object ;), will it Turn away??(without the modifications)
-
Not on purpose. :P
-
So basically youll have to turn it with your hand?? :-\
-
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.
-
I am not talking of the object chaser. I am talking of the plane 50$ robot. :P
-
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)
-
the code on that link u gave me.how do i upload it? do i just copy-paste?? i cant program for nuts! :-[
-
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.
-
Where should i paste it? ??????