Go to Post you should see my scout sheet its the bomb diggity - Mirza95vx [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 14-10-2007, 17:52
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: GPS with VEX

WPILib is the framework written by Brad Miller at WPI (hence the name) from which EasyC is based on. You can program using WPIlib in either EasyC PRO (because it supports custom .c files and has a built-in text editor) or any other IDE of your choice. (MPLab, Eclipse, etc). Every time you use something like StartUltrasonic(); or SetPWM(); in EasyC, that's really a WPILib function.

There are currently 2 serial ports on the Vex controller - the RxTx port and the programming port. Using WPILib, you can interface with TTL devices (like the CMUcam) using the RxTx port and a TTL converter. As long as the device is 5v and outputs TTL, you should be able to write your own custom 'drivers' to read the signal on the Vex controller using WPILib.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
  #2   Spotlight this post!  
Unread 14-10-2007, 19:40
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: GPS with VEX

doesn't the parrallax gps have i2c, i think this would be compatible with Vex
  #3   Spotlight this post!  
Unread 15-10-2007, 16:08
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: GPS with VEX

How accurate would GPS be? Would it be accurate enough to detect robot movement on the field?

This made me think (kinda unrelated), but what if you set up a local positioning system within the venue to track your robot on the field (I can already think of the rules that this violates), but maybe we could ask for an exception for a completely automated system, or better yet and IFI supported venue device that is universal and could be used by all teams to track their robots?

Thinking aloud,
Jacob
  #4   Spotlight this post!  
Unread 15-10-2007, 16:58
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: GPS with VEX

gps is accurate enough that you could pinpoint the location of your robot in your room (i.e. what room its in)
  #5   Spotlight this post!  
Unread 15-10-2007, 17:05
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: GPS with VEX

You would need easyC Pro to access the serial port to use GPS. I think GPS would be a really cool field positioning device for both FRC or FTC. I just don't know enough about how you could create your own field based GPS network. Would be cheaper to use ZigBee modules to pinpoint a location based on signal strength?

Quote:
doesn't the parallax gps have i2c, i think this would be compatible with Vex
Unfortunately IFI didn't bring out I2C in the VEX controller other then it is used by the two PICs
to communicate with each other.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni

Last edited by Kingofl337 : 15-10-2007 at 17:07.
  #6   Spotlight this post!  
Unread 16-10-2007, 08:14
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: GPS with VEX

Quote:
Originally Posted by Kingofl337 View Post

Unfortunately IFI didn't bring out I2C in the VEX controller other then it is used by the two PICs
to communicate with each other.
doesnt matter, you can use standard I/O pins and make subroutines for i2c, look at this topic in the VexForum (www.vexforum.com), i've already posted how, after FIRST i'll even make the subroutines
  #7   Spotlight this post!  
Unread 15-10-2007, 17:27
SgtMillhouse648's Avatar
SgtMillhouse648 SgtMillhouse648 is offline
Registered User
AKA: Malhon Godwin
FRC #0648 (QC Elite)
Team Role: Engineer
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Davenport, IA
Posts: 153
SgtMillhouse648 has a spectacular aura aboutSgtMillhouse648 has a spectacular aura about
Send a message via MSN to SgtMillhouse648
Re: GPS with VEX

Quote:
Originally Posted by basicxman View Post
gps is accurate enough that you could pinpoint the location of your robot in your room (i.e. what room its in)
maybe what room its in, most GPS units I know are accurate to only about 10-20 feet of so.
__________________
2007-
Midwest Regional-
Regional Finalists with 1000 and 447
Rockwell Automation Inspiration in Control Award
Regional Woodie Flowers - Ed Wegscheid



  #8   Spotlight this post!  
Unread 15-10-2007, 17:37
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: GPS with VEX

It's worth noting that the quality of your GPS signal is substantially deteriorated if you don't actually have line-of-sight to the sky, so even with an exceptionally accurate GPS unit (some models have sub-meter resolution, though most likely not within the FIRST expense rules), it'd be pretty hard to ascertain your position inside an arena. However, making an outdoor robot with a GPS is pretty sweet.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #9   Spotlight this post!  
Unread 15-10-2007, 19:14
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: GPS with VEX

So.... what are the odds of IFI issuing some kind of field positioning system (weather its a beacon in the center of the field, or some kind of magic sensors under the carpet) and the devices to use in our bots?

I think that while the lights are a challenge, they simply aren't accurate enough. Imagine how much more complicated the game could be if you could reliably know where your robot is at all times.

Jacob
  #10   Spotlight this post!  
Unread 15-10-2007, 20:14
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,508
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: GPS with VEX

Quote:
Originally Posted by whytheheckme View Post
So.... what are the odds of IFI issuing some kind of field positioning system (weather its a beacon in the center of the field, or some kind of magic sensors under the carpet) and the devices to use in our bots?

I think that while the lights are a challenge, they simply aren't accurate enough. Imagine how much more complicated the game could be if you could reliably know where your robot is at all times.

Jacob
In 2004 there were two infrared beacons that could be used.... From what I remember, most teams didn't because dead reckoning, line following & gyro and/or encoders all worked better. Anyone with more experience care to clarify?

How is the light not accurate enough though? Between this year and last year we had distance down to less than a foot of accuracy, and the angle wasn't too bad either (I don't remember exactly). I can't imagine any field based navigation being any more accurate.
EDIT: didn't realize you were talking about the entire field, not just an object...... In that case, I can't think of any current system that is realistic for FIRST that will work here....

