Visualizza la versione completa : codici autovelox per la versione igo del becker active 50



Dionea
03-06-2012, 23:44
Sto cercando di inserire gli autovelox su un Becker active 50, vedo che riconosce i txt di igo, ma i codici atuovelox sono diversi da quelli usati per le versioni di igo che girano sul forum.

In particolare il codice 1 che dovrebbe essere associato agli autovelox fissi, in questo navigatore sembra non essere associato assolutamente a nulla.
Prima di fare orive codice per codice, volevo chiedere se qualcuno sa la corrispondenza codice autovelox - tipo autovelox per questo navigatore


nel file sys.txt ho solo questa riga
[device]
type="BECKER_BDC10"
mentre nel file

data.zip - project config - becker.ini ho queste righe



; S P E E D C A M - C A T : 0
[speedcam_category:0]
;activated_spoken_type=speech
;activated_speech="Speed camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Speed camera."

overspeed_spoken_type=speech
overspeed_speech="Speed camera ahead. Reduce your speed."

min_frc=-1
use_road_speedlimit=1

; S P E E D C A M - C A T : 1
[speedcam_category:1]
;activated_spoken_type=speech
;activated_speech="Mobile speed camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Mobile speed camera."

overspeed_spoken_type=speech
overspeed_speech="Mobile speed camera ahead. Reduce your speed."

min_frc=-1
use_road_speedlimit=1

; S P E E D C A M - C A T : 2
[speedcam_category:2]
;activated_spoken_type=speech
;activated_speech="Speed camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Speed camera."

overspeed_spoken_type=speech
overspeed_speech="Speed camera ahead. Reduce your speed."

min_frc=5
use_road_speedlimit=1

; S P E E D C A M - C A T : 3
[speedcam_category:3]
;activated_spoken_type=speech
;activated_speech="Average speed camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Average speed camera."

section_beep_distance="125"
section_beep_spoken_type=speech
section_beep_speech="Average speed camera."

overspeed_spoken_type=speech
overspeed_speech="Average speed camera ahead. Reduce your speed."
overspeed_min_speech_repeat_delay=10
overspeed_min_tone_repeat_delay=10

min_frc=-1
use_road_speedlimit=1

; S P E E D C A M - C A T : 4
[speedcam_category:4]
;activated_spoken_type=speech
;activated_speech="Red light camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Red light camera."

overspeed_spoken_type=speech
overspeed_speech="Red light camera ahead. Reduce your speed."

min_frc=5
use_road_speedlimit=1

; S P E E D C A M - C A T : 6
[speedcam_category:6]
;activated_spoken_type=speech
;activated_speech="Railway crossing ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Railway crossing."

overspeed_spoken_type=speech
overspeed_speech="Railway crossing ahead. Reduce your speed."

min_frc=5
use_road_speedlimit=0

; S P E E D C A M - C A T : 7
[speedcam_category:7]
;activated_spoken_type=speech
;activated_speech="Bus lane camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Bus lane camera."

overspeed_spoken_type=speech
overspeed_speech="Bus lane camera ahead. Reduce your speed."

min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 8
[speedcam_category:8]
;activated_spoken_type=speech
;activated_speech="High accident zone ahead."

approach_beep_spoken_type=speech
approach_beep_speech="High accident zone."

overspeed_spoken_type=speech
overspeed_speech="High accident zone ahead. Reduce your speed."

min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 9
[speedcam_category:9]
speedcam_snap_distance=50

;activated_spoken_type=speech
;activated_speech="School zone ahead."

approach_beep_spoken_type=speech
approach_beep_speech="School zone."

overspeed_spoken_type=none

min_frc=5
use_road_speedlimit=0

; S P E E D C A M - C A T : 10
[speedcam_category:10]
;activated_spoken_type=speech
;activated_speech="Town entry point ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Town entry point."

overspeed_spoken_type=speech
overspeed_speech="Town entry point ahead. Prepare to reduce your speed."
;overspeed_min_speech_repeat_delay=25

min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 11
[speedcam_category:11]
;activated_spoken_type=speech
;activated_speech="Red light and speed camera ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Red light and speed camera."

overspeed_spoken_type=speech
overspeed_speech="Red light and speed camera ahead. Reduce your speed."

min_frc=5
use_road_speedlimit=1

; S P E E D C A M - C A T : 12
[speedcam_category:12]
;activated_spoken_type=speech
;activated_speech="Toll booth ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Toll booth."

overspeed_spoken_type=speech
overspeed_speech="Toll booth ahead. Prepare to stop."
;overspeed_min_speech_repeat_delay=25

min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 13
[speedcam_category:13]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 14
[speedcam_category:14]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 15
[speedcam_category:15]
;activated_spoken_type=speech
;activated_speech="Congestion charge zone ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Congestion charge zone."

