Announcement

Collapse
No announcement yet.

Basic Speed Camera Alert

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

  • Basic Speed Camera Alert

    I have written a very basic program to give at this stage visual only alerts of proximity to Speed Cameras.

    Place the attached file in the FreeDrive Folder together with a comma delimited csv File named Speedcams.csv in the format - Type|Longitude|Latitude|Name|Speed

    In the sdk.ini file in the Freedrive Folder make
    fdlong=fdexample and
    fdsat=fdexample

    To use - load Freedrive first then this Application.

    As I said very Basic - should alert when within about a klm of a camera.
    Attached Files

  • #2
    2nd Compile

    Added
    * The Form will now stay on top and can be started before FreeDrive.
    * Will show a message if it has no communication with FreeDrive.
    * Program updates at this stage every 10 seconds.

    If you want to simulate it without a GPS connected add an entry into your CSV file of your Home so that it becomes a simulated Speed Camera sight.
    Then just set new origins in FreeDrive at about 500metre to 2 kms away.
    Attached Files

    Comment


    • #3
      very nice m8, I havent got much spare time at the mo, infact I aint even got a 'carputer' at the moment.. I still have the m3, but dont want to mess with that install as its ready for selling now. will have a play later.. nice one

      CdR
      Follow me on Twitter

      http://www.FreeICE.co.uk

      Comment


      • #4
        SpeedCam - 3rd Compile

        Unzip and copy the 2 files to the Freedrive Folder.
        Don't forget to change the sdk.ini file as detailed earlier.

        * Now has Sound Alert - (If you don't like the Robinsons Robot warning you then put another filed called warning.wav in the folder)
        *Now updates every 5 seconds from FreeDrive
        *Now positioned in top left corner below next turn bar when FreeDrive is embedded in Road Runner.
        *Warning now flashes when active
        *Now advises when connecting to FreeDrive
        Attached Files

        Comment


        • #5
          is there a way to add cameras on the road?

          if not that is my next suggestion... Also a "logic" mode that warns you verbally only if you are over the speed limit, and that makes the warning happen further from the speedcam depending on your speed (if you are faster it will tell you ahead of time so you can slow down)
          Roy

          2005 Range Rover 4.4
          Any ideas for putting a PC in this? :)

          Comment


          • #6
            Adding Cameras & LOGIC Mode

            Originally posted by RoyN
            is there a way to add cameras on the road?

            if not that is my next suggestion... Also a "logic" mode that warns you verbally only if you are over the speed limit, and that makes the warning happen further from the speedcam depending on your speed (if you are faster it will tell you ahead of time so you can slow down)
            You can not add cameras at the moment although it would be easy to do.
            At the moment it does not compare the Speed Camera and actual speed but again it would be easy to do.

            The logic mode that you talk of would be good particularly if the Alert Speed was easilly customisable while going along.

            This would all be much easier to implement within FreeDrive itself without having to use the SDK and I have only done it so far as a preliminary to Cdrskull implementing it in the future.

            Also there would be no way at the moment of showing the cameras on the map as in MapMonkey from this SpeedCam.

            I will keep playing around with it at the moment though.

            Regards
            AUSMARK

            Comment


            • #7
              AUSMARK, I have fixed the long/lat problem.. sorry it was my fault. Check the last few posts of the request thead for a updated release. I'm away for a week or so soon, but intend to add speedcams when I get back. Are you doing your program in VB ? if you are then I could integrate it into freedrive no probs. I could also sort out showing the speedcams on the map. Let me know what you think

              cheers

              CdR
              Follow me on Twitter

              http://www.FreeICE.co.uk

              Comment


              • #8
                Originally posted by CdRsKuLL
                AUSMARK, I have fixed the long/lat problem.. sorry it was my fault. Check the last few posts of the request thead for a updated release. I'm away for a week or so soon, but intend to add speedcams when I get back. Are you doing your program in VB ? if you are then I could integrate it into freedrive no probs. I could also sort out showing the speedcams on the map. Let me know what you think

                cheers

                CdR
                Yes - working now.

                Using VB - That is fine - give me a couple of days to tidy the code up and I will send it to you.

                Regards
                AUSMARK

                Comment


                • #9
                  SpeedCam V1.0.0.7

                  I have added variable Speed Alert to SpeedCam and updated the code to handle Speed cameras better.
                  Place the unzipped files in the FreeDrive Directory with CSV File as before.

                  In the sdk.ini file add
                  fdspeed=speedcam
                  and change
                  fdlong=speedcam
                  fdlat=speedcam

                  The SpeedCam button will show the current SpeedAlert which can be changed by clicking the button.
                  The colour of the button will change colour from Green to Yellow to Red depending upon the Alert situation ie Over Speed or proximity to Speed Camera.
                  Verbal warnings will also occur.

                  Speed Alerts can be customised in the Speedcam.ini file together with Warning Distances, Startup Position and default Speed Alert.

                  I hope this code is of some help to you CdRSkull. It would be much better built into Freedrive itself. I think it would work best with the button in its present form done away with and instead incorporated into the Speed Display on FreedDrive - you could have the Speed change colour for the warnings and act as a button to bring up the Speed Alerts.

                  I hope you like the idea of the Variable Speed Alerts.

                  I have changed the way the CSV File is imported - it now imports the whole file every 10 minutes. Only Cameras within a 55km radius are then put in the array which is used untill the next update of the array 10 minutes later. This should make the program less memory hungry as you are not continually comparing a thousand odd positions every second.
                  Currently the code does not look at whether you are moving towards or away from the Speed Camera - it would be better to have it that way so that the alert stops once you are away from the camera.

                  Nor does it take into account whether you are exceeding the current Speed Camera Speed Alert.

                  Regards
                  AusMark
                  Attached Files

                  Comment


                  • #10
                    Try projectezp.com. You might like it more. And I am open to any improvement. Just let me know. And there are more:

                    In projectEZP software you can save your custom point and upload it to the site - it will help others to avoid the same trap.
                    - the "points" actually more complex. The CVS files show only circle in the center of the trap. The software has other parameters like at what angle you are aproaching. So if you drive on the clever list intersection, you will not be alerted unless you driving toward the cop. Etc.

                    etc. I am for unifiing the software.
                    ProjectEZP.com next generation police speedtrap locator. Free database for your GPS system (includes US/Canada).

                    Comment

                    Working...
                    X