Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
04-07-2004, 12:24 AM
|
#1
|
|
Newbie
Join Date: May 2001
Location: Oregon
Posts: 39
|
GPS Speed Display
I'm working on a project to display speed of a vehicle using GPS data. I ran it on my PII 300Mhz computer, but seems like there's delay representing the data. Can someone in the forum try it out on their faster computer and get back to me with the result. I'll send you the files if you email me. Here's the picture of the display.
__________________
800Mhz PIII, DVD, IRman, ATI TV, Rage Pro 32MB, SB Live platinum, DC-DC ATX ps.
E-Mail: umsam@yahoo.com
My 4runner
|
|
|
04-07-2004, 12:31 AM
|
#2
|
|
Constant Bitrate
Join Date: Nov 2003
Location: atlanta ga
Vehicle: import
Posts: 181
|
it's not a computer issue, it's a latency thing. it takes time for data to travel down from the orbiting satellites. it's normal.
|
|
|
04-07-2004, 12:40 AM
|
#3
|
|
Newbie
Join Date: May 2001
Location: Oregon
Posts: 39
|
Thanks, but I know about that issue. When I run it on my PII computer, I can't even move the mouse at real time. When I run it on my desktop, it runs much faster, but I can't move the desktop to test it out. I know the speed won't be totally real time, but I want it to get it close as possible.
__________________
800Mhz PIII, DVD, IRman, ATI TV, Rage Pro 32MB, SB Live platinum, DC-DC ATX ps.
E-Mail: umsam@yahoo.com
My 4runner
|
|
|
04-07-2004, 08:58 AM
|
#4
|
|
Low Bitrate
Join Date: Jan 2004
Posts: 59
|
Quote: Originally Posted by umsam
I'm working on a project to display speed of a vehicle using GPS data. I ran it on my PII 300Mhz computer, but seems like there's delay representing the data. Can someone in the forum try it out on their faster computer and get back to me with the result. I'll send you the files if you email me. Here's the picture of the display.
Umm GPS NMEA message come once a second that means your speed will only get updated ONCE A SECOND no matter how fast your computer is. The only way around this might be to use third-party binary protocols offered by Garmin and other GPS's but they will not be compatabile with all GPS's. GPS is just not a good way to get any accurate vehicle speed- OBD-II would be the ideal way to do that.
|
|
|
04-07-2004, 03:00 PM
|
#5
|
Join Date: Feb 2004
Location: PA, USA
Vehicle: 2000 Subaru Impreza Outback Sport
Posts: 805
|
I haven't tested it out, but I can see one very big problem right off the bat...
It only goes to 150. Just my 2 cents though. Nice job otherwise.
__________________
2000 Subaru OBS
Dell P3 @ 900 Mhz
7" Lilliput TS w/DigitalWW in-dash mount
80GB External HD
I am Zero Bitrate....
|
|
|
04-07-2004, 03:31 PM
|
#6
|
|
Constant Bitrate
Join Date: Dec 2003
Location: South West, FL
Vehicle: 2005 PT Cruiser
Posts: 201
|
Quote: Originally Posted by kiltjim
I haven't tested it out, but I can see one very big problem right off the bat...
It only goes to 150. Just my 2 cents though. Nice job otherwise.
 where are you driving that you need above 150 ?
