| View previous topic :: View next topic |
| Author |
Message |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
|
| Back to top |
|
 |
haraldh
Joined: 06 Aug 2009 Posts: 47 Location: Helsinki, Finland
|
Posted: Wed Sep 02, 2009 6:45 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
vincent
Joined: 11 Feb 2008 Posts: 196
|
Posted: Tue Sep 15, 2009 7:36 pm Post subject: |
|
|
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 |
|
 |
haraldh
Joined: 06 Aug 2009 Posts: 47 Location: Helsinki, Finland
|
Posted: Wed Sep 16, 2009 6:18 am Post subject: |
|
|
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.
_________________ N97 JRE 2.0 beta |
|
| Back to top |
|
 |
vincent
Joined: 11 Feb 2008 Posts: 196
|
Posted: Wed Sep 16, 2009 7:05 am Post subject: |
|
|
Just configure the unit as nautical in pref/conf and install any good theme in the theme section and actually you already got it !?
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 |
|
 |
haraldh
Joined: 06 Aug 2009 Posts: 47 Location: Helsinki, Finland
|
Posted: Wed Sep 16, 2009 11:03 am Post subject: |
|
|
I know about that i pref/conf, but please suggest a good CMS that actually uses the information in pref/conf
_________________ N97 JRE 2.0 beta |
|
| Back to top |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Mon Sep 21, 2009 5:31 pm Post subject: Sailing CMS |
|
|
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]
| Description: |
|
| Filesize: |
2.25 KB |
| Viewed: |
9298 Time(s) |

|
|
|
| Back to top |
|
 |
vincent
Joined: 11 Feb 2008 Posts: 196
|
|
| Back to top |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Tue Sep 22, 2009 7:34 pm Post subject: |
|
|
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 |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Wed Sep 23, 2009 10:40 am Post subject: |
|
|
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 |
|
 |
JNT
Joined: 10 Jan 2009 Posts: 125 Location: Sweden
|
Posted: Thu Sep 24, 2009 7:05 pm Post subject: |
|
|
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...?
| Description: |
|
 Download |
| Filename: |
ui-profiles.zip |
| Filesize: |
15.86 KB |
| Downloaded: |
109 Time(s) |
|
|
| Back to top |
|
 |
haraldh
Joined: 06 Aug 2009 Posts: 47 Location: Helsinki, Finland
|
Posted: Fri Sep 25, 2009 7:42 am Post subject: |
|
|
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?
_________________ N97 JRE 2.0 beta |
|
| Back to top |
|
 |
guest
Joined: 08 Oct 2006 Posts: 3949
|
Posted: Fri Sep 25, 2009 9:18 am Post subject: |
|
|
[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 |
|
 |
vincent
Joined: 11 Feb 2008 Posts: 196
|
Posted: Fri Sep 25, 2009 7:05 pm Post subject: |
|
|
is this guest david ?
_________________ SE K750i + 512MB MS2 OR HTC Diamond + Qstarz BT-818 + Wintec 301 + latest TB |
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Sat Sep 26, 2009 10:19 am Post subject: |
|
|
Just tested youre cms,looks very nice.
| JNT wrote: |
What am I doing wrong...? |
i think nothing,see my screenshots.
| Description: |
|
| Filesize: |
3.18 KB |
| Viewed: |
9020 Time(s) |

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

|
| Description: |
| gps started,wp selected,key never pressed. |
|
| Filesize: |
4.77 KB |
| Viewed: |
9020 Time(s) |

|
| Description: |
| gps started wp selected,key2 pressed. |
|
| Filesize: |
4.57 KB |
| Viewed: |
9020 Time(s) |

|
|
|
| Back to top |
|
 |
|