Let's Make Robots!


Wall Racer or RC

This is the ratb0t, he has a nervous behavior and remainds me a rat.. :]

I´m using an Arduino Diecimila to control the steering servo and the traction motor.

The XBee module recieves data from another Arduino, this one has a wii nunchuck controller attached.

Next Step: make it autonomous


Update: 31 Jan 09

I´ve added two ultra sound sensors and now I´m trying to make this bot a wall racer. Due to its drifting capabilities its being very hard to code this, but I will find a way.
I´ve replaced the 4 AA batteries by a small 7.2V battery and now he has more power wich also means more nerves..   :D

So,  after a couple of hours of trying and trying, I quit, and decided to relax and enjoy some drifts..  :]



Update: 5 . Feb . 2009

my first attempt of making this bot autonomous.. obcessed by walls… a wall racer!
slow for now… next time will be faster

just added one more video

 Update: 6 . Feb . 2009

new video with another attempt  :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I'm loving this bot.  Thanks for sharing!

He just needs to backup when against the wall. lol

He even sqeeks like a rat. :D

yep, the 3-point-turn thingey!  :)
It's brilliant!
I still have to try to make it to stay closer to the wall..
I like the new sonic sensors you added. Might make it a bit tough to code but its still cool.
True, it´s not easy, but its opening my mind into new possibilities..   :)

Coding sliding stuff is really, really fun!

Just because I cannot shut up - I know it's your robot and all ;) :

I'd set up rules for it, priorites. The Wall Racer's code is not THAT readable, but it's kinda short, and if you read it, you may notice that it is simply a setof rules, sharply prioritized like:


Start engine!


0) Is anything close in front? If so, make 3 point turn (See "how to code a 3 point turn". Go back to Start!

1) Is anything in front? If so turn right. Go back to Start!

3) Are we too far away from the wall? If so, turn a little to the left. Go back to start!

.. and then some more priorities to keep on track, depending on how your vehicle is driving; I had to make sure we where not zig-zagging, and calculate if we where "on the wrong side of the desired path, but moving in the right direction", and so do nothing, only if we where at "the wrong side of the desired path, and getting worse"

This way of "prioritizing", and all the time go back to start, to check from top priority and down makes it very easy & fun to develop, you just start from the top yourself, and make it wor, the numba zero, move on to one, 2, 3 etc. Make sure you do not skip to the next before the previous works, and you are 100% game :)