Autonomous Vehicle
General Cedric
Posts: 18
I am building an autonomous vehicle and I am using this part www.acroname.com/robotics/parts/R145-SRF08.html for sensing. I was wondering if it is possible to have the robot only respond to the sensor within a certain distance. Like maybe 8 feet instead of the maximum 20 feet.
Also, I wanted to know if I could somehow use the sensors to map the environment. This way I could have the robot take the most logical path toward a GPS coordinate.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
Post Edited (General Cedric) : 12/19/2008 4:19:57 PM GMT
Also, I wanted to know if I could somehow use the sensors to map the environment. This way I could have the robot take the most logical path toward a GPS coordinate.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
Post Edited (General Cedric) : 12/19/2008 4:19:57 PM GMT
Comments
Your program can discard readings outside of any range you decide. Either sensor will provide the distance to the first echo it receives which is the closest object.
Other people have experimented with autonomous vehicles using a variety of sensors to map out the immediate environment. Keep in mind that both IR distance sensors and ultrasonic distance sensors have limitations. Some objects show up better with one than the other and some objects don't show up well to either one. Video analysis is often used in sophisticated robots to detect objects and map the environment, but the hardware is relatively expensive and requires a lot of bandwidth and memory. The software is very sophisticated and resource intensive.
A lot can be done with things like the CMUcam and similar devices along with a combination of ultrasonic, IR, and tactile sensors.
coecsl.ece.uiuc.edu/ge423/spring04/group7/group7.html
I found that link while searching some more. It seems to use ultrasonic sensors mounted on a servo to map the environment.
I would like for real-time mapping and navigation to be possible. Any ideas?
P.S. I was originally going to use the parallax sensor, but this one has a range of 20 feet instead of 10. However, I might use the parallax model because I can get it at the local radioshack.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
Post Edited (General Cedric) : 12/16/2008 2:20:10 AM GMT
2) Notice that the link you provided is for a system for mapping a maze made up of particleboard sheet walls which provide large reflective areas for the ultrasound. This is not any kind of "real world" environment. If you have an environment in mind that's similar with large flat walls and obstacles that are also relatively large, relatively flat, and "bright" for sound reflections, then you should do well.
I don't mean to sound negative, but this is a difficult problem, depends very much on the environment for the robot, and gets very very complex the more arbitrary the environment becomes.
http://forums.parallax.com/showthread.php?p=683124
The cone shape of the sound makes for a distorted map of objects. If you are pointing the Ping)) at a wall, at an angle, the nearest point that the sound hits on the wall will be measured.so as you move away from that wall maintaining the same angle, the distance read will not increase by nearly as much because the cone is getting larger as the distance increases.
Not to hijack this thread, as I think that this question is germain to the mapping topic being discussed, but did you ever post your optomized Compass Code?
I am presently working on a robot that will autonomously navigate around my single level home using ultrasonics, IR sensors and a compass after generating a 2D map to be stored on a data logger.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
http://forums.parallax.com/showthread.php?p=683839
I'm just getting back into the robotics project I left sitting on the bench 9 months ago.
That's how it goes as a professional athlete. No time for fun in the summer. I don't even recognize half the stuff on the bench.
Here is a link to a paper on sidewalk tracking
users.csc.calpoly.edu/~jseng/ccsc_paper.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
For now, however, I need a simple navigation solution that keeps the robot on sidewalks and allows it to move to a GPS coordinate with PING))) sensors for object avoidance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
This algorithm was on the research paper. Couldn't I use that?
It seems like with a webcam or CMUcam it would be "simple" to implement this into a program that detects the hue and saturation of an area.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
Post Edited (General Cedric) : 12/16/2008 5:14:16 PM GMT
The easiest solution for your project is probably to give it waypoint following capability, then place waypoints along the sidewalk to keep it in place.
The attached BS2 code, using a Parallax GPS and a Hitachi HB55 Compass, will give you an idea of what it takes to navigate a toy car around a predefined course.
Regards,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Post Edited (Tom C) : 12/16/2008 9:31:00 PM GMT
Thanks for posting the compact compass code link, however how does "CompassTable CON 0" define the compass table as a table of data (array)?
Should it be "CompassTable DATA (16)?
.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Post Edited (Tom C) : 12/16/2008 9:37:29 PM GMT
http://forums.parallax.com/showthread.php?p=683839
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
So:
I am now planning to drop the road following algorithm. The go-kart will have the power to move over rougher terrain. However, this probably means more sensors will be required to keep the robot on a safe path.
Write down any suggestions. I am interested in your ideas!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
I will code the neural network in Python, and I will have the laptop on the go-kart
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-General Cedric
"Wikipedia is your Friend"-Me
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pi aren't squared, pi are round. Cornbread are squared!