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.
Trekbuddy is on Github now

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 
Sailing CMS theme?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Themes
View previous topic :: View next topic  
Author Message
JNT



Joined: 10 Jan 2009
Posts: 416
Location: Sweden

PostPosted: Tue Sep 01, 2009 8:05 pm    Post subject: Sailing CMS theme? Reply with quote

Has anyone made a CMS theme for sailing?

e.g. : http://www.blueflow.se/index.php?option=com_content&view=article&id=65&Itemid=83

Unfortunately the description is in Swedish, but the concept is clear.

http://www.blueflow.se/media/blueflow/bf_sail_2.swf
Back to top
View user's profile Send private message
haraldh



Joined: 06 Aug 2009
Posts: 49
Location: Helsinki, Finland

PostPosted: Wed Sep 02, 2009 6:45 am    Post subject: Reply with quote

I am in need of a sailing-CMS as well. Or more generically, a nautical one.

I could do with a more garmin-12 like interface without animations Smile
Back to top
View user's profile Send private message Visit poster's website
vincent



Joined: 11 Feb 2008
Posts: 196

PostPosted: Tue Sep 15, 2009 7:36 pm    Post subject: Reply with quote

if you could explain me your need perhaps I could modify the one for windsurf that I'am working on ?

[/code]

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



Joined: 06 Aug 2009
Posts: 49
Location: Helsinki, Finland

PostPosted: Wed Sep 16, 2009 6:18 am    Post subject: Reply with quote

Mainly one would want the CMS to be able to use the measurement=nautical and display speeds in knots and distance in nautical miles.

At least for me most interesting to see would be, COG, SOG and SAT and exact time from GPS.

SAT signal-levels, hdop & friends could be like the SAT-screen in the various three-screen simple CMS'es found here. Actually the simle CMS would be ok, if I would be able to get the nautical stuff to work. It looks to me like km/h and km are in the images in those?

If waypoint active bearing and distance, maybe wpt name.

Funny things, not actually needed are max speed.

What would really come in handy is a starting-watch (with rounding 5 min, 4 min, 1 min and 0 min, along with adjusting the time to the nearest minute). But I suspect that it would be hard to implement within the current xml-spec?

Designwise I would prefer large visible numbers always on the same place so I would be able to get SOG/COG with a glance.

_________________
Note3
Back to top
View user's profile Send private message Visit poster's website
vincent



Joined: 11 Feb 2008
Posts: 196

PostPosted: Wed Sep 16, 2009 7:05 am    Post subject: Reply with quote

Just configure the unit as nautical in pref/conf and install any good theme in the theme section and actually you already got it !? Smile

for the chrono race I will look when I finish my dev but it's possible without any problems with a voice reading the time at all the event

adjusting time is also possible

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



Joined: 06 Aug 2009
Posts: 49
Location: Helsinki, Finland

PostPosted: Wed Sep 16, 2009 11:03 am    Post subject: Reply with quote

I know about that i pref/conf, but please suggest a good CMS that actually uses the information in pref/conf Smile
_________________
Note3
Back to top
View user's profile Send private message Visit poster's website
JNT



Joined: 10 Jan 2009
Posts: 416
Location: Sweden

PostPosted: Mon Sep 21, 2009 5:31 pm    Post subject: Sailing CMS Reply with quote

I have now been working on my own sailing CMS (see attached png file), but do not know enough about hecl to understand how to implement the timer function...

proc sail::onKeyPress {keycode} {
if {= $keycode 1} {
...CODE...
}
}

does not seem to work for me... I must be doing something wrong!

Where can I find some good but basic hecl information?
[/img]



Sail.png
 Description:
 Filesize:  2.25 KB
 Viewed:  22581 Time(s)

Sail.png


Back to top
View user's profile Send private message
vincent



Joined: 11 Feb 2008
Posts: 196

PostPosted: Mon Sep 21, 2009 9:57 pm    Post subject: Reply with quote

here for command available : http://www.hecl.org/docs/commands.html
here for global doc : http://www.hecl.org/docs/
what is not working for you JNT ?

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



Joined: 10 Jan 2009
Posts: 416
Location: Sweden

PostPosted: Tue Sep 22, 2009 7:34 pm    Post subject: Reply with quote

