New York
Offline
Jr. Member
Karma: 0
Posts: 63
digitalWrite( 5, HIGH);
|
 |
« Reply #15 on: November 26, 2012, 07:36:07 pm » |
It isn't really a set made course, most likely going to be a local park (with trees) and another test using this algorithm specifically would be inside my high school hallways, which are about 10 feet from wall to wall. It won't be navigating through tiny obstacles, most likely large courses to get from point a to b, and there will most likely be a large gap between the two points. I'm thinking of using some rotary encoders on the wheels not to see how far the car has traveled, rather to see how fast it is going. I want to keep this as simple as I can, without spending too much. Have you ever heard of the AVC by sparkfun?
|
|
|
|
|
Logged
|
-Matt-
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 91
Posts: 2242
|
 |
« Reply #16 on: November 26, 2012, 11:55:31 pm » |
well, I probably should have looked at that before I mounted them....the readings seem to be fine though.......and Paul, sorry about that...I'm a bit lazy with commenting and stuff.....And aren't sonars a lot of money? Do they make cheap ones? Ping sonars cost $25 or so. Rather than spend a lot on many fixed sensors, I've usually mounted one [of each type] on a panning servo head. The reason I mentioned the measurement problem with the Sharp IR rangers is that I once built a robot to test that device, although it only had a single ranger, and a lot of times it tried to climb up the wall instead of turning at it. And it wasn't my algorithm was the problem either. The thing about robot sensors is that the people who have the most experience with them realize they are the real Achille's Heel of robotics, and you need to use multiple redundant types for best results. Jo Jones goes on and on about this in his book, good read, http://www.amazon.com/Robot-Programming-Practical-Behavior-Based-Robotics/dp/0071427783
|
|
|
|
|
Logged
|
Something different - Kitchen-Sink Arduino-compatible boards
|
|
|
|
New Jersey
Offline
Edison Member
Karma: 26
Posts: 2455
|
 |
« Reply #17 on: November 27, 2012, 07:25:14 am » |
It isn't really a set made course, most likely going to be a local park (with trees) and another test using this algorithm specifically would be inside my high school hallways These are two very different requirements. If the ultimate goal is the park and the distances are large enough, gps and the compass can play a major part. The moment you go indoors though for testing, all that's changed. Can you test outside instead at your school? You can of course do both - use the gps if it's getting signal and revert to dead reckoning if not, but then you've made everything significantly harder.
|
|
|
|
|
Logged
|
|
|
|
|
New York
Offline
Jr. Member
Karma: 0
Posts: 63
digitalWrite( 5, HIGH);
|
 |
« Reply #18 on: November 28, 2012, 04:50:36 pm » |
I usually do testing outside, but given the season and the weather in New York, U.S., it's rather difficult to do that kind of testing---And I don't dare take those electronics outside unless everything is dry and the parts have been somewhat warmed up. The reason I want the longer ranged sensors as well is so I can work the code both inside and out, with accurate results. But the mainly they'll be used outside. And are there any good tutorials on how to get an arduino rc car to work the way I want it to with a GPS? I've definitely seen tens of hundreds of AGV's, but no real tutorials on how to get an AGV from point "a" to "b"
|
|
|
|
|
Logged
|
-Matt-
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 91
Posts: 2242
|
 |
« Reply #19 on: November 28, 2012, 05:39:15 pm » |
I suspect the longer-range Sharp IR rangers will do even less well than the shorter range ones with a moving/turning robot, for the reasons mentioned = triangulation and 50-msec sampling times with multiple samples. OTOH, sonars should do a little better, especially if you get the ones with larger beam patterns. Check out Maxsonars.
|
|
|
|
|
Logged
|
Something different - Kitchen-Sink Arduino-compatible boards
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #20 on: November 28, 2012, 05:46:41 pm » |
It does all seem to be flight based that's for sure. But can you define your parameters a bit better, when you say navigate via gps do you mean move from known starting point to a known waypoint ? Or from a known start point to a waypoint that is identified by a system other than gps coordinates ? If it is the 1st option try this link http://letsmakerobots.com/node/19554 you may have found it already but there is some useful info there.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 336
Posts: 36476
Seattle, WA USA
|
 |
