ForumCar Audio & Navigation
  1. Startseite
  2. Forum
  3. Wissen
  4. Car Audio & Navigation
  5. Externe Navigation mit Videoeingang

Externe Navigation mit Videoeingang

Themenstarteram 31. August 2020 um 0:40

Hallo,

ich möchte eine externe Navigation mit IGO Maps und mit einer Videoeingang ins Auto einbauen. Mit extern meine ich, dass das Gerät eine Möglichkeit zur Befestigung hat, wie zB. diese: 1, 2, 3, 4.

Videoeingang sollte es deswegen haben, da ich der Rückfahrkamera anschließen möchte.

Ich möchte nicht das komplette Radio austauschen, da dies beim Autowechsel wahrscheinlich nicht zum anderen Fahrzeug passen wird.

Danke für Eure Hilfe,

Daniel

Ähnliche Themen
10 Antworten

Da hast du.

Allerdings WIN CE

https://de.aliexpress.com/.../4000128234305.html?...

Oder hier als Androiden:

https://de.aliexpress.com/.../4000128246140.html?...

Ich würde aber die Spiegel Version favoritisieren.

(hab ich in meinem auch verbaut)

Vorteil: man sieht keine Kabel und es kann nichts umfallen oder verrutschen.

https://de.aliexpress.com/.../4001339805926.html?...

Vielen Dank, sieht gut aus :-)

Ist es bei diesen so, dass sie automatisch auf die Rückfahrkamera umschalten, wenn man den Rückwärtsgang eingelegt hat ?

Kann man das Kartenmaterial gratis updaten ?

Ja klar. Das wird über ein Kabel erledigt, welches i.d.r. an den Rückfahrscheinwerfer angeschlossen wird.

Die Chinesen machen meist IGO auf die Geräte.

Auf einschlägigen Plattformen findet man dazu auch genug Kartenmaterial.

Du kannst aber auch jedes andere Navisystem auf ein Android gerät aufspielen.

Es soll da ja wohl einiges an kostenlosem geben. (bspw.: Waze, HERe we go, Map Factor)

Ich hab IGO runter geschmissen und Tomtom drauf gemacht. (Bild 1)

Alternativ geht natürlich auch Google Maps. (Bild2)

Hier empfiehlt sich eine SIM Karte für den Spiegel- oder den Hotspot des Handys freigeben.

Dann hat man auch Echtzeit Stau Infos.

Internet Radio ist dann natürlich auch kein Problem mehr (Bild 3)

Img-20200118
Img-20200118
Image008

Vielen Dank für die Infos.

Hallo,

ich überlege mir, dass ich nicht das Navi am Armaturenbrett befestigen sollte, sondern irgendeine Halterung und dann diese sollte das Navi halten. Ähnlich wie diese:

https://www.amazon.de/.../ref=sr_1_30?...

https://www.amazon.de/.../ref=sspa_dk_detail_0?...

https://www.amazon.de/.../ref=rtpb_18?...

https://www.amazon.de/.../259-7410934-3672261?...

https://www.amazon.de/.../259-7410934-3672261?...

https://www.amazon.de/.../ref=sr_1_42?...

Kannst du hier diesbezüglich vielleicht etwas empfehlen ?

Danke nochmals,

Daniel

Zitat:

@Saab Frank schrieb am 3. September 2020 um 09:17:53 Uhr:

Da hast du.

Allerdings WIN CE

https://de.aliexpress.com/.../4000128234305.html?...

Oder hier als Androiden:

https://de.aliexpress.com/.../4000128246140.html?...

Ich würde aber die Spiegel Version favoritisieren.

(hab ich in meinem auch verbaut)

Vorteil: man sieht keine Kabel und es kann nichts umfallen oder verrutschen.

https://de.aliexpress.com/.../4001339805926.html?...

Danke nochmals für den Tipp. Das Navi ist endlich im Auto drin. Es funktioniert alles prima. Es schaltet sich sogar ein bzw. aus, sobald man die Zündung gibt bzw. wegnimmt. (Hätte gar nicht erwartet :-) )

Man sieht sofort die Bilder der Rückfahrkamera sobald man die Rückwärtsgang eingelegt hat.

Ich bin wirklich positiv überrascht (für dieses Geld :-)).

Es gibt eine Kleinigkeit. Das Navi zeigt nach 2-3 Sekunden nur mehr, wie schnell ich fahre, und erst wenn ich einen Punkt erreiche, wo man abbiegen soll, wird die Karte wieder gezeigt und nach 2-3 Sekunden wieder weg. (Das finde ich etwas irritierend.)

Kann man irgendwie einstellen, dass die Karte immer angezeigt wird ?

Danke,

Daniel

Navi mit Karte
Navi nur Geschwindigkeit
Rückfahrkamera

Öffne mal dein IGO im Dateimanager.

Such den Ordner "Save" und benenne den um in " Savealt" (oder wie auch immer)

Falls es den Ordner Save nicht gibt: auch "versteckte Dateien anzeigen" wählen

Starte dein IGO neu .

Jetzt sollte das Navisystem einen neuen Save Ordner angelegt haben-und das mit den Standart IGO Einstellungen.