Scorp
|
|
|
04-07-2004, 04:13 PM
|
#7
|
|
FLAC
Join Date: Nov 2003
Location: Massachusetts
Vehicle: Porsche Boxster S
Posts: 1,451
|
Have a read through this thread too http://www.mp3car.com/vbulletin/show...6&page=2&pp=15 unfortunately I lost the source code to a disk crash but I may start over when I get my laptop rebuilt. I think the link to Frodo's site has the first version, I have a compiled exe of the second version if anyone wants to try it.
My aim was to display speed, heading etc and then add tracking to this so that the app could run and track where it went and how fast such that you could automatically log data when someone borrows your car etc.
Chris.
|
|
|
04-07-2004, 09:40 PM
|
#8
|
|
FLAC
Join Date: Nov 2003
Location: Massachusetts
Vehicle: Porsche Boxster S
Posts: 1,451
|
|
|
|
04-07-2004, 10:23 PM
|
#9
|
|
FLAC
Join Date: Mar 2004
Location: Florence Yall, BFKY
Vehicle: 98 Trans Am
Posts: 1,718
|
Check your CPU usage. You should really only be using 0% about 95% of the time. If not, either the serial reader is polling instead of waiting on events, or you're drawing more than once per second. Make sure you're not getting hundreds of reads per second on the serial port first. That would really slow things down.
__________________
XPort 1.26 -GPS port splitter, logger, and USB device resume fix
|
|
|
04-07-2004, 10:40 PM
|
#10
|
|
Raw Wave
Join Date: Dec 2003
Location: not sure yet.
Vehicle: 1998/Ford/Explorer
Posts: 2,218
|
i like it, 2 cent: colors on most used speeds. like 65 here in states and larger numbers. For me it would be more easy to view the color change than the numbers.
|
|
|
04-08-2004, 06:01 AM
|
#11
|
|
Constant Bitrate
Join Date: Apr 2003
Location: Melbourne/Cranbourne
Vehicle: 1980 Holden Commodore VC
Posts: 132
|
Hi,
I'm from australia and down here we use KM/H would it be possible to change this? By the way i'll email you about testing the program out.
Thanks
__________________
CarPC: Currently in progress...
|
|
|
04-16-2004, 01:55 AM
|
#12
|
|
Registered User
Join Date: Aug 2003
Location: Amarillo, TX
Vehicle: BMW E46 M3
Posts: 655
|
siberia37: actually, binary protocols will not help with the update frequency. Almost all gps's update their position information at 1Hz, and thus their average speed. I looked into GPS's that do it faster and found some 5Hz update models (Garmin GPS16A), but they are all very expensive ($300+) due to this fact. Also, the speed returned by the GPS will be the average speed over the last second (or 1/5 second on a 5Hz gps) immediately when it is sent out the serial port.
You could couple the GPS data with input from an accelerometer to determine speed changes between GPS updates without sacrificing accuracy too much. The math for this dead reckoning gets a little complicated, but it's still very do-able and the accuracy is pretty good, too! www.phidgets.com sells a pretty inexpensive accelerometer.
__________________
MY CAR IS FOR SALE!
See My Project Page for Details - 2003 BMW E46 ///M3
Custom Dash Monitor Housing - OEM Fitment
Custom Overhead DVD-ROM Housing in Headliner
BMW I-Bus Integration
My homepage with many other fun projects!
|
|
|
04-23-2004, 03:33 AM
|
#13
|
|
Low Bitrate
Join Date: Jun 2003
Location: Brisbane
Posts: 79
|
Quote: Originally Posted by gork
You could couple the GPS data with input from an accelerometer to determine speed changes between GPS updates without sacrificing accuracy too much.
Or you could do some predictive interpolation of just the GPS output i.e. if the last GPS speed read was "v" and the speed before that was "u" and the present moment is "x" milliseconds after "v", the current speed is approximated by:
( (v-u) * x/1000 ) + v
assuming your acceleration rate does not change much over the 1 second interval.
|
|
|
04-23-2004, 03:58 AM
|
#14
|
|
Variable Bitrate
Join Date: Sep 2003
Location: UK, Sale, Cheshire
Vehicle: 2001/Toyota/Hiace
Posts: 404
|
Umsam
Where can we get the code to test it. I will give it a go this weekend.
__________________
Audi S8 supercar
Modded Xbox 400GB HD
Rear 7" screen & navplus
Toyota Hiace Van
Shuttle PIII 866 256Mb 10GB OPUS powered
MediaCar & Mappoint 2004
Custom fit 7" TFT VGA TSK
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:15 AM.
|
|