Announcement

Collapse
No announcement yet.

Speed Limit / Speed Zone Plugin RELEASED

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Speed Limit / Speed Zone Plugin RELEASED

    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)
    Attached Files
    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"

  • #2
    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"

    Comment


    • #3
      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"

      Comment


      • #4
        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"

        Comment


        • #5
          version 3 already? at this rate we'll be on version 15 by Friday...

          nice job...i'll try this out later...

          thanks

          .:[ x10's GMLAN ]:.

          Sirius Channels Update

          Comment


          • #6
            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"

            Comment


            • #7
              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"

              Comment


              • #8
                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)
                ****************************************
                OLD SYSTEM (DEAD)
                Intel D945GCLF2 Dual Core ATOM
                Lilliput 7" 629GL 2008 LED Backlight
                BU-353 USB GPS Receiver / iGuidance / IGO8
                M2-ATX Power Supply
                RideRunner Front End / Various Skins
                Windows XP SP3

                Comment


                • #9
                  Originally posted by treetop777 View Post
                  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"

                  Comment


                  • #10
                    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.
                    ****************************************
                    OLD SYSTEM (DEAD)
                    Intel D945GCLF2 Dual Core ATOM
                    Lilliput 7" 629GL 2008 LED Backlight
                    BU-353 USB GPS Receiver / iGuidance / IGO8
                    M2-ATX Power Supply
                    RideRunner Front End / Various Skins
                    Windows XP SP3

                    Comment


                    • #11
                      I was actually thinking of this earlier. it would have to work like a grid. It could use your lat and long from RR, Then compare to your setpoint of your Lat and Long. It would have to work on a plus or minus type system. In other words if where your school zone start at Lat = 12 then I could plus or minus 1 So if your setpoint lat = 12 and your current lat => 10 and <= 14 then it could warn you or automatically set the speed limit.
                      This is possible but will probably take some time to develope something stable enough to call it useable. I will get crackin' on this though because I myself would like to see something like this.
                      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"

                      Comment


                      • #12
                        Ah Yes, this is something i would have running all the time. I was thinking tho' it would have to be capable of reading the whole coordinates number (way into the decimals) because school zones are 1/10 mi maybe; looking at the coordinate read-out from rr, the first 2-3 decimals don't change a lot and cover a large area. I was thinking to be able to set a "start" coord. and a "end" coord. up to the last decimal so it be real precise. But wait! what if you enter the zone from the other end? the "end" coord. would be the "start" coord. - then what?

                        And to further peek your interest and get crative juices flowing, check out the speed limit signs:
                        Attached Files
                        ****************************************
                        OLD SYSTEM (DEAD)
                        Intel D945GCLF2 Dual Core ATOM
                        Lilliput 7" 629GL 2008 LED Backlight
                        BU-353 USB GPS Receiver / iGuidance / IGO8
                        M2-ATX Power Supply
                        RideRunner Front End / Various Skins
                        Windows XP SP3

                        Comment


                        • #13
                          OK wow 3 hours in to this speed zone thing and I am starting to see a glimmer of hope.
                          What you will be able to do is,
                          (1) set the zone according to your current location and if you pass through it with in 10 feet in any direction of it you will be notified of that speed zone
                          (2) Set the speed zone type (school, construction or what ever)
                          (3) Speed zone speed limit

                          When you pass through the speed zone it RR will call out an audible alert as well as trigger an indicator

                          My current plan will only allow for up to 10 zones but may be more in the future.
                          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"

                          Comment


                          • #14
                            In my skin, I set speed limit signs as well.
                            What I did is had an indicator that will display an image when over speed limt and a label on top of that image that displays the current speed limit setpoint. That way I only needed one image. It works great. There is a lot of different ideas I incorporated in to my skin speed limits is just the begining....
                            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"

                            Comment


                            • #15
                              FANTASTIC!
                              ****************************************
                              OLD SYSTEM (DEAD)
                              Intel D945GCLF2 Dual Core ATOM
                              Lilliput 7" 629GL 2008 LED Backlight
                              BU-353 USB GPS Receiver / iGuidance / IGO8
                              M2-ATX Power Supply
                              RideRunner Front End / Various Skins
                              Windows XP SP3

                              Comment

                              Working...
                              X