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 
0.9.84-devel
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    TrekBuddy Forum Index -> Recycle Bin
View previous topic :: View next topic  
Author Message
nxsfan



Joined: 23 Mar 2009
Posts: 11

PostPosted: Mon Mar 30, 2009 12:35 pm    Post subject: Reply with quote

Vincent:

I can use vincent::var as a variable in the xml after it has been defined using: set vincent::var 0

In the xml i have: <value>{$vincent::var}</value> (amongst other things)

When I first run the program I see 0 on the screen. Then when I start tracking it changes to 100: ([ * $e $e]
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Mon Mar 30, 2009 1:17 pm    Post subject: Reply with quote

nxsfan wrote:
I can use vincent::var as a variable in the xml after it has been defined using: set vincent::var 0


This may stop working after I do some optimizations - using var command is safer for vars used in xml directly Cool
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Mon Mar 30, 2009 1:20 pm    Post subject: Reply with quote

vincent wrote:
@kruch : the cms::speed is always in km/h ? even if we change the Tb units.
is it normal ?


It's a bug Sad

Coordinates (cms::lat, cms::lon) will be gsm84.
Back to top
View user's profile Send private message
nxsfan



Joined: 23 Mar 2009
Posts: 11

PostPosted: Mon Mar 30, 2009 1:47 pm    Post subject: Reply with quote

Kruch can you tell me why I'm having trouble with onKeypress?

If i replace onTrackingStart {} from my previous example with onKeyPress {} I can never get the procedure to run (I press 2 and up).
Back to top
View user's profile Send private message
vincent



Joined: 11 Feb 2008
Posts: 196

PostPosted: Mon Mar 30, 2009 2:16 pm    Post subject: Reply with quote

@kruch :

1 / the cms::time is a round of 1 seconds x 1000
but I work with frequency over 1hz. (2-3-4-5hz and 10hz)
Will Tb manage cms:time more precise in futur ? giving the cms::time with ms ?

2/ if you could explain me rapidly the long format cms:time ?
because when I see 1202716036000

I suppose that this cms:time in ms include the date ? but how to understand ? 1970 ?

3/ in the nmea information there are two informations that define speed.
one speed that is a positional calculation and one that is a doppler deduction. will TB give access to the both speed ? in hecl ?

3/ okay for the coord format ... will try to test if my convertion in utm in real time will be as optimized in hecl as needed Wink

_________________
SE K750i + 512MB MS2 OR HTC Diamond + Qstarz BT-818 + Wintec 301 + latest TB
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Mon Mar 30, 2009 9:19 pm    Post subject: Reply with quote

@nxsfan try "debug" area with <value>{$nxsfan::onKeyPress}</value> to see if it is SUCCESS or error (exception message).
The correct function signature is "proc prefix::name {keycode}" (I do not think it is the problem, but one never knows...)

@vincent 1+2) ms part of timestamp is really rounded - I will fix it; and yes, it is "1970" time
3) do you know what NMEA sentence carries which speed?
Back to top
View user's profile Send private message
nxsfan



Joined: 23 Mar 2009
Posts: 11

PostPosted: Tue Mar 31, 2009 10:07 am    Post subject: Reply with quote

Thanks Kruch, I got it working using the information from the debug variable.

I was originally using:

onKeyPress {} {
Some code
}

The first set of parenthesis were ignored and the second were treated as an argument list to onKeyPress generating an error: Too many arguments.

Changing to

nxsfan::onKeyPress {localvar} {
Some code
}

did the trick.

However, if i'm triggering a function using onTrackingStart {} and I start tracking the screen is redrawn instantly (the variable dynamically updates). But if my trigger is onKeyPress I have to change to another CMS screen and then back again to see the variable update.

set nxsfan::var [cos {45}] does work
but set nxsfan::var [random {}] doesn't (it always returns 0, as does [random]. Am I doing something wrong?
Back to top
View user's profile Send private message
madmax



Joined: 17 Oct 2008
Posts: 2

PostPosted: Tue Mar 31, 2009 6:08 pm    Post subject: http-requests in hcl Reply with quote

Great !

does hcl in TB support hhtp functions such as:

http.data [http.geturl http://www.testfirma.de]

Phil
Back to top
View user's profile Send private message
nxsfan



Joined: 23 Mar 2009
Posts: 11

PostPosted: Tue Mar 31, 2009 6:38 pm    Post subject: Reply with quote

madmax:

Kruch said "only its core is integrated"

But I really hope file i/o and http stuff is added! I've got an unlimited data tariff to play with Very Happy
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5664

PostPosted: Tue Mar 31, 2009 7:54 pm    Post subject: Reply with quote

nxsfan wrote:
madmax:

Kruch said "only its core is integrated"

But I really hope file i/o and http stuff is added! I've got an unlimited data tariff to play with Very Happy


It is planned for the next phase of integration; 0984 really has hecl-core only.
Back to top
View user's profile Send private message
nxsfan



Joined: 23 Mar 2009
Posts: 11

PostPosted: Thu Apr 02, 2009 11:43 am    Post subject: Reply with quote

Is there a way to get at lat/long information within a cms script? That would be very useful for me.

I have tested the variables that you said are available.

$cms::alt, $cms::course and $cms::speed work great.
$cms::sat, $cms::satv, $cms::fix and $cms::hdop never change from 0.00.
Back to top
View user's profile Send private message
vincent



Joined: 11 Feb 2008
Posts: 196

PostPosted: Thu Apr 02, 2009 6:08 pm    Post subject: Reply with quote

kruch say us that it will be included soon.
_________________
SE K750i + 512MB MS2 OR HTC Diamond + Qstarz BT-818 + Wintec 301 + latest TB
Back to top
View user's profile Send private message
wowi



Joined: 23 Mar 2007
Posts: 78
Location: Munich

PostPosted: Wed Apr 08, 2009 12:54 pm    Post subject: Reply with quote

Will cms::pace be available as a variable? I would like to experiment with a speed calculated from pace. pace reacts rather prompt and smoothly to speed changes, whereas spd has a rough resolution with large jumps and spd-avg reacts too slowly. Or am I wrong? is pace calculated from spd-avg? Question
Back to top
View user's profile Send private message
gdpno69



Joined: 03 Sep 2007
Posts: 27

PostPosted: Sun Apr 12, 2009 2:47 pm    Post subject: bug and new feature request Reply with quote

Hi, I am testing on N958Gb, with MaleSmurf CMS.
1st bug: vertical speed and horizontal acceleration often overflow taking all the room reserved for them on the display, plus overwriting adjacent values.
This happens only with the internal receiver, never with the external bluetooth receiver.
2nd bug: difficult to reproduce. List of 4 waypoints created on the map, Route Along them. Even when I reach one, it does not step to the other, even if I set 400m as the default radius.
Feature; if you could port to HECL the variables related to wpts (when set), like distance and altitude, I could finally implement wpt glide ratio, like requested about oneyear ago Smile
THX!
Back to top
View user's profile Send private message
Kotakadjaib



Joined: 10 Apr 2009
Posts: 1
Location: Indonesia

PostPosted: Mon Apr 13, 2009 1:17 am    Post subject: Need TB 0.9.84-devel unsigned version Reply with quote

Hallow, I use Nokia 6275i. Please help me? To get TB 0.9.84-devel usigned version.
TQ so much!

_________________
-KotakadjaiB-
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    TrekBuddy Forum Index -> Recycle Bin All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7

 
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