Wenn dein Navi jetzt läuft wie du es willst, kannst du den Ordner Savealt löschen.

Wenn nicht: dann Save löschen- Savealt wieder in Save umbennen und neu starten.

Du hast dann wieder die ursprüngliche Version.

Hintergrund der ganzen Geschichte: in der Sys.txt Datei sind sämtliche Einstellungen für Igo drin.

Wenn du irgendwas verändert hast, wird das im Save Ordner gespeichert.

Zu den Änderungen gehören angefahrene Adressen ,Menüsprache, Naviansagen,Karteneinstellungen und sonstige Einstellungen im Menü.

Diese Einstellungen sind also nach dem Löschen des Save Ordner weg.

Ein neuer Save Ordner bedeutet also: Werkszustand.

Wenn nach dem neuanlegen des leeren Save Ordners immer noch dieses komische Verhalten da ist, musst du mal hier mal die sys.txt Datei posten.

Das sind die Einstellungen, die die Chinesen dem Navi verpassten.

Kann man aber ändern.

Dazu einfach die sys.txt mit einem Texteditor öffnen und hier rein kopieren.

Das sollte dann so in etwa aussehen:

[android]

fullscreen=1

lock_to_external_sd=0

check_folders_after_rebuild=0

create_sdcard_dir=0

disable_restart_after_phone_call=1

getdeviceid_trycount=0

close_keyboard_on_back=1

background_shutdown_timeout=0

navigation_audio_stream=5

;select audio stream

; 0-STREAM_VOICE_CALL, 1-STREAM_SYSTEM, 2-STREAM_RING, 3-STREAM_MUSIC, 4-STREAM_ALARM, 5-STREAM_NOTIFICATION

logcat_level=5

[vmc_voice]

enter_script="sc_volmanager_voice"

vmc_effect=100

vmc_media=40

[volume_channels]

volumefade=3000

[sound]

announce_restricted_roads=1

csv_voice_enabled=1

pause_mp3_sooner=1

maneuver_chimes=0

show_sound_button_in_cockpit=1

rmsoundplay=1

ding_muted=0

alert_muted=0

effect_muted=0

sound_effect_unmute_delay=100000000000

android_muting_device=0

media_config=config/devices/media_android.xml

mute_sound_with_tts=1

;1 - sound off

;0 - sound on

;without this entry - sound off(with_TTS)

[autorad]

disabled=1

[sound.announcer]

gps_signal_lost=0

;gps_disconnected=0

[dynamiccompressor]

compressor=1

a0="56806"

thrs=24703

ratio=9

gain=12

Themenstarteram 1. Januar 2021 um 15:05

Zitat:

@Saab Frank schrieb am 28. Dezember 2020 um 20:07:01 Uhr:

Öffne mal dein IGO im Dateimanager.

Such den Ordner "Save" und benenne den um in " Savealt" (oder wie auch immer)

Falls es den Ordner Save nicht gibt: auch "versteckte Dateien anzeigen" wählen

Starte dein IGO neu .

Jetzt sollte das Navisystem einen neuen Save Ordner angelegt haben-und das mit den Standart IGO Einstellungen.

Wenn dein Navi jetzt läuft wie du es willst, kannst du den Ordner Savealt löschen.

Wenn nicht: dann Save löschen- Savealt wieder in Save umbennen und neu starten.

Du hast dann wieder die ursprüngliche Version.

Hallo,

Danke für den Tipp. Ich habe den Verzeichnis save ins saveAlt umbenannt, dann habe ich IGO neugestartet. Danach habe einige Einstellungen (wie zB. Sprache, Einheit ...) neu gesetzt.

Die Karte verschwindet diesmal nur 1-mal. Rechts unten sieht man aber ein Button (ähnlch, wie ein Power-Button). Wenn ich den drücke, dann kommt die Karte zurück und geht dann NIE MEHR weg. (Zumindest in der 10 minütigen Probefahrt war die Karte immer sichtbar.)

Folgende 2 Einstellungen habe ich zusätzlich vorgenommen:

1) im sys.txt die Option background_navigation von 1 auf 0 gesetzt.

2) Wenn man in der Navigationsansicht unten auf Menü drückt, erscheint unten ein Symbol (ähnlich wie eine umgekehrte Lampe). Drückt man dies, kommt ein Menü mit dem Titel "UI Labs". Hier habe ich die Option "Auto Close Highway Panel" ausgeschaltet.

sys.txt sieht bei mir wie folgt aus:

Code:
[device]
devtype_fallback_to_model=1
[android]
;fullscreen=1
;tablet=0
;has_physical_home_button=1
;select audio stream
; 0-STREAM_VOICE_CALL, 1-STREAM_SYSTEM, 2-STREAM_RING, 3-STREAM_MUSIC, 4-STREAM_ALARM, 5-STREAM_NOTIFICATION
;navigation_audio_stream=4
create_sdcard_dir=0
[interface]
;vga=1 ; for full HD
skin="ui_android"
capture_to_jpeg=1
extra_settings=1
save_checksum=0
maxzoom2d=6000000
;show_scroll_button=1
;show_glonass=1
[rawdisplay]
force_renderer="RENDER_MOYA"
;highres=1 ; for full HD
;driver="gdi"
;driver="engine"
screen_xy="auto"
[gps]
location_net=1
location_gps=1
background_navigation=1
[map_update_checker]
enabled=0
[3d]
usepolyfarroads=0
; this is for resolution full HD:
;road_polytrack_switch_pixelwidth=2
;max_loading_time_immediate=100
;double_pixel_similarity_check=0
[poi]
;featured_provider="netlocalsearch.naviextras.google"
featured_provider="netlocalsearch.naviextras.nokia"
[poi.netlocalsearch.naviextras]
services="nokia,google"
;services="google"
[network]
available=1
[http]
enabled=1
;[tmc.src.http]
;enabled=1
[naviextras]
boot_service_address="http://zippy.naviextras.com/services/index/rest/2/boot"
[services]
software_download_location="http://www.igomaps.co.il/Jquery_Report.html"
[activation_manager]
activate_google_naviextras=0
activate_online_speedcam=0
activate_community_speedcam=0
activate_http_traffic=0
[tmc-http]
enabled=1
start=1
servers.size=3
servers[0].url="http://zippy.naviextras.com/.../"
servers[1].url="http://zippy.naviextras.com/.../"
servers[2].url="http://tmchttp0.naviextras.com/nng-igo-tmc-primo/0/"
[other]
demo_enabled=0
[debug]
imei="000000000000000"
skip_eula=0
screenshotsavecameraini=0
;screenshotfilename="/captures/image_%02d.jpg"
screenshotfilename="/android_linked_root/captures/image_%02d.jpg"
experimental_features=1
;double_pixel_mode=1
[feature]
back_exit=1
back_button=1
tmc_event_coloring=1
signpost_coloring=1
[sound]
csv_voice_enabled="1"
[folders]
linked_root_list="/storage/extSDCard/iGO /storage/sdcard2/iGO /sdcard2/iGO /sdcard/external_sd/iGO /ext_card/iGO /mnt/_ExternalSD/iGO /mnt/emmc/iGO /mnt/extern_sd/iGO /mnt/external_sd/iGO /mnt/exsdcard/iGO /mnt/ext_card/iGO /mnt/ext_sd/iGO /mnt/extsd/iGO /mnt/extSdCard/iGO /mnt/sdcard/_ExternalSD/iGO /mnt/sdcard/external_sd/iGO /mnt/sdcard/ExtStorages/iGO /mnt/sdcard/extStorages/SdCard/iGO /mnt/sdcard2/iGO /storage/sdcard1/iGO /storage/sdcard0/iGO /storage/iGO /sdcard/sd/iGO /mnt/sdcard-ext/iGO /mnt/sdcard/sd/iGO /mnt/sd/iGO /mnt/sdcard/iGO /mnt/iGO /sdcard/iGO /storage/sdcard1/iGO /mnt/sdcard1/iGO /mnt/ext/SdCard/iGO /storage/ext/SdCard/iGO /storage/emulated/0/iGO"
has_secondary_root=0
;android_secondary_root_path="/mnt/sdcard/addons"
[warning]
speedcam_enabled=1
is_spoken=1
speedcam_continuous_approach_beep_when_tonal=0
; S P E E D C A M - C A T : 0
[speedcam_category:0]
overspeed_spoken_type=sound
overspeed_sound="speedcam_over_speed"
skin_first_sound="Fixed_Camera"
skin_speed_sound_delay=0
skin_repeat_sound="Fixed_Camera"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
use_road_speedlimit=0
; S P E E D C A M - C A T : 1
[speedcam_category:1]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Mobile_Camera"
skin_speed_sound_delay=120
skin_repeat_sound="Mobile_Camera"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=0
; S P E E D C A M - C A T : 2
[speedcam_category:2]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Redlight_Camera"
skin_speed_sound_delay=140
skin_repeat_sound="Redlight_Camera"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=0
; S P E E D C A M - C A T : 3
[speedcam_category:3]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Section_Start"
skin_speed_sound_delay=160
skin_repeat_sound="Section_Start"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=0
; S P E E D C A M - C A T : 4
[speedcam_category:4]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Redlight_Camera"
skin_speed_sound_delay=140
skin_repeat_sound="Redlight_Camera"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=0
; S P E E D C A M - C A T : 6
[speedcam_category:6]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Railroad"
skin_speed_sound_delay=140
skin_repeat_sound="Railroad"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=1
; S P E E D C A M - C A T : 7
[speedcam_category:7]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="BusLane_Camera"
skin_speed_sound_delay=140
skin_repeat_sound="BusLane_Camera"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=1
; S P E E D C A M - C A T : 8
[speedcam_category:8]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Accident_Zone"
skin_speed_sound_delay=140
skin_repeat_sound="Accident_Zone"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=1
; S P E E D C A M - C A T : 9
[speedcam_category:9]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="School_Zone"
skin_speed_sound_delay=120
skin_repeat_sound="School_Zone"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;use_road_speedlimit=1
; S P E E D C A M - C A T : 10
[speedcam_category:10]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Town_Entry"
skin_speed_sound_delay=120
skin_repeat_sound="Town_Entry"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 11
[speedcam_category:11]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Redlight_Camera3"
skin_speed_sound_delay=140
skin_repeat_sound="Redlight_Camera3"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 12
[speedcam_category:12]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Toll_Booth"
skin_speed_sound_delay=80
skin_voice_rep="skin_arimi"
skin_repeat_sound="Toll_Booth"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 13
[speedcam_category:13]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Hospital"
skin_speed_sound_delay=80
skin_repeat_sound="Hospital"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 14
[speedcam_category:14]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Fire_Station"
skin_speed_sound_delay=80
skin_repeat_sound="Fire_Station"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 15
[speedcam_category:15]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Charge_Zone"
skin_speed_sound_delay=80
skin_repeat_sound="Charge_Zone"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 16
[speedcam_category:16]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Give_Way"
skin_speed_sound_delay=100
skin_repeat_sound="Give_Way"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 17
[speedcam_category:17]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="FixMobil"
skin_speed_sound_delay=140
skin_repeat_sound="FixMobil"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 18
[speedcam_category:18]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Speed_Breaker"
skin_speed_sound_delay=140
skin_repeat_sound="Speed_Breaker"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 19
[speedcam_category:19]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Children"
skin_speed_sound_delay=140
skin_repeat_sound="Children"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 20
[speedcam_category:20]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Dangerous_Turn"
skin_speed_sound_delay=140
skin_repeat_sound="Dangerous_Turn"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 21
[speedcam_category:21]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Tunnel"
skin_speed_sound_delay=140
skin_repeat_sound="Tunnel"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 22
[speedcam_category:22]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="POI"
skin_speed_sound_delay=140
skin_repeat_sound="POI"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 23
[speedcam_category:23]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="RPS_Post"
skin_speed_sound_delay=140
skin_repeat_sound="RPS_Post"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
; S P E E D C A M - C A T : 31
[speedcam_category:31]
overspeed_spoken_type=none
overspeed_sound="none"
skin_first_sound="Dangerous_way"
skin_speed_sound_delay=140
skin_repeat_sound="Dangerous_way"
skin_repeat_distance=150
skin_off_sound="speedcam_off"
;------------------------------------------------
;--------------- arimi ----------------------
;------------------------------------------------

 

Danke,

Daniel

Themenstarteram 26. Mai 2021 um 1:41

Bei diesem Navi funktioniert der Bildschrimschoner (der die aktuelle Geschwindigkeit oder die Uhrzeit anzeigt) nicht so richtig. Auch wenn man ihn (unter Settings) deaktiviert hat, springt er hin und wieder zurück während der Navi läuft.

So kann man ihn komplett deaktivieren.

Der Screensaver ist in einem Skin drin, der vermute ich mit IGO ausgeliefert wurde und nicht mit dem Android System. Im Verzeichnis RES/iGO/ux ist eine Datei ari_Screensaver+HUD_zsiga68.zip, die u.a. den Screensaver generiert. In diesem .zip gibt es im Verzeichnis ui_android\common\ui das File screensaver.lua.

Hier habe ich einge Zeilen verändert (hauptsächlich Variablen auf false gesetzt und STOP() statt START() geschrieben :-)).

Jetzt kann man unter Settings die Option Screensaver überhaupt nicht berühren :-)

Die Änderungen sind zwischen 2 -- *** im Code.

 

screensaver.lua (verändert):

Themenstarteram 26. Mai 2021 um 1:48

... und das Code:

Code:
------------------------------------------------
------ HUD by arimi @ Vamibg -----
------------------------------------------------
MODEL.SETPERSISTENT.lua.ari_Screensaver = BOOL_MODEL(false)
MODEL.SETPERSISTENT.lua.ari_ScreensaverEnable = BOOL_MODEL(false)
MODEL.SETPERSISTENT.lua.ari_AutoDistss = INT_MODEL(50)
MODEL.SETPERSISTENT.lua.ari_ScreenFilter = BOOL_MODEL(false)
MODEL.SETPERSISTENT.lua.ari_ScreenFilterset = INT_MODEL(15)
MODEL.SETPERSISTENT.lua.ari_nextmanss = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_Laneinfoss = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_Lanesignss = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_Restrictss = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_Speedss = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_DAss = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_timeorspeed = BOOL_MODEL(true)
MODEL.SETPERSISTENT.lua.ari_AutoScreensaver = BOOL_MODEL(false)
MODEL.SETPERSISTENT.lua.arim_SS_SpeedColor = INT_MODEL(0)
MODEL.SETPERSISTENT.lua.arim_SSSpeedFontType = INT_MODEL(false)
MODEL.SETPERSISTENT.lua.ari_ssworkzone = INT_MODEL(0)
MODEL.SETPERSISTENT.lua.arim_BackToScreensaver = INT_MODEL((sc_GetSysEntry("skin_arine", "back_to_screensaver", 5))* 50)
MODEL.SETPERSISTENT.lua.arim_HeadUpDisplay = BOOL_MODEL(false)
MODEL.SETPERSISTENT.lua.arim_EnableHeadUpDisplay = BOOL_MODEL(false)
MODEL.SETPERSISTENT.lua.arim_Color_SS = INT_MODEL((sc_GetSysEntry("skin_arine", "hud_maneuvers_color", 7))* 12)
MODEL.SETPERSISTENT.lua.arim_MemSSColor = INT_MODEL(0)
sc_ari_customize = function()
sc_SSHide()
sc_ari_setvoicetype()
obs_ari_customize:STOP()
end
sc_ari_setvoicetype = function()
MODEL.lua.arim_setvoicetype()
end
sc_OnStart_ScreensaverEnable = function()
if MODEL.navigation.distance_to_maneuver() > 50 and MODEL.navigation.has_route() then
sc_SSHide()
else
if MODEL.navigation.distance_to_maneuver() < 50 and MODEL.navigation.has_route() then
sc_ari_ScreensaverEnabled()
obs_ari_screensaver_onst:STOP()
end
end
end
st_EasyNav:useLayers(primary, "ui_ari_Screensaver")
st_EasyNav:useLayers(primary, "ui_NavigateMapDriverAlertsSS")
st_EasyNav:useLayers(primary, "ui_TurnOnScreensaver")
-- ATTACH_LANEINFO(sprLaneInfoEasySS, "laneinfo.ini")
-- ATTACH_LANEINFO(sprLaneInfoEasySSM, "laneinfo_m.ini")
-- ATTACH_LANEINFO(sprLaneInfoSignpostSS, "laneinfo_signpost.ini")
st_EasyNav.init_orig = st_EasyNav.init
st_EasyNav.init = function()
gGotoMapByLongklick = false
sc_RegisterHWBack("sc_cockpit_back", "sc_DisableDefaultLongBack")
local messageBoxY = scGetMapPopupY()
sc_PosRecalcLayer()
sc_Set_Presets()
sc_SetOrientation()
sc_init_local_menu("ui.lm_st_EasyNav")
primary:ONMAPCLICK(sc_EasyMapClick)
obs_enter_drag_mode:START("no_trigger")
if MODEL.lua.dragMode() then
sc_dragmode(true)
MODEL.lua.mainMenuMode = false
else
if MODEL.navigation.is_in_simulation() then
sc_RegisterHWBack("sc_cockpit_back", "sc_longBackFromSim")
sc_SetFlyOverMode()
else
sc_set_Nav2D3D()
MODEL.lua.mainMenuMode = false
end
sc_SetCockpitMap()
sc_Set_Follow_On()
MODEL.map.primary.show_cursor = false
KEY("LOCALMENU", function()
end
)
end
ATTACH_LANEINFO(sprLaneInfoEasy, "laneinfo.ini")
ATTACH_LANEINFO(sprLaneInfoSignpost, "laneinfo_signpost.ini")
ATTACH_LANEINFO(sprLaneInfoEasySS, "laneinfo.ini")
ATTACH_LANEINFO(sprLaneInfoEasySSM, "laneinfo_m.ini")
ATTACH_LANEINFO(sprLaneInfoSignpostSS, "laneinfo_signpost.ini")
ui.bLaneInfoSignpostForceRedraw = 1
local junctionViewType = sc_GetSysEntry("navigation", "junction_view_type", "NNG")
gJunctionViewNeedsSignpost = sc_GetSysEntry("navigation", "junction_view_needs_signpost", true)
if junctionViewType == "NNG" then
ATTACH_JUNCTIONVIEW(sprJunctionView, junctionViewIni[junctionViewType], gJunctionViewDirectory)
elseif junctionViewType == "mixed" then
ATTACH_JUNCTIONVIEW(sprJunctionView, junctionViewIni[junctionViewType], gJunctionViewDirectory .. ";" .. gJunctionViewContentResolution)
elseif junctionViewType == "NNG_NQ" then
ATTACH_JUNCTIONVIEW(sprJunctionView, junctionViewIni[junctionViewType], "16_9_NQ_Roads")
elseif junctionViewType == "NQ" then
ATTACH_JUNCTIONVIEW(sprJunctionView, junctionViewIni[junctionViewType], gJunctionViewDirectory .. ";" .. gJunctionViewContentResolution)
end
if MODEL.map.primary.state() == "2dnorthup" or MODEL.map.primary.state() == "simulate_2d_nu" then
ui_SimulationControls:Y(uiResH * 32 / 100)
MODEL.map.primary.car_posy = 50
else
ui_SimulationControls:Y(0)
MODEL.map.primary.car_posy = 78
end
st_EasyNav.active = true
obs_want_junctionview:START()
obs_TunnelOverview:START()
ui_Local_Menu_Background.ALPHA = 0
ui_Local_Menu_Background_Disabled:HIDE()
sc_CloseMapLocalMenu(true)
if not MODEL.map.primary.center_follow() and not gKeepMapPosAfterBack then
MODEL.map.primary.center_noanim(MODEL.map.cursor.position())
end
gKeepMapPosAfterBack = false
MODEL.mydata.tracks.show_on_map = MODEL.lua.TrackShowOnMap()
if showDriveCarefully and MODEL.interface.drive_carefully() then
sc_drive_carefully_init()
end
ui.vTmcButtonBlinkCounter = 0
ui.vDAIsVisible = 1
MODEL.traffic.events.sort_by("distance")
sc_UpdateFullDelayTextOnMap()
satPhaseTimerId = doDelayed(20, sc_CycleSatPhase, true)
MODEL.lua.ismapvisible = true
MODEL.navigation.restrictions_turn_change_handler = sc_TruckTurnRestrictionAlert
if ui.bLaneinfoSignpostValid then
sc_SignPostLayerShow()
end
end
sc_arim_set_fontcolor = function()
if MODEL.lua.arim_SS_SpeedColor() == 0 then
txt_SSSpeedColor1:FONTTYPE(arimi_black_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_black_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_black_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 1 then
txt_SSSpeedColor1:FONTTYPE(arimi_white_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_white_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_white_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 2 then
txt_SSSpeedColor1:FONTTYPE(arimi_brown_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_brown_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_brown_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 3 then
txt_SSSpeedColor1:FONTTYPE(arimi_red_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_red_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_red_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 4 then
txt_SSSpeedColor1:FONTTYPE(arimi_green_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_green_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_green_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 5 then
txt_SSSpeedColor1:FONTTYPE(arimi_yellow_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_yellow_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_yellow_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 6 then
txt_SSSpeedColor1:FONTTYPE(arimi_blue_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_blue_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_blue_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 7 then
txt_SSSpeedColor1:FONTTYPE(arimi_orange_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_orange_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_orange_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 8 then
txt_SSSpeedColor1:FONTTYPE(arimi_gold_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_gold_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_gold_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
elseif MODEL.lua.arim_SS_SpeedColor() == 9 then
txt_SSSpeedColor1:FONTTYPE(arimi_purple_ss)
txt_SSSpeedColor2:FONTTYPE(arimi_purple_ss)
txt_SSSpeedColor3:FONTTYPE(arimi_purple_ss)
txt_SSSpeedColor4:FONTTYPE(arimi_ovrspd1_ss)
txt_SSSpeedColor5:FONTTYPE(arimi_ovrspd2_ss)
end
end
createState("st_ari_SSsettings")
st_ari_SSsettings:useLayers(backgroundLayers, ui_ari_Screensaversettings)
st_ari_SSsettings.init = function()
txtTitle:SET(m_i18n("Screen Saver Settings"))
end
sc_ariScreensaverset = function()
sc_NextStateAnim(st_ari_SSsettings, "horz_scroll", 1, "")
end
sc_SSOpen = function()
obs_ari_screensaver_onst:STOP()
-- ***
MODEL.lua.ari_Screensaver = false
-- ***
end
sc_SSHide = function()
MODEL.lua.ari_Screensaver = false
obs_ari_screensaver_e:STOP()
MODEL.lua.arim_HeadUpDisplay = false
end
sc_arimi_ScreensaverEnable = function()
if MODEL.lua.ari_Screensaver() and MODEL.navigation.has_route() then
if not MODEL.lua.ari_ssworkzone() then
if MODEL.navigation.distance_to_maneuver() >= MODEL.lua.ari_AutoDistss() then
-- ***
MODEL.lua.ari_ScreensaverEnable = false
-- ***
else
MODEL.lua.ari_ScreensaverEnable = false
end
else
if MODEL.navigation.car.is_incity() then
-- ***
MODEL.lua.ari_ScreensaverEnable = false
-- ***
else
if MODEL.navigation.distance_to_maneuver() >= MODEL.lua.ari_AutoDistss() then
MODEL.lua.ari_ScreensaverEnable = false
else
MODEL.lua.ari_ScreensaverEnable = false
end
end
end
end
if MODEL.lua.ari_Screensaver() and not MODEL.navigation.has_route() then
MODEL.lua.ari_ScreensaverEnable = false
end
end
sc_ari_hud_info_OnRelease = function()
sc_close_local_menu()
ui_xhtml_sublayer.FILENAME = "ui_android/" .. HTML_folder .. "/head-up_display.xhtml"
sc_NextStateAnim(st_xhtml, "horz_scroll", 1, "")
txtTitle.TEXT = m_i18n("Head-Up Display Info")
end
sc_ari_SSHide = function()
MODEL.lua.ari_Screensaver = false
MODEL.lua.arim_HeadUpDisplay = false
obs_ari_screensaver_e:STOP()
doDelayed(MODEL.lua.arim_BackToScreensaver(), function()
sc_ari_ScreensaverEnabled()
end
)
end
sc_ari_ScreensaverEnabled = function()
if MODEL.navigation.has_route() then
if not MODEL.lua.ari_ssworkzone() then
if MODEL.navigation.distance_to_maneuver() >= MODEL.lua.ari_AutoDistss() then
-- ***
MODEL.lua.ari_Screensaver = false
-- ***
else
-- ***
obs_ari_screensaver_e:STOP()
-- ***
MODEL.lua.ari_Screensaver = false
end
else
if MODEL.navigation.car.is_incity() then
-- ***
obs_ari_screensaver_e:STOP()
-- ***
MODEL.lua.ari_Screensaver = false
else
if MODEL.navigation.distance_to_maneuver() >= MODEL.lua.ari_AutoDistss() then
-- ***
MODEL.lua.ari_Screensaver = false
-- ***
else
-- ***
obs_ari_screensaver_e:STOP()
-- ***
MODEL.lua.ari_Screensaver = false
end
end
end
end
if not MODEL.navigation.has_route() then
obs_ari_screensaver_e:STOP()
MODEL.lua.ari_Screensaver = false
end
end
sc_HeadUpDisplayOff = function()
MODEL.lua.arim_HeadUpDisplay = 0
-- ***
obs_ari_screensaver_e:STOP()
obs_arimi_screensaver:STOP()
-- ***
end
sc_HeadUpDisplayOn = function()
if MODEL.lua.arim_EnableHeadUpDisplay() then
-- ***
MODEL.lua.ari_Screensaver = false
-- ***
MODEL.lua.arim_HeadUpDisplay = true
obs_ari_screensaver_e:STOP()
obs_arimi_screensaver:STOP()
end
end
sc_MemSSColor = function()
MODEL.lua.arim_MemSSColor = MODEL.lua.arim_SS_SpeedColor()
end
sc_ReturnSSSpeedColor = function()
MODEL.lua.arim_SS_SpeedColor = MODEL.lua.arim_MemSSColor()
end
sc_Quick_mute = function()
if MODEL.sound.voice_muted() == true then
MODEL.sound.voice_muted = false
MODEL.sound.effect_muted = false
MODEL.sound.media_muted = false
MODEL.sound.alert_muted = false
MODEL.sound.ding_muted = false
else
MODEL.sound.voice_muted = true
MODEL.sound.effect_muted = true
MODEL.sound.media_muted = true
MODEL.sound.alert_muted = true
MODEL.sound.ding_muted = true
end
end
st_EasyNav.mode_landscape_orig = st_EasyNav.mode_landscape
st_EasyNav.mode_landscape = function()
if MODEL.lua.dragMode() or not MODEL.lua.HwyPoiListIsVisible() then
local isPanelOpen = MODEL.screen.msgbox.is_onscreen()
end
if MODEL.lua.vMapMenuOpen() then
ui_MapLocalMenuListLayer.Y = 0
else
ui_MapLocalMenuListLayer.Y = uiResH
end
MODEL.lua.vEasyNavTripInfoOpen = MODEL.lua.vEasyNavTripInfoPrevStatus()
sc_reset_primary(false)
sc_SetNavCarPos(isPanelOpen)
if MODEL.lua.JunctionViewVisible() then
ATTACH_TUNNELOVERVIEW(sprTunnelOverview)
else
ATTACH_TUNNELOVERVIEW(sprTunnelOverview2)
end
MODEL.lua.NavigationStatusbarViaRefreshHack = true
sc_arim_set_fontcolor()
end
 
st_EasyNav.mode_portrait_orig = st_EasyNav.mode_portrait
st_EasyNav.mode_portrait = function()
if MODEL.lua.dragMode() or not MODEL.lua.HwyPoiListIsVisible() then
local isPanelOpen = MODEL.screen.msgbox.is_onscreen()
end
if MODEL.lua.vMapMenuOpen() then
ui_MapLocalMenuListLayer.Y = 0
else
ui_MapLocalMenuListLayer.Y = uiResH
end
MODEL.lua.vEasyNavTripInfoPrevStatus = MODEL.lua.vEasyNavTripInfoOpen()
MODEL.lua.vEasyNavTripInfoOpen = true
sc_reset_primary(false)
sc_SetNavCarPos(isPanelOpen)
if MODEL.lua.JunctionViewVisible() then
ATTACH_TUNNELOVERVIEW(sprTunnelOverview)
else
ATTACH_TUNNELOVERVIEW(sprTunnelOverview2)
end
MODEL.lua.NavigationStatusbarViaRefreshHack = false
sc_arim_set_fontcolor()
end
-----------------------------------------------
MODEL.SETPERSISTENT.lua.arim_setvoicetype = INT_MODEL(true)
MODEL.SETPERSISTENT.lua.gjSpVoiceEnable = BOOL_MODEL(true)
-- speedcam
vgj_spc_cat_name = ""
gjSpSoundName = ""
 
-- first play speedcam
sc_gjfirstplayspeedcam = function()
local spc_cat = MODEL.navigation.curr_speedcam.category()
local spc_speed = MODEL.navigation.curr_speedcam.speed_limit()
--test local spc_cat = 0
--test local spc_speed = 50

vgj_spc_cat_name = "speedcam_category:" .. spc_cat

gjSpSoundName = sc_GetSysEntry(vgj_spc_cat_name, "skin_first_sound", L"")
if gjSpSoundName ~= L"" then
sc_gjspeedcam_playsound(gjSpSoundName)
end

local gjSpeedSound = var.new()
gjSpeedSound = sc_GetSysEntry(vgj_spc_cat_name, "skin_speed_sound_delay", 0)
if gjSpeedSound > 0 then
killDelayed(gjDel1)
gjDel1 = doDelayed(gjSpeedSound, function()
sc_gjspeedcam_playsound(spc_speed)
end
)
end
MODEL.lua.gjSpRepDist = sc_GetSysEntry(vgj_spc_cat_name, "skin_repeat_distance", 0)
if MODEL.lua.gjSpRepDist() > 0 then
gjm_spcrep:START("NO_TRIGGER")
end
end
-- repeat play speedcam
sc_gjrepeatplayspeedcam = function()
gjm_spcrep:STOP()
gjSpSoundName = sc_GetSysEntry(vgj_spc_cat_name, "skin_repeat_sound", L"")
if gjSpSoundName ~= L"" then
sc_gjspeedcam_playsound(gjSpSoundName)
end
end
-- play off speedcam
sc_gj_spcoff = function()
gjSpSoundName = sc_GetSysEntry(vgj_spc_cat_name, "skin_off_sound", L"")
if gjSpSoundName ~= L"" then
sc_gjspeedcam_playsound(gjSpSoundName)
end
end
--play sounds
sc_gjspeedcam_playsound = function(snd_nm)
if snd_nm == L"" then
return
end
local spc_audio_path = var.new()
-- ari speedcam voice
-- spc_audio_path = sc_GetSysEntry("warning", "skin_audio_path", L"")
spc_audio_path = MODEL.lua.arim_setvoicetype()
if MODEL.lua.arim_setvoicetype() == 1 then
spc_audio_path = (L"speedcam_en")
elseif MODEL.lua.arim_setvoicetype() == 2 then
spc_audio_path = (L"speedcam_us")
elseif MODEL.lua.arim_setvoicetype() == 3 then
spc_audio_path = (L"speedcam_de")
elseif MODEL.lua.arim_setvoicetype() == 4 then
spc_audio_path = (L"speedcam_ru")
elseif MODEL.lua.arim_setvoicetype() == 5 then
spc_audio_path = (L"speedcam_lt")
elseif MODEL.lua.arim_setvoicetype() == 6 then
spc_audio_path = (L"speedcam_fr")
elseif MODEL.lua.arim_setvoicetype() == 7 then
spc_audio_path = (L"speedcam_it")
elseif MODEL.lua.arim_setvoicetype() == 8 then
spc_audio_path = (L"speedcam_pl")
elseif MODEL.lua.arim_setvoicetype() == 9 then
spc_audio_path = (L"speedcam_cz")
elseif MODEL.lua.arim_setvoicetype() == 10 then
spc_audio_path = (L"speedcam_ua")
elseif MODEL.lua.arim_setvoicetype() == 11 then
spc_audio_path = (L"speedcam_bg")
end
if spc_audio_path ~= L"" then
snd_nm = spc_audio_path .. L"/" .. snd_nm
end
MODEL.sound.playchanneltest("alarmeffect", snd_nm)
end
-- speedcam edit
sc_gjEditSpeedcam = function()
gEditSpeedcamFromInfo = false
sc_CopySpeedCamUserList()
MODEL.lua.managespeedcam = true
if #MODEL.map.primary.clicked_speedcam_list == 1 then
sc_UpdateSpeedcamModels(MODEL.map.primary.clicked_speedcam_list[0])
sc_NextStateAnim(st_EditSpeedcam, "fade", 1, "")
else
sc_NextStateAnim(st_SelectSpeedcam, "fade", 1, "")
end
end
sc_gjAddSpeedcam = function()
MODEL.lua.managespeedcam = false
sc_UpdateSpeedcamModels()
sc_NextStateAnim(st_EditSpeedcam, "fade", 1, "")
end
-- speedcam test ---------------------------------------------------------------------------------
 
sc_gjspeedcamtest = function()
local spc_cat = MODEL.INT.ui.extendedSpeedCamList.current.id()
local spc_speed = 50
vgj_spc_cat_name = "speedcam_category:" .. spc_cat

gjSpSoundName = sc_GetSysEntry(vgj_spc_cat_name, "skin_first_sound", L"")
if gjSpSoundName ~= L"" then
sc_gjspeedcam_playsound(gjSpSoundName)
end
local gjSpeedSound = var.new()
gjSpeedSound = sc_GetSysEntry(vgj_spc_cat_name, "skin_speed_sound_delay", 0)
if gjSpeedSound > 0 then
killDelayed(gjDel1)
gjDel1 = doDelayed(gjSpeedSound, function()
sc_gjspeedcam_playsound(spc_speed)
end
)
end
end
-- voice speed limit ---------------------------------------------------------------------------------
sc_gj_splchange = function()
local speed_lim = MODEL.warning.driveralert.speed_limit()
if MODEL.lua.gjSpVoiceEnable() then
killDelayed(gjDel2)
gjDel2 = doDelayed(150, function()
sc_gjspeedcam_playsound(speed_lim)
end
)
end
end
sc_gj_splimSelect = function()
PLAYSOUND( "!button" )
MODEL.lua.gjSpVoiceEnable = not MODEL.lua.gjSpVoiceEnable()
MODEL.lua.gjPosIcon = 0
if MODEL.lua.gjSpVoiceEnable() then
sc_gj_splchange()
sc_gjShowHelpText(m_i18n("Speed limit voice ON"), "ico_done_sml.bmp#3")
else
sc_gjShowHelpText(m_i18n("Speed limit voice OFF"), "ico_cancel_mid.bmp#3")
end
end
------------------------------------------------
------ HUD by arimi @ Vamibg -----
------------------------------------------------

Deine Antwort
Ähnliche Themen
  1. Startseite
  2. Forum
  3. Wissen
  4. Car Audio & Navigation
  5. Externe Navigation mit Videoeingang