follow ft86club on our blog, twitter or facebook.
FT86CLUB
Ft86Club
Speed By Design
Register Garage Community Calendar Today's Posts Search

Go Back   Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB > Technical Topics > Electronics | Audio | NAV | Infotainment

Electronics | Audio | NAV | Infotainment Anything related to in-car electronics, navigation, and infotainment.

Register and become an FT86Club.com member. You will see fewer ads

User Tag List

Reply
 
Thread Tools Search this Thread
Old 06-06-2012, 07:50 AM   #1
blalor
Senior Member
 
Join Date: May 2012
Drives: WRB BRZ Limited 6MT
Location: Medf'a, MA
Posts: 148
Thanks: 9
Thanked 51 Times in 26 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Garage
Exclamation Decoding the SpeedcamUpdates.spud file

I saw @PERRIN_Jeff's post on modifying the nav's startup screen and the "speedcam" folder and got curious. I was able to create a speed cam entry manually in the nav interface; it writes a "SpeedcamUpdates.spud" file to the SD card. But that's boring. It seemed like the kind of thing that should be hackable. And it is.

I found a post (partially) detailing the format of that file on the GpsPasSion forums. I'm fluent with Python, so I threw a little something together on GitHub. It's rough, only decoding the one point I put in (which isn't even a camera, it's a fixed "you're going too fast" sign). If you're into that sort of thing, you can play along, too!

Let me know what you think.
blalor is offline   Reply With Quote
The Following User Says Thank You to blalor For This Useful Post:
Oriental Life (06-06-2012)
Old 06-06-2012, 01:38 PM   #2
NRGBalanced
Senior Member
 
NRGBalanced's Avatar
 
Join Date: Mar 2012
Drives: '13 Subaru BRZ Limited WRB
Location: Boston, MA
Posts: 139
Thanks: 55
Thanked 53 Times in 29 Posts
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Garage
Is it possible to do this in reverse? Say you got a dump of speed camera locations from a place like http://www.poi-factory.com. Once you formatted them correctly, is it possible to create a new SpeedcamUpdates.spud that the nav unit will read?
NRGBalanced is offline   Reply With Quote
Old 06-06-2012, 01:43 PM   #3
blalor
Senior Member
 
Join Date: May 2012
Drives: WRB BRZ Limited 6MT
Location: Medf'a, MA
Posts: 148
Thanks: 9
Thanked 51 Times in 26 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Garage
Absolutely. I'll have to do a little more noodling to figure out what if anything changes in the header, but then it's just a matter of re-packing the source file into the binary "spud" format.

Seems that I heard that they're illegal in Massachusetts (yay!), but known speed traps could be used, too.
blalor is offline   Reply With Quote
The Following User Says Thank You to blalor For This Useful Post:
NRGBalanced (06-06-2012)
Old 06-06-2012, 02:02 PM   #4
Symbiont
Tall guys fit, too.
 
Symbiont's Avatar
 
Join Date: Apr 2012
Drives: BRZ Premium 6MT (SWP)
Location: SoCal
Posts: 716
Thanks: 244
Thanked 295 Times in 160 Posts
Mentioned: 14 Post(s)
Tagged: 0 Thread(s)
Garage
I'm curious as to what this functionality was even designed for. Insurance?
__________________
Symbiont is offline   Reply With Quote
Old 06-06-2012, 02:07 PM   #5
blalor
Senior Member
 
