Version 2 uploaded in to first post... Much better speed detection
THIS IS NOT HARD TO SETUP, it is a little difficult to skin properly.
An example skin from my New Age 2 Garmin Style skin is included now 9/15 and should help you with your setup.
This is a script I wrote so that I could incorporate speed limit reminders in my car.
This is a pretty powerful tool if used to it's potential.
When started it checks if Road Runner is running, if not it will display a message box with an error
If RR is not running the message box times out after 5 seconds and the script closes.
IF RR is running it checks to see if you set the speed limit setpoint correctly
If you didnt it will make a voice announcement through road runner as long as you enabled voices in RRCONFIG or
voice=true was added to your RR.INI
=============Speed Limits-------->
If you set the speed limit correctly and the voices are enabled then It will announce the speed limit and continue to
monitor your speed.
If you exceed the speed limit it will run RR command "SPEEDLIMIT" and announce the set speed limit and your current speed
along with 1 of 4 voice messages. As long as they are set in the skin.ini according to the instructions. If these
messages are not set correctly it will not announce any additional message.
It will announce specific messages according to how much over the speed limit you are.
The First additional voice message is announce between 15 and 24 MPH over speed limit
The Second additional voice message is announce between 25 and 34 MPH over speed limit
The Third additional voice message is announce between 35 and 44 MPH over speed limit
The Fourth additional voice message is announce between 45 MPH and up over speed limit
It will continue to announce your speed, speed limit and messages until your speed drops below the speed limit. It will
check your speed every .200 seconds
Once your speed drops below the speed limit setpoint it will run RR command "SPEEDLIMITOFF" and say "Thank you for slowing down"
========SPEED ZONES--------->
Description
Speed zones are up to 10 different points of interest you can set that you want specific speed limit settings and reminders for. For instance a school zone.
To set them, press the zone you want to set (zone 1), the a menu will pop up with options of POS (position) ZONE (Type of speed zone) and Speed. Pressing the position button will set your GPS coordinates. Pressing the Zone button will Present an OSK and allow you to name this zone. Pressing speed will present the Numbe osk and let you type in the speed limit.
The next time you come with 50 feet of your speed zone it will warn you that you are approaching that zone, tell you the speed limit and if you are going over the speed limit it will let you know that as well. Once exiting the speed zone or after you are out of the 50 ft perimiter it will return your speed limit to your previous setpoint.
Because not all GPS recievers are as accurate as they could be, Your coordinates according to your reciever may change slightly which is the reason for the 50 foot perimeter.
I have been using this now for about 2 weeks and it works great. It has warned me everytime I entered any of the set speed zones.
I hope someone can find this usefull.
Once road runner is closed or exited from, the script stops and closes it self.
POTENTIAL POSSIBILITIES
This plugin executes a command in RR any time you enter you speed zone. So if you set your home zone correctly, when you approach your home you can have it execute a command to update any internet releated data VIA wifi. This is what I have planned in my setup. I will get home, the Speed zones trigger the command then my computer will go through and update the weather, movie times, gas prices and anything else I can think of via the internet. You could also have it trigger a command on a remote computer attached to your WIFI network keeping a log when you leave and return home or a warning that the car has left the home zone.
You could also use your speed zones to trigger connections to WIFI networks available around your area. Instead of speed zones, you could make them WIFI zones. It would require some ingenuity on your part, but if you really would like to do that, you will.
So now you get the idea of the speed zone plug in. If you want something to happen when you approach your speed zone, now it can.
12/18/2008 New Version included with my New Age Garmin Skin
-20 Speed zones (was 10)
-Detects your speed zone according to the direction you are driving
-Better detection of coordinates
-Fixed bug with not reporting current speed zone speed limit and current speed zone to Road Runner
DOWNLOAD NAV29.ZIP from my new age skin thread
V4.0
RELEASED On it's own 9/15/2008
Fully Tested
Constantly Monitors your speed and GPS coordinates
You can now set speed zones according to your GPS coordinates
Will notify you and change the speed limit when you pass through your speed zone
Voice Notifications of over speed limits and entering speed zones
2 Sliders that indicate that it is monitoring
Works Great
Much less resource hungry
v3.0
Lots of additional functionality and much better stability. Does not need to be closed and restarted to update speed limit like it did in V2.5
V2.5
Better handeling of information, included a close speedlimit command so that you can either stop it or stop and restart it with a different speed.
v2.o
Updated the script tremendously. It used to check your speed limit against the setpoint and incriments of 5, now anything over the speed limit will execute RR command "SPEEDLIMIT"
(sorry for all the quick updates, I'm finding out alot of stuff as I keep coding)![]()
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
Version 2 uploaded in to first post... Much better speed detection
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
v2.5 hopefully a little better functionality
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
Version 3, lots of quick updates
This is probably pretty close to final. Not too sure what else I would want it to do.
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
version 3 already? at this rate we'll be on version 15 by Friday...
nice job...i'll try this out later...
thanks![]()
This is more than likely the final.. I have been crackin' at this shtuff all day.
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
OK gave it test run in the car and all seems to be working as expected accept for the 4 additional speed warning messages. I will continue to work on this and work out the bug. For now it is totally functional and works pretty good as is.
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
WoW! This could prove very usefull, THANKS!
As in you Garmin script, why don't you eliminate it checking if RR is running..
(unless it can be used outside RR)
It needs RR in order to work, with out RR it can not get the speed info it needs from GPS. It also send text to RR along with other commands. It also has to check for RR because it closes automatically when RR is closed to prevent program errors.
Having it do this dosent really affect it, it doesnt have to react as fast as the OSK does. Reaction time doesnt really matter. It is just a peice of candy added for RR, not really something that demands a necessity for function.
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
Can this be made to read and compare coordinates? Let's say i input the coordinates (start to end) of one of the many school zones in my area (maybe in an .ini or something), could it then alert me of the speed limit when i enter the school zone base on the current GPS coordinates acquired from rr?
That would have saved me from the Darn ticket i got the other day - LOL!
Just a thought.
Bookmarks