go_away

Author Topic: My first wall avoid robot.  (Read 2461 times)

0 Members and 1 Guest are viewing this topic.

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
My first wall avoid robot.
« on: March 07, 2009, 11:02:33 PM »
This is my first robot ever. Thank you SoR Forum for all the help with everything.

Specs:
Roboduino
2x HS-311 servo's modified
IR Range Finder
6V battery pack
Chassis (Forgot the name)

[youtube]xSBTHuod440[/youtube]
« Last Edit: March 07, 2009, 11:03:45 PM by offy »

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: My first wall avoid robot.
« Reply #1 on: March 07, 2009, 11:16:45 PM »
nice work...sum improvement are needed like the avoiding part it jst backs up and turns 90 derees to the left ...chnage than code see it got stuckwhen it was sorrounded at 4 places..make it turn until u find no obstacle not 90 defgrees alwayz...
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: My first wall avoid robot.
« Reply #2 on: March 07, 2009, 11:51:31 PM »
I have been working on that. Thanks for the comment.

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
Re: My first wall avoid robot.
« Reply #3 on: March 08, 2009, 08:25:35 AM »
Nice! I'm glad you succeded with the construction and coding!

Some sugestions:
- if there is an obstacle in front of the bot, don't back up. Start turning like 5 degrees (turn for 10 ms or so) then check the sensor. Turn a bit more, just to be sure the side of the bot won't hit the obstacle, then drive straight.
- if you keep turning left until you reach something like 90 degrees, turn 90 degrees back (to the right) and start turning to the right a few degrees at a time to find an opening on the right side of the bot. You can continue turning this time for more thatn 90 degrees.
- add a third servo, unmodified, mount the sensor on it and scan for openings, then after you found it turn the robot that way and escape.
- after you have the scanning sensor, try to have the bot drive using a map. Use cereal boxes, books, furniture and build a small room, have the robot start in a fixed position, then go and map the room. To measure distance traveled, make a program that will drive the servos forward for 10 pulses and stop. Measure the distance, divide by 10 and you have the traveled distance per servo pulse. Now you can measure distance (not very acurate, but good enough for experimenting). Change the program so the robot turns in place, repeat the experiment and see how many degrees the robot turns per pulse. Create a map of the place and have the robot drive and find an object that is not stored on the map, then return to the base. This is good for Search and Rescue. If you attach a piece of velcro to the back of the robot, use a small teddy bear as the foreign object, have the robot turn 180 degrees when it finds it, then drive backwards to touch the teddy bear and grab it with the velcro and drag it to the base.

Good luck!
Check out the uBotino robot controller!

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: My first wall avoid robot.
« Reply #4 on: March 08, 2009, 08:33:27 AM »
robot x jst elaborated my suggestion :D
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline korforfan

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: My first wall avoid robot.
« Reply #5 on: March 08, 2009, 09:35:54 AM »
nice one!  ;D
www.korforfan.se - probably the best blog about a robot in the world!

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: My first wall avoid robot.
« Reply #6 on: March 08, 2009, 09:46:43 AM »
Thanks for the suggestions. I was going to mount the IR Range finder to a servo but I didn't have any left. Yesterday I ordered 6 servos. Also I will start mapping places for it to go. Thanks again.

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: My first wall avoid robot.
« Reply #7 on: March 08, 2009, 01:09:27 PM »
whoa 6 servos..that will be pretty good... :D hope u use them well
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: My first wall avoid robot.
« Reply #8 on: March 08, 2009, 01:56:33 PM »
Ya, I am having 1 for the front IR Range Finder. Might put a range finder on back so thats for the other one, and than 4 back ups.

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: My first wall avoid robot.
« Reply #9 on: March 09, 2009, 11:52:17 AM »
4 backup's man thats even more than required
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: My first wall avoid robot.
« Reply #10 on: March 10, 2009, 07:36:41 PM »
You can never have to many spare parts.

 


Get Your Ad Here