Hallo Programmierer, ich bekomme folgende Funktion nicht hin in Primo (Bei IGO 8.3 lief es super)
kann mir jemand helfen ????
Beschreibung: (in English)
Autoskip Next Waypoint
for IGO Primo
(implemented in Gurion Skin 2.2.3)
Description:
With this function it is possible to define a radius for an automated deletion of the next waypoint. This is a function especially for Motorcycle drivers. Now you are not forced to drive exactly to the waypoints. As soon you have approached up to (example:1000 m), Primo will delete this waypoint from the list and navigate you automatically to the next waypoint. The driver does not have to push any buttons during the drive (which is dangerous for motorcyclists). This function is requested by many motorcyclists but none of the navigation systems have it!
[FONT=Arial, sans-serif]MODEL.SETPERSISTENT.lua.vskipradius = INT_MODEL(5)[/FONT]
…[FONT=Arial, sans-serif]........ existing entries[/FONT]
[FONT=Arial, sans-serif];HJ Waypoint modi[/FONT]
[FONT=Arial, sans-serif] <SLIDER xxx class="listitem txt_16bd" align="RIGHT" x=60 y=230 value="OFF|5|500 m|500|1000 m|1000|1500 m|1500|2000 m|2000|2500 m|2500|3000 m|3000" valuemodel="lua.vskipradius">[/FONT]
[FONT=Arial, sans-serif] <TEXT xxx class="txt_18 on4 lst_left bb_ww" text=" Autoskip Waypoint: Radius">[/FONT]
[FONT=Arial, sans-serif] </SLIDER>[/FONT]
…[FONT=Arial, sans-serif]....... existing entries[/FONT]
[FONT=Arial, sans-serif]</layer>[/FONT]
[FONT=Arial, sans-serif]<observer ob_skipwaypoint value=(%navigation.distance_to_waypoint) onchange=sc_Waypointdistance>[/FONT]
[FONT=Arial, sans-serif]sc_Waypointdistance = function()[/FONT]
[FONT=Arial, sans-serif] if (%navigation.distance_to_waypoint) < lua.vskipradius then[/FONT]
[FONT=Arial, sans-serif] sc_DeleteNextWaypoint()[/FONT]
[FONT=Arial, sans-serif] end[/FONT]
[FONT=Arial, sans-serif]end[/FONT]
kann mir jemand helfen ????
Beschreibung: (in English)
Autoskip Next Waypoint
for IGO Primo
(implemented in Gurion Skin 2.2.3)
Description:
With this function it is possible to define a radius for an automated deletion of the next waypoint. This is a function especially for Motorcycle drivers. Now you are not forced to drive exactly to the waypoints. As soon you have approached up to (example:1000 m), Primo will delete this waypoint from the list and navigate you automatically to the next waypoint. The driver does not have to push any buttons during the drive (which is dangerous for motorcyclists). This function is requested by many motorcyclists but none of the navigation systems have it!
- [FONT=Arial, sans-serif]Defing a variable (Works)[/FONT][FONT=Arial, sans-serif]
…. \ui_igo9\common\ui\gjm_models.lua[/FONT]
[FONT=Arial, sans-serif]MODEL.SETPERSISTENT.lua.vskipradius = INT_MODEL(5)[/FONT]
- [FONT=Arial, sans-serif]Implement a Slider on Primo Start Page…. (Works)
\ui_igo9\480_272\ui\start_480_272.ui[/FONT]
…[FONT=Arial, sans-serif]........ existing entries[/FONT]
[FONT=Arial, sans-serif];HJ Waypoint modi[/FONT]
[FONT=Arial, sans-serif] <SLIDER xxx class="listitem txt_16bd" align="RIGHT" x=60 y=230 value="OFF|5|500 m|500|1000 m|1000|1500 m|1500|2000 m|2000|2500 m|2500|3000 m|3000" valuemodel="lua.vskipradius">[/FONT]
[FONT=Arial, sans-serif] <TEXT xxx class="txt_18 on4 lst_left bb_ww" text=" Autoskip Waypoint: Radius">[/FONT]
[FONT=Arial, sans-serif] </SLIDER>[/FONT]
…[FONT=Arial, sans-serif]....... existing entries[/FONT]
[FONT=Arial, sans-serif]</layer>[/FONT]
- [FONT=Arial, sans-serif]Defining an Observer (Works ?)[/FONT][FONT=Arial, sans-serif]
…. \ui_igo9\common\ui\gjm_code.ui[/FONT]
[FONT=Arial, sans-serif]<observer ob_skipwaypoint value=(%navigation.distance_to_waypoint) onchange=sc_Waypointdistance>[/FONT]
- [FONT=Arial, sans-serif]Activating the Observer starten (Does not work)[/FONT][FONT=Arial, sans-serif]
….. \ui_igo9\common\ui\navigatemap.lua [/FONT]
[FONT=Arial, sans-serif]-- HJ
ob_skipwaypoint:START()[/FONT]
- [FONT=Arial, sans-serif]Defining a script for deleting the next waypoint [/FONT][FONT=Arial, sans-serif] (Does not work)[/FONT][FONT=Arial, sans-serif]
[/FONT][FONT=Arial, sans-serif]…. \ui_igo9\common\ui\gjm_code.lua …[/FONT]
[FONT=Arial, sans-serif]sc_Waypointdistance = function()[/FONT]
[FONT=Arial, sans-serif] if (%navigation.distance_to_waypoint) < lua.vskipradius then[/FONT]
[FONT=Arial, sans-serif] sc_DeleteNextWaypoint()[/FONT]
[FONT=Arial, sans-serif] end[/FONT]
[FONT=Arial, sans-serif]end[/FONT]