| View previous topic :: View next topic |
| Author |
Message |
ducje
Joined: 18 Feb 2010 Posts: 7
|
Posted: Sat Mar 20, 2010 1:11 pm Post subject: additional variables in HECL |
|
|
Is it possible to add more (or all) CMS-variables to HECL? I would like to make a CMS theme with the traveling direction always to the top, showing the waypoint to left or right. For this I need wpt-azi to be read to HECL. _________________ Nokia 6303c
Qstarz BT-1300S |
|
| Back to top |
|
 |
MrKev
Joined: 13 Jan 2008 Posts: 777 Location: Nikdykde
|
Posted: Wed May 05, 2010 9:36 am Post subject: |
|
|
Hecl scripts already has cms::wpt-azi variable. _________________ Ti, co nedokáží psát programy, k nim píšou nápovědu. |
|
| Back to top |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Tue Jul 12, 2011 8:21 am Post subject: |
|
|
| I also miss having all the CMS variables available in HECL. Would be really fantastic if all could be made available. |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5085
|
Posted: Tue Jul 12, 2011 9:25 am Post subject: |
|
|
Up-to-date list of vars. Bold are available both in CMS and HECL. Some CMS vars are weird, so I would prefer not to make all of them avail in HECL. So, which CMS vars would be handy in HECL?
group #1
"coords"
"time"
"time-t"
"time-t-auto"
"status"
"wpt-azi"
"wpt-dist"
"wpt-vmg"
"wpt-eta"
"wpt-alt"
"wpt-coords"
"snr"
"prn"
"timer"
"lat"
"lon"
"wpt-lat"
"wpt-lon"
"wpt-name"
"wpt-cmt"
"wpt-sym"
"wpt-img"
"wpt-alt-diff" (seems obsolete to me)
"pace"
"course.g-sliding"
"wpt-azi.g-sliding"
group #2
"alt"
"course"
"spd"
"spd-max"
"spd-avg"
"spd-avg-auto"
"spd.i"
"spd.i-max"
"spd.i-avg"
"spd.i-avg-auto"
"spd.d"
"spd.d-max"
"spd.d-avg"
"spd.d-avg-auto"
"dist-t"
"alt-d"
"course-d"
"spd-d"
"spd-dmax"
"spd-davg"
"asc-t"
"desc-t"
"sat"
"fix"
"pdop" (always 0)
"hdop"
"vdop"
"satv"
"dgps"
"profile" (HECL-only)
"utm-x" (HECL-only)
"utm-y" (HECL-only) |
|
| Back to top |
|
 |
gisela
Joined: 01 Nov 2007 Posts: 112 Location: Utrecht, Holland
|
Posted: Tue Jul 12, 2011 10:15 am Post subject: |
|
|
I would like to use
to calculate average moving speed with internal gps. But this is only because spd-avg-auto is not correct.
And I've thought of an wpt symbol that's growing when you reach the waypoint. To make that possible, I need
Gisela |
|
| Back to top |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Tue Jul 12, 2011 10:44 am Post subject: |
|
|
Preferred: all that could be made available without causing problems (I don't know what I might want to use in the future...).
What I would like to use now:
(coords) - not so important
time-t
wpt-vmg
wpt-eta
(wpt-coords) - not so important
(pace) - not so important
Then for a "man overboard" function it would be nice to be able to store a way-point (current position when pressed) using HECL. For safety reasons it would be good if it is stored in a file and not just temporary in variables (as the anchor alarm). |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5085
|
Posted: Tue Jul 12, 2011 10:59 am Post subject: |
|
|
| JNT wrote: |
(coords) - not so important
(wpt-coords) - not so important
|
You have lat, lon, wpt-lat, wpt-lon in HECL. coords and wpt-coords are strings (location formatted according to coordinates format configuration). I cannot image what can user do eith in HECL besides just printing it - and for that HECL is not needed.
In CMS, wpt-eta is also formatted string, so I guess for HECL it should raw numeric value ... in seconds, right? |
|
| Back to top |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Tue Jul 12, 2011 11:35 am Post subject: |
|
|
| kruch wrote: |
In CMS, wpt-eta is also formatted string, so I guess for HECL it should raw numeric value ... in seconds, right? |
yes, please!  |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5085
|
Posted: Wed Aug 03, 2011 8:42 pm Post subject: |
|
|
Available in HECL since 1.0.17:
time-t
pace (seconds)
wpt-eta (millis since 01/01/1970)
wpt-vmg
wpt-sym |
|
| Back to top |
|
 |
MrTom
Joined: 10 Nov 2009 Posts: 143 Location: SW Utah, U.S.A.
|
Posted: Sat Aug 06, 2011 10:12 pm Post subject: |
|
|
| kruch wrote: |
| Available in HECL since 1.0.17: wpt-sym |
Cannot find any explaination in WiKi about the var "wpt-sym" mentioned above?
In the past I have been using <sym>xx</sym> to show turn directions for various waypoints. Picking the xx from a png graphic strip.
Ex:
<wpt lat="36.116182" lon="-115.175687">
<cmt>Caesars Palace,NV</cmt>
<sym>8</sym>
<link href="nav8.wav"/>
<link href="images/Caesars Palace Parking.jpg"/>
</wpt>
Do we get the graphic from a png strip or from a single png file. Where does it appear, in a designated CMS screen area or on the map screen replacing the current waypoint symbols?
Thanks,
.. _________________ ...Blackberry Pearl 8120, OS 4.5, GPS: External Bluetooth Freedom 2000, TB ver 1.0.23
...LG Optimus 9, GPS: Internal and external, TB ver 1.2.0 Android |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5085
|
Posted: Mon Aug 08, 2011 6:09 pm Post subject: |
|
|
| Nothing changed. wpt-sym is now available for HECL scripts (cms::wpt-sym). |
|
| Back to top |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Sun Mar 04, 2012 5:06 pm Post subject: utm x and y |
|
|
| kruch wrote: |
"utm-x" (HECL-only)
"utm-y" (HECL-only) |
How do I access these in HECL? |
|
| Back to top |
|
 |
MarkusF
Joined: 06 May 2009 Posts: 18
|
Posted: Sun Mar 04, 2012 8:13 pm Post subject: |
|
|
And please please please "play sound" and/or "beep"
thx in advance |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5085
|
Posted: Sun Mar 04, 2012 8:46 pm Post subject: |
|
|
Sorry , there is a bug, it is utm_x utm_y
Example: set my $cms::utm_x
Command to play soundfile (relative to ui-profiles folder) is already available ("play"), if it cannot play it (eg. because it does not exist), it should beep. |
|
| Back to top |
|
 |
guest
Joined: 08 Oct 2006 Posts: 3948
|
Posted: Tue Apr 24, 2012 2:33 am Post subject: |
|
|
I tried to play a sound file from my live plugin, but TB only plays the fallback sound. Where is the correct location for my sound files? I tried the plugins folder, the sounds folder and the ui-profiles folder, however nothing worked so far.
EDIT: I disabled sounds in the TB configuration and the sound files are playing since, |
|
| Back to top |
|
 |
|