Well, I have been looking at the hecl CMS's of thomast and MaleSMurf, trying to understand how it works. Some simple things I managed, like calculating the angle between "wpt-azi" and "course" and showing which way to turn to reach the target.

However, I cannot get the following to work:

proc sail::onKeyPress {keycode} {
if {= $keycode 1} {
...CODE...
}
}

where "...CODE..." is code for a start timer.

I thought that I could use "onKeyPress" to save the instantaneous time into a variable (say "begin") and then add 5 (minutes) to it and then continuously subtracting the result from the current time. Displaying the timer as "current time - begin - 5" which would then begin to count from -5 minutes.

But for some reason I cannot get "onKeyPress" to work AT ALL... not even for very simple things like setting some variable to a known value.

As I said, I must be doing something wrong...
Back to top
View user's profile Send private message
thomast



Joined: 16 Jan 2009
Posts: 101

PostPosted: Wed Sep 23, 2009 10:40 am    Post subject: Reply with quote

hi jnt,
the "onKeyPress" is only working correct, when you have started the gps and trekbuddy receives position datas.

otherwise the cms screen is not refreshed automatically.

That is my experience with my Nokia.

Could that be you're problem?

if not, have you tested if other cms working correct with the onkeypress routine on youre mobile?

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



Joined: 10 Jan 2009
Posts: 416
Location: Sweden

PostPosted: Thu Sep 24, 2009 7:05 pm    Post subject: Reply with quote

Here is my sailing CMS so far. The start timer does not work and in this example I have just some simple variable assignments in the "sail::onKeyPress" procedure. For me, even this does not do anything...

What am I doing wrong...?



ui-profiles.zip
 Description:

Download
 Filename:  ui-profiles.zip
 Filesize:  15.86 KB
 Downloaded:  126 Time(s)

Back to top
View user's profile Send private message
haraldh



Joined: 06 Aug 2009
Posts: 49
Location: Helsinki, Finland

PostPosted: Fri Sep 25, 2009 7:42 am    Post subject: Reply with quote

I'll try that one out, thanks!

This might not be sailing-CMS specific, but is there any possibity to have a vector showing the COG (length as SOG p'haps?) visually on the map. This is the way SeaClear does it, and I find it very intuitive.

A single-pixel line, maybe 50 px long, configurable color?

_________________
Note3
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 5031

PostPosted: Fri Sep 25, 2009 9:18 am    Post subject: Reply with quote

[quote="JNT"]Well, I have been looking at the hecl CMS's of thomast and MaleSMurf, trying to understand how it works. Some simple things I managed, like calculating the angle between "wpt-azi" and "course" and showing which way to turn to reach the target.

However, I cannot get the following to work:

proc sail::onKeyPress {keycode} {
if {= $keycode 1} {
...CODE...
}
}

...

As I said, I must be doing something wrong...[/quote]

Hi,

that code basically looks ok, so perhaps the problem is elsewhere.

I just wanted to mention, as the guy behind Hecl, that anyone is welcome on our list to ask even basic language usage questions:

http://groups.google.com/group/hecl

Although of course I can't help you with TrekBuddy specific code or API's...
Back to top
View user's profile Send private message Visit poster's website
vincent



Joined: 11 Feb 2008
Posts: 196

PostPosted: Fri Sep 25, 2009 7:05 pm    Post subject: Reply with quote

is this guest david ? 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
thomast



Joined: 16 Jan 2009
Posts: 101

PostPosted: Sat Sep 26, 2009 10:19 am    Post subject: Reply with quote

Just tested youre cms,looks very nice.

JNT wrote:

What am I doing wrong...?


i think nothing,see my screenshots.



Screenshot0104.png
 Description:
gps started wp selected,key2 pressed.
 Filesize:  4.57 KB
 Viewed:  22303 Time(s)

Screenshot0104.png



Screenshot0103.png
 Description:
gps started,wp selected,key never pressed.
 Filesize:  4.77 KB
 Viewed:  22303 Time(s)

Screenshot0103.png



Screenshot0102.png
 Description:
gps stated,no wp selected,key2 never pressed.
 Filesize:  3.77 KB
 Viewed:  22303 Time(s)

Screenshot0102.png



Screenshot0101.png
 Description:
tb started,but gps not.
 Filesize:  3.18 KB
 Viewed:  22303 Time(s)

Screenshot0101.png


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Themes 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