Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
additional variables in HECL
Goto page 1, 2  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> WishList
View previous topic :: View next topic  
Author Message
ducje



Joined: 18 Feb 2010
Posts: 7

PostPosted: Sat Mar 20, 2010 1:11 pm    Post subject: additional variables in HECL Reply with quote

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
View user's profile Send private message
MrKev



Joined: 13 Jan 2008
Posts: 778
Location: Nikdykde

PostPosted: Wed May 05, 2010 9:36 am    Post subject: Reply with quote

Hecl scripts already has cms::wpt-azi variable.
_________________
Ti, co nedokáží psát programy, k nim píšou nápovědu.
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 413
Location: Sweden

PostPosted: Tue Jul 12, 2011 8:21 am    Post subject: Reply with quote

I also miss having all the CMS variables available in HECL. Would be really fantastic if all could be made available.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5660

PostPosted: Tue Jul 12, 2011 9:25 am    Post subject: Reply with quote

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
View user's profile Send private message
gisela



Joined: 01 Nov 2007
Posts: 112
Location: Utrecht, Holland

PostPosted: Tue Jul 12, 2011 10:15 am    Post subject: Reply with quote

I would like to use
Code:
time-t-auto

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
Code:
wpt-sym


Gisela
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 413
Location: Sweden

PostPosted: Tue Jul 12, 2011 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5660

PostPosted: Tue Jul 12, 2011 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 413
Location: Sweden

PostPosted: Tue Jul 12, 2011 11:35 am    Post subject: Reply with quote

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! Smile
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5660

PostPosted: Wed Aug 03, 2011 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
MrTom



Joined: 10 Nov 2009
Posts: 143
Location: SW Utah, U.S.A.

PostPosted: Sat Aug 06, 2011 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5660

PostPosted: Mon Aug 08, 2011 6:09 pm    Post subject: Reply with quote

Nothing changed. wpt-sym is now available for HECL scripts (cms::wpt-sym).
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 413
Location: Sweden

PostPosted: Sun Mar 04, 2012 5:06 pm    Post subject: utm x and y Reply with quote

kruch wrote:

"utm-x" (HECL-only)
"utm-y" (HECL-only)


How do I access these in HECL?
Back to top
View user's profile Send private message
MarkusF



Joined: 06 May 2009
Posts: 18

PostPosted: Sun Mar 04, 2012 8:13 pm    Post subject: Reply with quote

And please please please "play sound" and/or "beep"

thx in advance
Back to top
View user's profile Send private message Send e-mail
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5660

PostPosted: Sun Mar 04, 2012 8:46 pm    Post subject: Reply with quote

Sorry , there is a bug, it is utm_x utm_y Sad

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
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4855

PostPosted: Tue Apr 24, 2012 2:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> WishList All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group