|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
||||
|
||||
|
Re: GPS with VEX
People have used the CMUcam with a Vex controller over serial so you can defientely do it.
|
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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.
|
|
#7
|
|||||
|
|||||
|
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. |
|
#8
|
|||
|
|||
|
Re: GPS with VEX
doesn't the parrallax gps have i2c, i think this would be compatible with Vex
|
|
#9
|
|||||
|
|||||
|
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 |
|
#10
|
|||
|
|||
|
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)
|
|
#11
|
||||
|
||||
|
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:
to communicate with each other. Last edited by Kingofl337 : 15-10-2007 at 17:07. |
|
#12
|
|||
|
|||
|
Re: GPS with VEX
Quote:
|
|
#13
|
||||
|
||||
|
Re: GPS with VEX
maybe what room its in, most GPS units I know are accurate to only about 10-20 feet of so.
|
|
#14
|
||||
|
||||
|
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.
|
|
#15
|
|||||
|
|||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |