Results 1 to 10 of 10

Thread: Basic Speed Camera Alert

  1. #1
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Yamba NSW Australia
    Posts
    56

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

  2. #2
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Yamba NSW Australia
    Posts
    56

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

  3. #3
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,509
    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

  4. #4
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Yamba NSW Australia
    Posts
    56

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

  5. #5
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    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)

  6. #6
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Yamba NSW Australia
    Posts
    56

    Adding Cameras & LOGIC Mode

    Quote 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

  7. #7
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,509
    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

  8. #8
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Yamba NSW Australia
    Posts
    56
    Quote 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

  9. #9
    Low Bitrate
    Join Date
    Jun 2004
    Location
    Yamba NSW Australia
    Posts
    56

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

  10. #10
    Low Bitrate
    Join Date
    Dec 2003
    Posts
    68
    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).

Similar Threads

  1. speed camera in frodo?
    By Erwin in forum Map Monkey
    Replies: 0
    Last Post: 03-30-2005, 11:21 AM
  2. GATSO Hunter v0.1 (Beta) - Standalone speed camera detection
    By Engram in forum Software & Software Development
    Replies: 9
    Last Post: 03-02-2005, 05:02 AM
  3. Speed / Red Light Camera
    By Skorpion in forum Map Monkey
    Replies: 6
    Last Post: 02-22-2005, 01:44 PM
  4. Replies: 11
    Last Post: 04-12-2004, 05:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •