Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: numlock on August 23, 2009, 03:14:49 AM

Title: mapping for indoor use robot
Post by: numlock on August 23, 2009, 03:14:49 AM
Hi all,

I'm doing my robot project right now and using basic stamp for the controller. My problem is to create map for the robot that can travel in the house(different locations) by pressing the buttons on the robot. For example,if we want the robot to go to dining room,we just press the button and the robot will go there. This robot also have the ability to avoid obstacles and can go through between the gap of the object( for example; door) .  I'm using 4 infrared sensor at right/left side, 2 sonar sensor at the front and 2 ultrasonic sensor at the back of the robot.

1.I want to know what is the suitable method to use for the mapping and the algorithm for the mapping
2.I'm not quite sure about my robot design whether it is suitable to place all the sensors that I've mention above to avoid obstacles and for the mapping or there are better solution for the design.


Thank you
Title: Re: mapping for indoor use robot
Post by: SmAsH on August 23, 2009, 03:18:18 AM
do you want the map to be stored in memory and never changed or do you want the map updated with new things that are there?
Title: Re: mapping for indoor use robot
Post by: numlock on August 23, 2009, 04:53:33 AM
do you want the map to be stored in memory and never changed or do you want the map updated with new things that are there?

i want to stored the map in memory
Title: Re: mapping for indoor use robot
Post by: SmAsH on August 23, 2009, 04:59:10 AM
are you sure?
you say you want it to avoid obstacles too, have you looked at the wavefront algorithm?
it can remember where your destination/goal is and map out obstacles whilst avoiding them...
http://www.societyofrobots.com/programming_wavefront.shtml
Title: Re: mapping for indoor use robot
Post by: numlock on August 23, 2009, 05:08:37 AM
it is suitable for basic stamp?
Title: Re: mapping for indoor use robot
Post by: SmAsH on August 23, 2009, 05:20:58 AM
the code could probably be modified for the basic stamp...
the robot used in the tutorial uses the atmega168.
the code would not be hard to adapt over with the general gist of it :P
Title: Re: mapping for indoor use robot
Post by: numlock on August 26, 2009, 11:22:00 AM
If u don't mind,can I have basic stamp program for robot to go  through between a gap of the object using  IR. It's been quite a long time I don't using basic stamp and already forgot about the programming,