« Reply #21 on: November 28, 2012, 06:03:48 pm » |
And are there any good tutorials on how to get an arduino rc car to work the way I want it to with a GPS? First, explain how the GPS will see any satellites when indoors? Do you have several satellites on your ceiling?
|
|
|
|
|
Logged
|
|
|
|
|
New York
Offline
Jr. Member
Karma: 0
Posts: 63
digitalWrite( 5, HIGH);
|
 |
« Reply #22 on: November 28, 2012, 06:29:21 pm » |
Sorry--I'm not planning on using the robot indoors, only to test the IR sensors. I wish I had that kind of money to install satellites in my ceiling  But seriously, are there any tutorials for OUTDOOR use and what I explained earlier?
|
|
|
|
|
Logged
|
-Matt-
|
|
|
|
New York
Offline
Jr. Member
Karma: 0
Posts: 63
digitalWrite( 5, HIGH);
|
 |
« Reply #23 on: November 28, 2012, 06:33:40 pm » |
It does all seem to be flight based that's for sure. But can you define your parameters a bit better, when you say navigate via gps do you mean move from known starting point to a known waypoint ? Or from a known start point to a waypoint that is identified by a system other than gps coordinates ?
Sorry--didn't see your post! what do you mean flight based? And navigating for starters will consist of the Arduino knowing its current position and the coordinates of the goal it want to get to. Later programming might involve other waypoints, but right now I'm sticking with going from point "a" (current position) to "b" (another, known position--but not the current position) Also a next revision is probably going to include GPS differential, but that's a bit out of my reach currently
|
|
|
|
|
Logged
|
-Matt-
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #24 on: November 28, 2012, 06:37:28 pm » |
Sorry that was badly worded most of the examples are for some form of aircraft. But that link I added should give you a start on navigating from waypoint to waypoint.
|
|
|
|
|
Logged
|
|
|
|
|
New York
Offline
Jr. Member
Karma: 0
Posts: 63
digitalWrite( 5, HIGH);
|
 |
« Reply #25 on: November 28, 2012, 06:43:11 pm » |
I cannot tell you how much this is really going to help me!! The GPS library is the same one I use, but for a different GPS, and I have the same digital compass! Thanks a bunch!! But back to the obstacle avoidance---any advice/ ideas to get me going?
|
|
|
|
|
Logged
|
-Matt-
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #26 on: November 28, 2012, 07:01:29 pm » |
I have some ideas, but currently I have just started playing with ping sensors ,the mail man was good to me today.
I will play around a bit and see what I can come up, I want to build an autonomous tank so it fits in.
The big issue I see with the small servo movements, is sort of a constant left/right turn effect if the the range and time is too small.
If your current code gets you down halls pretty centered then perhaps the problem is more defining a minimum distance. So if we are with in X distance on the left side adjust to steer right a bit and move forward. You have a forward arc set up it should be possible to tweak the settings to curve away from or around obstacles. Which is what you want to accomplish in general terms.
Let me put some thought into this, I need to scrawl some stuff on paper and scan it so it makes sense. I can see in my mind what you want to do, but it is the end of a long work day and I keep coming up the gibberish.
|
|
|
|
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 91
Posts: 2242
|
 |
« Reply #27 on: November 28, 2012, 09:02:30 pm » |
Do a search on "robomagellan" for background material on GPS and outdoors travel.
|
|
|
|
|
Logged
|
Something different - Kitchen-Sink Arduino-compatible boards
|
|
|
|
New York
Offline
Jr. Member
Karma: 0
Posts: 63
digitalWrite( 5, HIGH);
|
 |
« Reply #28 on: November 29, 2012, 12:04:23 pm » |
So the whole reason I started this project was for a program in my high school called the Authentic Science Research Program. I'm not sure if you've heard of it or not--we apply to the Intel talent search senior year. I'm currently a junior. Currently, I want to do a study on something in the robotics category, but it looks like I'm going to study obstacle avoidance. Does anyone have any ideas for a research topic for me? I need some sort of "question" that hasn't been answered or something that has never been done before. Maybe create a new obstacle avoidance method, I'm not sure---but any ideas?
|
|
|
|
|
Logged
|
-Matt-
|
|
|
|
|
|
|