Go to Post Batteries don't help you if they're lying on the field. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-05-2010, 18:20
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,772
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-05-2010 at 09:23. Reason: unjumble sentence
  #2   Spotlight this post!  
Unread 26-05-2010, 18:30
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
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 )
__________________
"Never let your schooling interfere with your education" -Mark Twain

Last edited by mwtidd : 26-05-2010 at 18:34.
  #3   Spotlight this post!  
Unread 26-05-2010, 21:53
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
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
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
  #4   Spotlight this post!  
Unread 26-05-2010, 22:18
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Finding Distance From Driver Station

Quote:
Originally Posted by RyanCahoon View Post
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
Think we could use the beacons that already exist??

The red vs blue would be real nice cause you could look at either side.

Good idea!
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #5   Spotlight this post!  
Unread 26-05-2010, 23:41
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Finding Distance From Driver Station

Why not just software localization? Just keep track of where you are through software
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #6   Spotlight this post!  
Unread 27-05-2010, 00:33
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Finding Distance From Driver Station

Quote:
Originally Posted by lineskier View Post
Think we could use the beacons that already exist??

The red vs blue would be real nice cause you could look at either side.
Ooh... Sounds like I have a new offseason project

Good idea, yourself

Quote:
Originally Posted by davidthefat View Post
Why not just software localization? Just keep track of where you are through software
Maybe I don't understand what you're suggesting; you would be using software to detect the position of the lights from the camera images and triangulate your position.

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
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
  #7   Spotlight this post!  
Unread 27-05-2010, 02:13
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Finding Distance From Driver Station

Quote:
Originally Posted by davidthefat View Post
Why not just software localization? Just keep track of where you are through software
Take this years game for instance, all sort of disorientation would occur when you cross the bump. So by having a absolute reference, you could re-initialize your position based on that reference. At that point you could switch to a sensor-driven localization similar to what your suggesting.

It kind of like zeroing a gyro based on a compass when you suspect drift.
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #8   Spotlight this post!  
Unread 02-06-2010, 20:28
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,988
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
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.
__________________

I am N2IRZ - What's your callsign?
  #9   Spotlight this post!  
Unread 02-06-2010, 21:49
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Finding Distance From Driver Station

Quote:
Originally Posted by Don Rotolo View Post
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.
This was the idea behind looking at the driver station lights.
Also these lights are on either side, so you would just have to look to one side or the other, thus it wouldn't be side dependent. By seeing all 3 beacons in one scan you could tell where you were.

I think its relatively the same idea.
__________________
"Never let your schooling interfere with your education" -Mark Twain
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 07:57.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi