Simplest - yet most effective object avoidance
Who can make the best object avoidance, using the simplest code?
In order to qualify, your robot must be able to reverse out of difficult corners, just zig-zagging on easy terrain is not enough. And code must be downloadable in a form that makes it easy to adapt to own project.
The challenge is: Make the best object avoindance with the simplest code.
As perhaps 75% of all our projects include object avoidance, it will be great to have a place with good examples for everyone to enjoy :)
Thanks to The_Black_Cat for inspiring me to make the challenge ;)
This is an open challenge, and the winner is never going to be appointed, because this is very much a matter of personal preferences, platform etc. But please do show us what you've got :)
To participate, please just post links to your (or your fellow LMR memba's) project below :)
Member since: March 2010
User Number: 12548
Blogs: 0
The_Black_Cat's Collection
ContactCollect The_Black_Cat as Friend
Location: Liberty, North Carolina, United States of America



@ Sat, 2011-11-12 01:15
Three lines.
I can do it in three lines of code and use very complex image processing algorithms at the same time. (python psuedocode)
while true:serialPC.send(onBoardCamera.getRawImage())
eval(serialPC.response())
@ Sat, 2011-11-12 01:34
I'd be more interested in
I'd be more interested in the lines of code being executed between :
serialPC.send(onBoardCamera.getRawImage())
and
eval(serialPC.response())
anything can be wrapped up into a
def doit ()
... tons of code ....
...
nice interface though... :)
@ Wed, 2011-07-27 22:32
Ill bite. Not a short code
Ill bite. Not a short code by anymeans, and its my first, but it seems to be the only one on here :p
http://letsmakerobots.com/node/28057
@ Wed, 2011-07-27 23:09
Nice!
Aaahhh - Nice one, looking good :D
Thanks for starting the party!
@ Fri, 2010-11-19 03:42
ZE best one is...
Not only to be simple but to be cheap you can utilize a LDR aka light dependant resistor, just light fritsl´s project http://letsmakerobots.com/node/1823
which uses something like the Amanda LDR (Frits LDR) http://letsmakerobots.com/node/1833
soon ill send the code.
@ Fri, 2010-11-19 11:30
Well, thank you for pointing
Well, thank you for pointing at my humble stuff.. However, this is not any navigation code, as far as I remember?!
@ Sat, 2010-11-20 02:02
...
Cmon Frits...
I dont mean that, I mean you could use the same method to navigate around using LDRs
I believe its the most simple... You just need to make some changes and DONE!
Something like:
readadc 0, b1
readadc 1, b2
if b1>b2 then gosub....
you know something like that
im working on the code, you know.... I´m a newb so taking some time! :)
@ Thu, 2010-11-18 23:54
I might do some thing like
I might do something like this with my brothers rc car
can we modify your code for something like this
@ Fri, 2010-11-19 11:31
.. something like "this"?
.. something like "this"? Like what?
@ Fri, 2010-11-19 23:54
the rc car navagation
the rc car navagation