My two teammates and I are making a robot that must find its way through a maze using three ultrasonic sensors. So far it is able to go straight, sense the wall in front of it, look to the sides and tell which way it must go from there. But when it is going through the straight portions of the maze it has a slight turn to it and we are trying to figure out how to make it correct itself if it gets to close to a side wall. We are not sure how to run more than one sensor at a time. So its a little difficult to program it to keep from hitting the side walls without doing so.
The link to the maze we must get through is below. Refer to pages 30-35
http://nationalroboticschallenge.org …tRules2009.pdf
I have attached two pictures of the robot we have constructed for this project so you have them for your reference.
The current program we are using is attached as a ZIP file. We are using the easyC pro software.
The front wheel is on a caster so it may be what is affecting the fact that it is turning to the right at times it is suppose to be going straight.
Any help would be well appreciated.Maze Project.zip (2.16 KB)
MarkO
April 3, 2009, 4:08pm
2
boysrule484200:
My two teammates and I are making a robot that must find its way through a maze using three ultrasonic sensors. So far it is able to go straight, sense the wall in front of it, look to the sides and tell which way it must go from there. But when it is going through the straight portions of the maze it has a slight turn to it and we are trying to figure out how to make it correct itself if it gets to close to a side wall. We are not sure how to run more than one sensor at a time. So its a little difficult to program it to keep from hitting the side walls without doing so.
The link to the maze we must get through is below. Refer to pages 30-35
http://nationalroboticschallenge.org …tRules2009.pdf
I have attached two pictures of the robot we have constructed for this project so you have them for your reference.
The current program we are using is attached as a ZIP file. We are using the easyC pro software.
The front wheel is on a caster so it may be what is affecting the fact that it is turning to the right at times it is suppose to be going straight.
Any help would be well appreciated.
At first glance, your team is using more than one UltraSonic Sensor. You can only use One Sensor at a Time, because of Sonic Interference.
See posts linked to from here is damaged, you might repost it.National Robotics Challenge
Thanks for responding and here is the link to the robot maze
http://www.nationalroboticschallenge.org/downloads/NRCContestRules2009.pdf The pages for the maze are the same as the last