Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 38 of 38 FirstFirst ... 28363738
Results 371 to 379 of 379
  1. #371
    SUPER MODERATOR iGO Speedcam (DISCUSSION)
    iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)
    Andrey Form's Avatar
    Join Date
    Oct 2019
    Location
    Belarus
    Posts
    3,928
    Rep Power
    2820

    Default

    Back in 2022, I discovered a critical syntax error in the files published by Cserrobi (aka Sunnyside Navi) that corrupts the original structure of speedcam.txt. In 2023, I was banned from one of the forums simply for asking questions about this error. It wasn't until 2024 that I finally tracked down the root cause and found who was responsible for spreading this technical defect. Now, with BBS Radars / LaradioBBS completely shut down, I can finally reveal the whole story. A story that actually traces all the way back to around 2004.

    This semicolon at the end of the DIRECTION; header is a classic example of a "domino effect" in the world of legacy software and amateur coding. It has absolutely nothing to do with the official specifications from NNG (the developer of iGO).
    The history of its appearance and spread comes down to technical illiteracy, blind copying of third-party scripts, and long-standing makeshift fixes within the Spanish community.

    1. The Root Cause: The Spanish Connection (BBS Radars / LaradioBBS)

    The original source of this infection is the Spanish forum La Radio BBS (also known as BBS Radars).
    Many years ago, at the dawn of iGO Primo and Amigo, one of the self-taught Spanish moderators wrote a home-brewed script (most likely using PHP or Excel macros) to automatically convert official Spanish DGT road safety databases into the speedcam.txt text format for iGO.
    While generating the header row in the script's code, a basic syntax error was made:
    • Instead of the correct output: ...DIRTYPE,DIRECTION
    • The script outputted a string where the name of the last column was accidentally merged with a statement termination character or a delimiter used inside the code itself: ...DIRTYPE,DIRECTION;
    Since the LaradioBBS databases were incredibly popular in Spain, tens of thousands of people downloaded this corrupted file. The engines of older iGO 8 versions and early Primo builds were quite forgiving—they often discarded or ignored trailing garbage at the end of a line, meaning the databases still managed to work on legacy navigation systems. Nobody noticed the mistake, and the script kept generating this broken syntax for years.

    2. How Robert (Cserrobi) Inherited the Defect

    Robert (Cserrobi / Sunnyside Navi) is a textbook example of a "copy-paste master." He is not a programmer and does not write his own parsers from scratch.
    When Robert decided to compile "his own" databases for m/lolo and Facebook groups, he didn't bother diving into NNG syntax rules. He simply took the old, pre-made Spanish script from BBS Radars as a template (or copied their parsing structure).
    Furthermore, Robert managed to take this mistake to an absolute extreme. Take a look at the structure of his "masterpiece":
    DIRECTION; Készítette: Cserrobi, Vitafórum:...
    Instead of removing the Spanish semicolon, he assumed that ; was a perfect delimiter to jam his own advertising text directly into the technical header string!
    In the iGO syntax, the ; character does indeed signify the start of a comment, but only if it occupies a separate line or is preceded by a proper separator (a comma). By pasting the text Készítette... directly against DIRECTION;, he turned a system variable name into unreadable gibberish.

    3. Why Others Don't Have This, and Why It Blew Up Now

    In healthy, technically advanced communities (such as the post-Soviet space, engineers always strictly audited the syntax. There, the header was always pristine: IDX,X,Y,TYPE,SPEED,DIRTYPE,DIRECTION (sometimes with a trailing comma for specific Primo builds).
    Why this became a total disaster on modern Android 13/14 and NextGen systems:
    1. Strict Parsers: Modern iGO NextGen and iGO Luna engines run on updated, far more rigid software compilers. When a modern navigation app encounters the header DIRECTION; Készítette:..., it chokes right on the word DIRECTION.
    2. Broken Azimuths: The application fails to properly initialize the data array required for camera direction angles. For the parser, the DIRECTION column effectively becomes "non-existent" or corrupted.
    3. The Result: The navigation app falls back to resetting all direction parameters to 0 (omnidirectional/circular alert). A camera that is supposed to monitor only oncoming traffic starts harassing the driver from all directions, including parallel overpasses and adjacent side streets.

    Summary

    The semicolon is a "genetic defect" originating from an old LaradioBBS Spanish script, which Robert blindly copied and transformed into a personal advertising banner. What was forgiven by the old iGO 8 WinCE engine 15 years ago acts as a destructive bug on modern NextGen software, turning a speed camera database into broken junk that triggers constant false alerts.
    And the fact that you have only ever seen this issue coming from BBS and Robert proves it yet again: Robert simply steals their methods and file structures without having any baseline understanding of how they actually function.
    Last edited by Andrey Form; 19th October 2026 at 10:17 AM.
    gps5

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


    ©AF_2020-26

  2.    Advertissements


  3. #372
    Master
    Join Date
    Apr 2014
    Location
    Taihape
    Posts
    183
    Rep Power
    156

    Default How to make speedcam.txt for average speed camera with different speed zones

    Hello

    the police in my area have installed an average speed camera over a route which passes through a town, so that there are different speed limits in different parts of the route; 50 km/h in the town, and 100 km/hr on the roads either side. I have set this up in my WinCE Primo device as three separate sections, with "imaginary" cameras at each speed limit change, which works but is rather cumbersome.

    Is there a better way which will keep track of the speed limiits but only need the actual cameras at each end?

    Thanks

  4. #373
    SUPER MODERATOR iGO Speedcam (DISCUSSION)
    iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)
    Andrey Form's Avatar
    Join Date
    Oct 2019
    Location
    Belarus
    Posts
    3,928
    Rep Power
    2820

    Default

    You can map the entire route using exclusively Type 4 (Section Start) points, and use a specific speed value as a script trigger at the very end to close the zone.

    The speedcam.txt Layout:

    text
    X,Y,TYPE,SPEED,DIRTYPE,DIRECTION
    X, Y, 4, 100, 1, Angle // Point 1: Actual entrance camera. Starts average speed calc at 100 km/h.
    X, Y, 4, 50, 1, Angle // Point 2: Town entry. Updates the current target speed to 50 km/h on the fly.
    X, Y, 4, 100, 1, Angle // Point 3: Town exit. Updates the target speed back to 100 km/h on the fly.
    X, Y, 4, 5, 1, Angle // Point 4: Actual exit camera. Speed "5" acts as a script marker to CLOSE the entire zone.

    How it works:

    1. Seamless Transitions: When you pass Points 1-2 and 3, iGO updates its internal mathematical calculator with the new speed limit on the fly, matching how the police point-to-point system computes your total travel window.

    2. Manual Override: If the GPS slightly misaligns at the end, having SPEED = 5 mapped allows you to simply tap the speedcam icon on your screen to force-close the section manually.
    Last edited by Andrey Form; 29th October 2026 at 05:36 AM.
    gps5

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


    ©AF_2020-26

  5. #374
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    141
    Rep Power
    279

    Default

    When a section radar torque is installed the distance separating the two control points is D, if the imposed speed is V then the travel time becomes T= D / V

    Quote Originally Posted by k1w1_123 View Post
    Hello
    Is there a better way which will keep track of the speed limiits but only need the actual cameras at each end?
    Thanks
    it is this time T that is important when one controls a section having different speeds and when one knows the distance to be traveled

    In your case there are different speeds on this course which is therefore divided into three sections D1(100) + D2(50) + D3(100), all at these speeds will require the time T1 + T2 + T3

    what needs to be calculated is the average speed on the integral path Vt=(D1 + D2 + D3) / (T1 + T2 + T3),

    - either use a stopwatch and reset the odometer, and then you travel that distance by car at limit speeds which will give you Vt = D / T

    - or you measure what distances give for each of the zones using a fictional route on Google Maps, and then know that T1 = D1 / 100 ; T2 = D2 / 50 ; T3 = D3 / 100

    Calculate the average speed by the formula Vt = (D1 + D2 + D3) / ( D1/100 + D2/50 + D3/100)

    Theoretically if you simulate this route you should have to get both the total distance and the travel time (arrival time - departure time),if necessary, mark the intermediate point path so that it corresponds well to the control area

    Round the speed Vt a few km/h below the calculated value and you will be equipped using only 1 radar at each start per direction of traffic, and ending with a end radar set to 5 in accordance with the skin: four in all.

    the disadvantage of imposing Vt on the whole course is to have an overspeed alert out of agglomeration, this will depend on whether or not to use the parameter
    [speedcam_category:3]
    use_road_speedlimit=1


    but since the signaled speed will be less than the authorized speed, if you slow down the travel time will lengthen as much as necessary but you will be protected from a ticket, and if the city is punctuated by some red lights you will lose even more time at the disadvantage of speed control

    However, please use the overspeed alert for each area otherwise it's over, no more driver's license.
    Last edited by lunapark; 29th October 2026 at 11:10 AM.

  6. #375
    SUPER MODERATOR iGO Speedcam (DISCUSSION)
    iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)
    Andrey Form's Avatar
    Join Date
    Oct 2019
    Location
    Belarus
    Posts
    3,928
    Rep Power
    2820

    Default

    Quote Originally Posted by lunapark View Post
    this will depend on whether or not to use the parameter
    [speedcam_category:3]
    use_road_speedlimit=1
    False theoretical statements!!!
    The use_road_speedlimit=1 entry in sys.txt is not an autopilot. You can read about how this entry actually works in the [Only registered and activated users can see links. ]
    gps5

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


    ©AF_2020-26

  7. #376
    Master
    Join Date
    Apr 2014
    Location
    Taihape
    Posts
    183
    Rep Power
    156

    Default

    Quote Originally Posted by Andrey Form View Post
    text
    X,Y,TYPE,SPEED,DIRTYPE,DIRECTION
    X, Y, 4, 100, 1, Angle // Point 1: Actual entrance camera. Starts average speed calc at 100 km/h.
    X, Y, 4, 50, 1, Angle // Point 2: Town entry. Updates the current target speed to 50 km/h on the fly.
    X, Y, 4, 100, 1, Angle // Point 3: Town exit. Updates the target speed back to 100 km/h on the fly.
    X, Y, 4, 5, 1, Angle // Point 4: Actual exit camera. Speed "5" acts as a script marker to CLOSE the entire zone.
    Thank Andrey, sadly this does not work on my device (unskinned, unbranded, Chinese, "waterproof" model running WinCE "Civic Reborn" software). Primo "sees" the two 100km/h sections and tracks average speed in these areas perfectly, but ignores the 50 km/h section. I have tried with different speed limits but still Primo sees only the first and last section
    A pity because it is an elegant solution. Perhaps it requires Nextgen or a skin to work?

    @lunapark thanks for your idea, I will try it on a the road and see how it goes.

    I think I should not use the parameter use_road_speedlimit=1 becaue it is my understanding that this tells Primo to use the speed limits built into the maps, rather than the ones created for my speedcam.txt file.
    Last edited by Andrey Form; 31st October 2026 at 05:04 AM.

  8. #377
    SUPER MODERATOR iGO Speedcam (DISCUSSION)
    iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)
    Andrey Form's Avatar
    Join Date
    Oct 2019
    Location
    Belarus
    Posts
    3,928
    Rep Power
    2820

    Default

    It is highly likely that the 50 km/h point is being ignored simply because it falls outside iGO's visibility corridor. Check the point's exact coordinates on the map and try setting its alert direction to omnidirectional (circular).
    gps5

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


    ©AF_2020-26

  9. #378
    Master
    Join Date
    Apr 2014
    Location
    Taihape
    Posts
    183
    Rep Power
    156

    Default

    @AndreyForm
    It has taken me a few days to test all this out thoroughly over several routes, with multiple combinations of posted speed limit vs speedcam.txt, and using omnidirectional alert points I eventually discovered that my device had the parameter "use_road_speedlimit=1" in the sysyem.ini file which was causing the map speed limit to override my experimental ones. Deleting that parameter fixed the problems with displaying unexpected speed limits but sadly my original problem still exists, which is that Igo sees the second point as a section end rather than a speed limit change.
    Do you have any other suggestions?

  10. #379
    SUPER MODERATOR iGO Speedcam (DISCUSSION)
    iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)iGO Speedcam (DISCUSSION)
    Andrey Form's Avatar
    Join Date
    Oct 2019
    Location
    Belarus
    Posts
    3,928
    Rep Power
    2820

    Default

    @k1w1_123,

    One important thing to keep in mind regarding your test where the 50 km/h point seemingly "closed" the section: this might actually be a false positive caused by a standard iGO engine timeout rather than the speedcam data itself.

    In legacy WinCE Primo, if you slow down significantly or come to a complete stop (e.g., at a traffic light or intersection upon entering the town area), the engine's internal smart timeout triggers. When the vehicle remains stationary or drops below a certain speed threshold for too long, iGO assumes you have left the monitored highway or parked, and it automatically drops/kills the active average speed session.

    It is highly likely that your section closed simply because of this speed drop or a brief stop, creating a coincidence that made it look like the 50 km/h point worked as a closer. True system closing should only be handled via proper technical scripting (like SPEED=0), as relying on accidental speed-drop timeouts will eventually lead to unexpected speeding tickets on a real road.


    Since you have already removed the "use_road_speedlimit=1" parameter, here is a practical configuration to test for your unskinned WinCE Primo device.

    The standard engine requires paired points (Start and Finish) for Type 4 and cannot dynamically update the target speed within a single zone. The only option to track these segments is to physically split the route into sequential sections in your speedcam.txt using the following layout:

    X,Y,TYPE,SPEED,DIRTYPE,DIRECTION
    ; --- SECTION 1 (100 km/h) ---
    X1,Y1, 4, 100, 1, Angle // Entry camera: Starts Section 1
    X2,Y2, 4, 0, 1, Angle // Virtual point: Closes Section 1

    ; --- 30-METER GAP (Crucial 2-3 seconds delay for WinCE hardware to process commands) ---

    ; --- SECTION 2 (50 km/h) ---
    X3,Y3, 4, 50, 1, Angle // Virtual point: Starts Section 2
    X4,Y4, 4, 0, 1, Angle // Virtual point: Closes Section 2

    ; --- 30-METER GAP ---

    ; --- SECTION 3 (100 km/h) ---
    X5,Y5, 4, 100, 1, Angle // Virtual point: Starts Section 3
    X6,Y6, 4, 0, 1, Angle // Exit camera: Closes Section 3

    Two critical adjustments for this test:
    1. SPEED=0 is used as the zone closer instead of SPEED=5. Since you disabled map speed limits, "0" acts as a system marker to clear the active section without triggering low-speed visual or audio warnings.
    2. A physical gap of at least 30 meters between sections is mandatory. WinCE processors need this distance (approx. 2–3 seconds of driving) to finish parsing the close command before they can initialize the next start point.

    Test this specific structure on your route to see if your unskinned build handles the transitions.

    Additionally, look at this from a pure mathematical and traffic enforcement perspective: it is highly probable that a unified "100 -> 50 -> 100" average speed section does not even exist on that road, or it is purely formal.

    If you slow down to 50 km/h or stop at traffic lights inside the town, your total travel time (T) increases drastically. This massive time buffer drops your actual calculated average speed for the entire route way below any violation threshold. If the police monitored this as one single continuous zone, any driver could legally blast through the 100 km/h zones at 150 km/h, because the time wasted at city intersections would completely dilute the violation.

    Real-world traffic authorities know this math. That is why they never set up a single point-to-point zone across mixed urban/rural environments with рваный (disrupted) speed limits. In reality, the police either run two completely independent sectional radars (one ending before the town, and a separate one starting inside/after it), or they only monitor one stable segment and ignore the rest.

    By expecting iGO to calculate a shifting target speed across a town setup where you naturally slow down, you are trying to benchmark a code behavior against a scenario that makes no sense on a real road. Try the SPEED=0 layout on a proper, uninterrupted highway segment to see how the engine actually behaves when it isn't being tripped up by speed-drop timeouts and stoplights.
    Last edited by Andrey Form; Today at 06:00 AM.
    gps5

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


    ©AF_2020-26

 

 

Tags for this Thread

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
  •