Go to Post Let it be noted in the annals of FIRST history that on this day the game design committee did NOT choose to change, clarify, explain, or interpret ANY PART of the 2010 Manual. - Richard Wallace [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 13-10-2007, 16: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
GPS with VEX

As of now I have a pretty complex Vex bot with a variety of sensors. I'm interested in using a GPS receiver but I'm unsure if it'll work and how I'll be able to use it. I want to be able to use the GPS receiver to control the bot to move where I want it to go. The bot also uses ultrasonic sensors to avoid obstacles if that makes if a difference. I'd prefer to not have to buy a new microcontroller if the VEX controller can do the job. But if you're 100% it can't then I'd be interested in another Microcontroller. For programming I use EasyC and RobotC.

Any input would be greatly appreciated.

Thanks
  #2   Spotlight this post!  
Unread 13-10-2007, 17:14
Binome's Avatar
Binome Binome is offline
Programmer/Electronics/CAD
AKA: Patrick
FRC #2273 (SHIM)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Surrey,BC
Posts: 105
Binome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of light
Re: GPS with VEX

GPS reccivers traditionally output NMEA 0183 sets of data over a serial port. I'm sure you could decode the data and read it using a vex controller. A good overview of the output of a recciver is Here
  #3   Spotlight this post!  
Unread 13-10-2007, 17:17
Robostang 548's Avatar
Robostang 548 Robostang 548 is offline
I can program the future...
AKA: Don
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Northville Mi
Posts: 69
Robostang 548 is on a distinguished road
Send a message via AIM to Robostang 548 Send a message via MSN to Robostang 548 Send a message via Yahoo to Robostang 548
Re: GPS with VEX

I don't know if the Vex controler can support serial communication because I've never used vex before, but there is a a good gps reciver at http://www.parallax.com/detail.asp?product_id=28146 . I know my team was contemplating using this for our frc bot. If the vex controler does support serial communication then you just have to write some protocol code for the reciver and you shouldent have any problems.
__________________

Team 548:
Attending National Championship, Genesee District, Detroit District 2, West Michigan District, Michigan Championship?


  #4   Spotlight this post!  
Unread 13-10-2007, 17:20
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

Yea I've been reading up on NMEA over the past few days. I was looking at this GPS reciever http://www.parallax.com/detail.asp?product_id=28146 but I was unsure if the VEX controller would be able to decode the input to be able to control the robot. I talked to a sales rep from Parallax and he was unsure as well.
  #5   Spotlight this post!  
Unread 13-10-2007, 19:47
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: GPS with VEX

People have used the CMUcam with a Vex controller over serial so you can defientely do it.
  #6   Spotlight this post!  
Unread 13-10-2007, 19:53
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

The Vex controller has 2 serial ports available. The port 2 is unused and could be used to interface to the GPS unit. It is a 5 volt TTL serial port. The Parallax GPS is 5 volt TTL and would be compatible with the Vex port. I don't remember there being serial port support in easy C however WPLib does support serial if you want to use Easy-c. Note that this an older GPS unit and probably will not work well indoors.
  #7   Spotlight this post!  
Unread 14-10-2007, 09:47
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

The Vex microcontroller only has 1 serial port that I can see. But the Parallax GPS reciever, from what I can see, works with the board ports and I'd be plugging it into the rx port I assume. I guess my main problem now would be how to code it since EasyC would most likely not work. Not exactly sure what WPLib is but I also do have Carnegie Mellon's RobotC. If you could elaborate more or maybe hit me up on AIM or something that would be great.

I also noticed another good GPS unit thats being used a lot called the eTrex made by Garmin. I'd most likely need a new microcontroller which isn't the biggest problem in the world though I'd like to stay with VEX because I already have all my sensors coded and hooked up the way I want them. But the GPS at this point is more important and I'd be willing to make a change if neccessary.
  #8   Spotlight this post!  
Unread 14-10-2007, 10:11
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

I believe Easy-C pro does support serial. The functions are there but may not be exposed. I don't have Easy-C pro. Maybe some one could cjhme in or post a question in the easy-c pro sub forum.
  #9   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

世上无难事,只怕有心人.
  #10   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
  #11   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
  #12   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)
  #13   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.
  #14   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



  #15   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

_
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