Last edited by AdamHeard : 15-10-2007 at 20:18.
  #11   Spotlight this post!  
Unread 15-10-2007, 20:20
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: GPS with VEX

I was thinking about a radio transmission system that works like a local GPS, where something above the field is transmitting a signal, and devices on the robots can use the exact timing of that signal to determine exactly where it is (think thats how GPS works, but i could be completely wrong.) Something radio, wireless, free of looking for visual things (or infrared, basically free of line of sight stuff.) More of an actual location instead of an estimated calculated location. Think of the possibilities for a game and the autonomy of a game if you had this data reliably!

(I just realized that I'm talking about FRC here, and the thread is titled VEX. Sorry for the confusion.)

Jacob
  #12   Spotlight this post!  
Unread 15-10-2007, 21:05
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,830
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: GPS with VEX

Here's a couple ideas to kick around... rather than using a radio signal, why not an ultrasonic signal? Since sound travels more slowly, it is a bit easier to measure the timing differences accurately. If there were four transmitters (one in each corner of the field) and each fired a slightly different length of noise at a pre-defined interval, it may be possible for the robot to determine its position with a fair bit of precision... barring reflections and other nastiness.

Or take a couple of CMUcams (or perhaps something with a bit higher resolution) and point them up at the ceiling... use some of the fixed field lighting as "stars" for an "astonomical" positioning system. It would require a fair bit of effort to deal with blinking and moving lights and such, let alone lens flares and other real-world weirdness, but in the happy, happy world of pure theory... it might work.

But anyways, that is off the point of the thread... my Garmin Etrex Legend has an RS-232 port and should be able to "talk" to a VEX. Although I've only used it for downloading track logs and uploading maps, I believe it IS capable of doing a real-time GPS location feed. The downside is that it has an older chipset... I've found the new SirfStar III devices to have much faster acquisition times and better reception. Some of them even work indoors.

There are also neat tricks for improving GPS accuracy. One of the less expen sive ones... although not a particularly useful one for real-time robotics applications... is to leave your GPS sitting in one place for an hour or so and record all the positional readings (they will fluctuate a bit). Then you compare them to the readings of a nearby receiver at a known location. Since some of the errors in your signal are caused by random atmospheric fluctuations, and since a nearby receiver will have similar fluctuations, then the errors between the two sets of readings should be similar. Since the reference receiver is at a known location, it will be possible to determine a known error, and modify the results for the mobile GPS unit. I suppose this technique could be modified to offer real-time benefits, but I don't know if I'd want to do that on a VEX platform.

Jason
  #13   Spotlight this post!  
Unread 16-10-2007, 11:08
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: GPS with VEX

Quote:
Originally Posted by dtengineering View Post
There are also neat tricks for improving GPS accuracy. One of the less expen sive ones... although not a particularly useful one for real-time robotics applications... is to leave your GPS sitting in one place for an hour or so and record all the positional readings (they will fluctuate a bit). Then you compare them to the readings of a nearby receiver at a known location. Since some of the errors in your signal are caused by random atmospheric fluctuations, and since a nearby receiver will have similar fluctuations, then the errors between the two sets of readings should be similar. Since the reference receiver is at a known location, it will be possible to determine a known error, and modify the results for the mobile GPS unit. I suppose this technique could be modified to offer real-time benefits, but I don't know if I'd want to do that on a VEX platform.

Jason

WAAS (wide area augmentation system) does this for you on relatively new GPS receivers. it takes what the satellites are giving and compares it to a known location (WAAS station)
__________________


  #14   Spotlight this post!  
Unread 16-10-2007, 23:37
dasmoenator dasmoenator is offline
Registered User
no team
 
Join Date: Oct 2007
Rookie Year: 2005
Location: FL
Posts: 6
dasmoenator is an unknown quantity at this point
Send a message via AIM to dasmoenator Send a message via MSN to dasmoenator
Re: GPS with VEX

Thanks for the great info guys. I'll definitely be looking into WPILib. From what I hear its what I need. My project is more of an outdoors thing so I'm not too worried about GPS signal having problems with walls. I'm still somewhat torn between the parallax GPS and the eTrex. I'll probably end up with the parallax as it was mainly made for this purpose and the fact that I will be able to integrate it into my bot quicker and easier is a major plus. I'll post back with some results after I try it all out.
  #15   Spotlight this post!  
Unread 15-10-2007, 21:16
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: GPS with VEX

There are six fixed position 900 mhz transmitters at the operator stations. There are ways to resolve your position from these sources, however it is not easy. In the past our team has used parts of the field as way points. This proved very easy to do in stack attack and raising the bar. First put lines on the field. They where easy to detect with the Banner sensors. We drove toward the line using dead reconing, stopped when the line was detected, timed turn and go on. It was good enough to nock the ball off in raising the bar. We now have a large inventory of available senors. Each year evaluate the field for waypoints objects.
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
Using a VEX Receiver with Non-Vex Equipment akaria VEX 26 06-09-2008 00:55
GPS receiver John Gutmann Technical Discussion 23 01-03-2007 02:35
Car GPS Systems KTorak Chit-Chat 10 17-11-2005 04:12
InfraRed = gps ? nzj1 General Forum 17 11-01-2004 16:58
GPS Robot K. Skontrianos General Forum 3 11-05-2002 00:32


All times are GMT -5. The time now is 03:44.

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