overspeed_spoken_type=speech
overspeed_speech="Congestion charge zone ahead. Reduce your speed."

min_frc=5
use_road_speedlimit=0

; S P E E D C A M - C A T : 16
[speedcam_category:16]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 17
[speedcam_category:17]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 18
[speedcam_category:18]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 19
[speedcam_category:19]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 20
[speedcam_category:20]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 21
[speedcam_category:21]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 22
[speedcam_category:22]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 23
[speedcam_category:23]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 24
[speedcam_category:24]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 25
[speedcam_category:25]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 26
[speedcam_category:26]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 27
[speedcam_category:27]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 28
[speedcam_category:28]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 29
[speedcam_category:29]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 30
[speedcam_category:30]
min_frc=-1
use_road_speedlimit=0

; S P E E D C A M - C A T : 31
[speedcam_category:31]
;activated_spoken_type=speech
;activated_speech="Dangerous area ahead."

approach_beep_spoken_type=speech
approach_beep_speech="Dangerous area."

overspeed_spoken_type=speech
overspeed_speech="Dangerous area ahead. Reduce your speed."

min_frc=-1
use_road_speedlimit=0



come da righe messe sopra mi verrebbe da pensare che al codice 1 fosse associato gli autovelox mobili, in realtà non è cosi e al codice 1 non viene visualizzato nulla
Qualcuno puo aiutarmi??

EDIT 4-6
Ok non serve piu aiuto, ho capito l'arcano, gli autovelox che non vedevo con codice 1, non li vedevo eprche erano inseriti come altra categoria, probabilmente erano catalogati "Box_Semipermanenti"

Prossimamente metterò il file di associazione codice autovelox - tipo autovelox esclusivo per becker (active 50, ma forse vale per tutti) sul programma di conversione.
Inoltre se non ci sono problemi vorrei aprire un terzo post sotto quello del programma di conversione dove metterei un programmino minimalista per cambiare in modo specifico i codici autovelox usati nelle versioni di igo con i codici usati dalla versione igo del becker, cosi non serve cambiare il file e si puo usare il programma originale.

esempio

14.823120,36.719780,5,80,2,85
diventa per il becker

14.823120,36.719780,2,80,2,85

metterei anche istruzioni su come usare il prog e istruzioni su come personalizzare il codice se si vuole personalizzare il codice autovelox per la propria versione becker.

Perche serve questo programma microscopico, visto che puo già fare tutto il programma converti modificando il file fileassocianometipo.

Perche si potrebbero direttamente usare i file txt degli autovelox messi nel forum per convertirseli in formato per becker.
Inoltre bisogna considerare che per elaborare i soli file autovelox con direzione servono ore di elaborazione.

Comuqnue il codice sara questo piu o meno, visto che devo ancora elaborare una vera tabella di conversione



Loop,*.txt,0,1
{



fileorigine := A_LoopFileFullPath

StringGetPos, pos, fileorigine,BECKER,

if (errorlevel = 1)
{


tooltip, % fileorigine,0,0


FileRead, contenutofile, %fileorigine%


Stringreplace, contenutofile, contenutofile,`r`n,`n,ALL
Stringreplace, contenutofile, contenutofile,`n,#,ALL
Stringsplit,contenutofilearray,contenutofile,#

numerorighe := contenutofilearray0
contenutofilenuovo := ""

Loop, % numerorighe
{
Stringsplit,contenutofilearray%a_index%array,conte nutofilearray%a_index%,`,

if (contenutofilearray%a_index%array3 = 5)
{
contenutofilearray%a_index%array3 = 2
}
else
if (contenutofilearray%a_index%array3 = 11)
{
contenutofilearray%a_index%array3 = 3
}
else
if (contenutofilearray%a_index%array3 = 2)
{
contenutofilearray%a_index%array3 = 4
}
else
if (contenutofilearray%a_index%array3 = 3)
{
contenutofilearray%a_index%array3 = 11
}
else
if (contenutofilearray%a_index%array3 = 17)
{
contenutofilearray%a_index%array3 = 9
}
else
if (contenutofilearray%a_index%array3 = 9)
{
contenutofilearray%a_index%array3 = 8
}


contenutofilenuovo := contenutofilenuovo contenutofilearray%a_index%array1 "," contenutofilearray%a_index%array2 "," contenutofilearray%a_index%array3 "," contenutofilearray%a_index%array4 "," contenutofilearray%a_index%array5 "," contenutofilearray%a_index%array6 "`r`n"


}

filedelete, BECKER%fileorigine%
fileappend, %contenutofilenuovo% , BECKER%fileorigine%
}
}



exitapp



return




esc::
exitapp