|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Finding Distance From Driver Station
Right now I'm playing with an idea for finding position based on the time it takes for a wlan message to take a round trip.
My goal is to do it in such a way that it would be legal, most specifically with R58. The goal is to ping both the OPERATOR CONSOLE and the Field Management System. By knowing the position of both of those, and the distance from your robot to each you should be able to estimate your position. I was wondering if anyone has any idea how to ping the OC or the FMS. I am hoping that if this proves to be successful, that beacons (access points) could be put on the field, such that it could be more accurate. Similar to 2004 but using the wlan technology. Quote:
|
|
#2
|
|||||
|
|||||
|
Re: Finding Distance From Driver Station
Before you go very far with this try something:
Figure out how long it would take an electromagnetic wave to travel from one corner of the field to the other. I believe you will find that it is a tiny fraction of the total ping time you would observe. |
|
#3
|
|||||
|
|||||
|
Re: Finding Distance From Driver Station
I don't follow what useful data you are looking to collect.
Are you looking for the latency of the robot's wireless bridge to FMS Access Point to derive the robot's distance from the AP? Sounds like a step towards Zigbee triangulation... All the rest of the communications are over a wired network with near-identical lengths of Ethernet cable, regardless of the Driver Station physical location. They'll all be at identical (wired) distance from the field Access Point, so I don't see that data as being useful. It seems like any single ping (FMS or DS) would produce the same information, i.e. distance to AP or maybe length of the field Ethernet cables, speed of the network switches, frequency of collisions if you stretch it... Assuming network collisions and retransmitted TCP/IP packets don't mess up your timings entirely... Last edited by Mark McLeod : 26-05-2010 at 17:08. |
|
#4
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Quote:
Using this technique they were able to get accuracy within 4m. Not great, but it would be something. Also if you had multiple APs to reference you could probably get more accurate by looking at their overlaps. It would eliminate some outliers. Also based on what area in you could look for points of reference, bumps field borders, tunnels that kinda stuff. This is only a proof of concept, as Mark pointed out the ideal solution would be to use zigbee which is much more accurate. I would also like to see robots use zigbee for robot to robot comms. Quote:
And yes I would like to use the latency to estimate the robots position. I think it could give me enough accuracy to estimate what zone it is in, which is all I would need for localization. Even as bad as a 4m radius would still help, ie knowing roughly what heading to point to robot to see a target. |
|
#5
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Quote:
Also keep in mind that this method only gives you a distance, but not a direction, so even if it worked you would only be able to locate your robot along a circle across the field that would be drawn by using that distance as the radius of the circle. And to further complicate things, the access point used at the field is not located in a pre-defined position, and will vary between events and possibly even during the day of an event if it gets moved a bit by field personnel. |
|
#6
|
|||||
|
|||||
|
Re: Finding Distance From Driver Station
It'd be kind of interesting. You'd only be able to derive the radius of an arc from the field AP from this method. Probably a distance of 10 to 60 feet, so even with a best error of +/-12 feet it won't place you in one of this year's zones.
You'd only want to ping the AP (an 10.0.0.x address) if you can to eliminate other network latency from throwing off your results. For your tests at home pinging your wireless router at 10.xx.yy.4. That'll be a nice experiment that you don't have to confine to the dimensions of an FRC field. Last edited by Mark McLeod : 27-05-2010 at 09:23. Reason: unjumble sentence |
|
#7
|
||||
|
||||
|
Re: Finding Distance From Driver Station
I guess my goal of trying to do it without breaking any rules isn't going to work.
Also I would be trying it with multiple access points, and this phase would just be to get the architecture in place for this kind of triangulation. I don't want to do it via WLAN, but the cRIO zigbee module is $700, and I don't have $2100 kicking around to produce a zigbee triangulation set up, as much as I would love to (anyone have grant money to do such a spike?? haha). Maybe I'll purchase some zigbee chips and try it that way. http://www.trossenrobotics.com/biolo...x?feed=Froogle ($25 a sensor) http://ieeexplore.ieee.org/stamp/sta...umber=04463608 Thanks for all the feedback everyone! (Hence why I switched from EE to CS )Last edited by mwtidd : 26-05-2010 at 18:34. |
|
#8
|
||||
|
||||
|
Re: Finding Distance From Driver Station
I don't think this qualifies as thread-jacking as I think it still applies...
What about putting a beacon light on your driver station and using the camera to locate it? If you talked to your alliance partners and got the teams at stations 1 and 3 to each have a light, you could triangulate position using two cameras. --Ryan |
|
#9
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Quote:
The red vs blue would be real nice cause you could look at either side. Good idea! |
|
#10
|
|||
|
|||
|
Re: Finding Distance From Driver Station
Why not just software localization? Just keep track of where you are through software
|
|
#11
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Quote:
![]() Good idea, yourself Quote:
If you're suggesting (the fairly standard method of) dead-reckoning using encoders/accelerometers/gyros, the advantage to the methods talked about in this thread is that you can determine absolute position on the field, whereas relative localization has accumulated error since at each point in time you're only calculating the change in position, so successive errors in the sensor readings lead to increasing errors in the position estimate. --Ryan |
|
#12
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Quote:
It kind of like zeroing a gyro based on a compass when you suspect drift. |
|
#13
|
|||||
|
|||||
|
Re: Finding Distance From Driver Station
Thinking in a different direction: If you were on the field, how would you find your location?
If it were me, I'd just look around, find objects I recognize, and estimate the distance to two or three of them by their relative size in my field of vision. Turning that into a machine function, you can have your camera rotate until it finds your home driver station wall (this assumes you are able to see it). Hand each of your alliance partners a battery-powered flashing LED, each with a different blink pattern. Your camera sees the blinks, knows which one is where, and calculates location based on separation between LEDs (how close or far apart they are) and angle based on camera rotation. Sure, there's a few issues to address. For example, what to do when you're up against the driver station wall. Perhaps four Maxbotix distance sensors can help there. Whatever, these issues can be solved. The point is, consider how nature does this, and emulate. Nature usually has a pretty good algorithm. |
|
#14
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Have you considered trying a sonar sensor to find your distance?
That might not have a narrow enough beam though. |
|
#15
|
||||
|
||||
|
Re: Finding Distance From Driver Station
Quote:
--Ryan Last edited by RyanCahoon : 04-06-2010 at 00:19. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Digital I/O from driver station vs FirstTouch I/O Module | meakerb | FRC Control System | 4 | 05-03-2010 23:06 |
| using digital inputs from the driver station | SL8 | NI LabVIEW | 2 | 04-02-2009 15:53 |
| Programming Digital Inputs from Driver Station | spooncwru | Programming | 8 | 01-02-2009 13:14 |
| LabVIEW - Analog inputs from driver station lag? | RedOctober45 | NI LabVIEW | 1 | 30-01-2009 10:39 |
| Problem Downloading Program from WindRiver to Driver Station | The_Laughing_ManMII | C/C++ | 10 | 09-01-2009 20:03 |