Join Date: May 2012
Drives: WRB BRZ Limited 6MT
Location: Medf'a, MA
Posts: 148
Thanks: 9
Thanked 51 Times in 26 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by Symbiont View Post
I'm curious as to what this functionality was even designed for. Insurance?
I guess you could call it that. With a list of speed cameras in the nav, it'll alert you when you're getting close to one (optionally only if you're speeding).
blalor is offline   Reply With Quote
Old 06-06-2012, 04:01 PM   #6
Oriental Life
Senior Member
 
Oriental Life's Avatar
 
Join Date: Mar 2012
Drives: Forester 2007, BRZ Limited '13
Location: Bay Area, CA
Posts: 338
Thanks: 69
Thanked 60 Times in 31 Posts
Mentioned: 1 Post(s)
Tagged: 1 Thread(s)
In some countries disclosure of speedcam locations is required by law. I think UK is one of them.

Being a global vehicle, they saved on one version of firmware for all regions. Apparently, US data is missing.

Keep up the good work! Simple py converter from poi-factory (e.g.csv) to spud format would be super useful! Make sure it runs on py 2.6.1
__________________
I am busy. Do not disturb. http://youtu.be/I58ZSqwFlWw?hd=1
Oriental Life is offline   Reply With Quote
Old 06-09-2012, 09:28 AM   #7
blalor
Senior Member
 
Join Date: May 2012
Drives: WRB BRZ Limited 6MT
Location: Medf'a, MA
Posts: 148
Thanks: 9
Thanked 51 Times in 26 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Garage
I created a sample set of points last night with some combinations of the various types of alerts, directions, etc. I've now decoded most of the file (and found that the original format I found was only partly applicable), but there are still four bytes I don't know what to do with. They could be a checksum, or additional information that's not visible from the nav UI… Can't build a new file from scratch until that stuff can be decoded.

The GitHub project's been updated accordingly.
blalor is offline   Reply With Quote
Old 06-10-2012, 05:04 PM   #8
Turbowned
Senior Member
 
Turbowned's Avatar
 
Join Date: Mar 2012
Drives: 2017 Subaru BRZ Perf Pack 6MT
Location: Colorado Springs
Posts: 5,048
Thanks: 1,949
Thanked 1,945 Times in 1,150 Posts
Mentioned: 28 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by blalor View Post
Seems that I heard that they're illegal in Massachusetts (yay!), but known speed traps could be used, too.
If that's true than a cop blatantly lied to me about being caught speeding on camera. I should've known he was bull$#!tting when I never got a ticket in the mail. I think he was just too lazy to run my license and reg, which was just as well!

Either way, this thread is very interesting! You could perhaps program known speed traps from here:

http://www.speedtrap.org/
__________________

Current: 2005 Porsche 911 Carrera S 6MT
Previous: 2 BRZ's, 997 C2S, C5 RS6, C4 S6, B8 S4, GDB STi, S30 240Z, FC3S RX-7 TII, AW11/SW20 MR2, E30 318is/325i, etc.
Turbowned is offline   Reply With Quote
Old 06-10-2012, 05:25 PM   #9
OrbitalEllipses
Banned
 
Join Date: Jan 2012
Drives: Attitude
Location: MD
Posts: 10,046
Thanks: 884
Thanked 4,890 Times in 2,903 Posts
Mentioned: 123 Post(s)
Tagged: 4 Thread(s)
Quote:
Originally Posted by NRGBalanced View Post
Is it possible to do this in reverse? Say you got a dump of speed camera locations from a place like http://www.poi-factory.com. Once you formatted them correctly, is it possible to create a new SpeedcamUpdates.spud that the nav unit will read?
Quote:
Originally Posted by blalor View Post
Absolutely. I'll have to do a little more noodling to figure out what if anything changes in the header, but then it's just a matter of re-packing the source file into the binary "spud" format.
I would love you forever.
OrbitalEllipses is offline   Reply With Quote
Old 06-11-2012, 10:11 AM   #10
blalor
Senior Member
 
Join Date: May 2012
Drives: WRB BRZ Limited 6MT
Location: Medf'a, MA
Posts: 148
Thanks: 9
Thanked 51 Times in 26 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by Turbowned View Post
If that's true than a cop blatantly lied to me about being caught speeding on camera. I should've known he was bull$#!tting when I never got a ticket in the mail. I think he was just too lazy to run my license and reg, which was just as well!
According to this, tickets must be hand-delivered to the offender. Wow, that's like totally anti-nanny-state! Go Mass!
blalor is offline   Reply With Quote
Old 06-16-2012, 12:46 PM   #11
faz1
Senior Member
 
Join Date: Oct 2011
Drives: Audi A1
Location: Worksop, Uk
Posts: 116
Thanks: 11
Thanked 47 Times in 17 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Oriental Life View Post
In some countries disclosure of speedcam locations is required by law. I think UK is one of them.

Yep. You're correct.
faz1 is offline   Reply With Quote
The Following User Says Thank You to faz1 For This Useful Post:
Oriental Life (06-16-2012)
Old 07-03-2012, 02:06 PM   #12
MrBodyMassage
Member
 
Join Date: Jun 2012
Drives: 1994 Toyota MR2 Turbo, WRB BRZ Lim
Location: Memphis, TN
Posts: 60
Thanks: 17
Thanked 44 Times in 15 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Any update on this?
MrBodyMassage is offline   Reply With Quote
Old 07-03-2012, 02:58 PM   #13
Hawaiian
That guy
 
Hawaiian's Avatar
 
Join Date: Feb 2012
Drives: Ultramarine mt FR-S
Location: chicago
Posts: 2,370
Thanks: 692
Thanked 1,389 Times in 730 Posts
Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Try using the waze app?
Hawaiian is offline   Reply With Quote
Old 07-03-2012, 05:45 PM   #14
blalor
Senior Member
 
Join Date: May 2012
Drives: WRB BRZ Limited 6MT
Location: Medf'a, MA
Posts: 148
Thanks: 9
Thanked 51 Times in 26 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by MrBodyMassage View Post
Any update on this?
No. Haven't had time to work on it. If anyone else wanted to play with creating some sample files via the nav, however, that'd perhaps be helpful in figuring out what some of these mystery fields are.
blalor is offline   Reply With Quote
 
Reply

Tags
hacking, nav, python, speedcam


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

BB 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
Subaru VIN Decoding: What all the numbers and letters mean eikond BRZ First-Gen (2012+) — General Topics 22 07-28-2013 02:40 AM
Decoding the oddities of the Subaru BRZ owners manual blackmist27 BRZ First-Gen (2012+) — General Topics 18 03-23-2012 04:37 PM


All times are GMT -4. The time now is 10:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.

Garage vBulletin Plugins by Drive Thru Online, Inc.