|
|
TrekBuddy www.trekbuddy.net Outdoor companion.
|
- bluetooth / serial / internal GPS, simulator
- offline raster maps (common grids and projections)
- smart GPX / raw NMEA logs
- waypoints and simple navigation
- ... and more
|
- MIDP and Symbian phones
- Blackberry
- Android
- Windows Mobile 5.x/6.x
- Windows Phone coming
|
|
Visit our wiki to see all features, guides and howtos.
Project tracker.
|
|
|
|
|
|
|
| View previous topic :: View next topic |
| Author |
Message |
rod
Joined: 13 Jul 2009 Posts: 26
|
Posted: Mon Aug 03, 2009 4:49 pm Post subject: Re: 240x320 5-panel HECL-CMS for Flying |
|
|
| thomast wrote: |
Hallo Trekkys,
here my first CMS.
Its basically made for Hangglider Pilots.
It has at the Moment 5 Screens, i call them Views.
The Fonts are made from MaleSMurf, i hope it was allowed to use them ?
Short Description.
Common in all views:
Top left is the Name of the View "Windview,Climbview,Perfview,Altiview and Targetview"
Top right is the GPS Stautus.
Next Line left Time, right Waypoint Name.
At the Bottom a Status Line.
The Vertical Speed is Calculated by Hand,to overcome the TB Bug with the Internal GPS.
Glideratio is shown if Vertical Speed is at least -0.3m/s
Description of each View:
Windview:
When you fly some smooth Circles the Script try to detect Windspeed and Direction.
In the upper Part you see Speed over Ground and Course,
in the lower Part Windspeed and Direction,when the Script has found it.
Otherwise -1.
Statusline shows how old is the Windcalculation.
Climbview:
SOG,
Distance to Waypoint,
AVG Vario over 5 Samples
Altitude.
Perfview (experimantely)
If the Script knows the Windspeed and Direction it trys to calculate
youre Speed through the Air.
Then it trys to Calculate youre Gliderade though the Air.
If Wind not known both -1
next Line again Avg vario then Altitude.
Altiview
shows different Altitudes,easy to understand.
Targetview
is made in Italy by "gdpno69"
It shows dist2WP,
Altitude,
Course as slider,
Gliderate over Ground calulated over 10 Samples,
Dir. to WP al slider,
Altitude of Waypoint,
and maybe the next Version
required Gliderario to reach the WP.(If Kruch give us a new Version with HECL Access to wp-alt and so on.At the Moment alway 0.
Statusline shows the Filling Level of the 60 Sample FIFO.
2FView
Showing best speed to fly calculated on the polare, wind and "downwind"
This CMS is not much testet,if you find a Bug report it here.
Helpfully is a NMEA Log of TB.
Changelog:
dd.mm.yyyy
28.07.09 ligth changes in the view from Troubadixx,more changes in the S2Fiew:with key 2 windvalues are copied in the S2F Calculator
14.07.09 new view from troubadixx
24.06.09 some new internal changes for a better maintanance,Windview is now working when speed with rearwind is min 15kmh(4Paragliders) and wind is min 2kmh
some helptext in the statusline
15.06.2009 new Hires Analog Vario,nicer better Windview calculates only if speed with rearwind is min 25kmh,better S2F Algo.
01.06.2009 adding Analog Vario.removing redunant Informations,altiview and perfview are gone
21.05.2009 Implementing s2f Computer,tas is not longer calculated on the autowinddetect. 3 new Inputpanels
03.05.2009 first Version |
Hi Thomast, How can I edit the code where the functions are programmed? I need to install hecl?
Thanks you.
RSG.
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Mon Aug 03, 2009 5:30 pm Post subject: |
|
|
Hi Rod,
air.hcl contains the code.
You can edit it with a text editor.
I like notepad++
language set to tcl.
Hecl installation is not neccessery.
Thomas
|
|
| Back to top |
|
 |
rod
Joined: 13 Jul 2009 Posts: 26
|
Posted: Tue Aug 04, 2009 2:29 pm Post subject: |
|
|
| thomast wrote: |
Hi Rod,
air.hcl contains the code.
You can edit it with a text editor.
I like notepad++
language set to tcl.
Hecl installation is not neccessery.
Thomas |
Thanks Thomast. I saw your program. Very great job.
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Tue Aug 25, 2009 3:12 pm Post subject: |
|
|
tb 0.9.88 has new function:
- new: wpt-alt-diff, wpt-alt and wpt-dist available in HECL scripts
so i activate ldreq code.
ldreq shows the glide ratio which is necessary to reach a target.
only if the altitude in the wpt file is set.
otherwise -1
maximum is 99
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Fri Sep 04, 2009 9:43 am Post subject: new version |
|
|
new version,but not much tested.
so i attach the file here for testing.
tested on weekend,made two little changes.
download in the first post.
left of the compass you see the s2f arrow
right of the compass the direction to the wp
top right the altitude in feed.
key 2 are not changing the varioscale,it takeover the windcalc in the s2fcalculator.
varioscale can changed in the settingpanel.
thomas
| Description: |
new version with a arrow to target download in first post. |
|
| Filesize: |
5.31 KB |
| Viewed: |
6202 Time(s) |

|
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Tue Sep 15, 2009 6:03 pm Post subject: |
|
|
Change:
new Wind detecting algorithm which uses less CPU Usage,
(6-8 % instead of 12-18 %)
Technical (if somebody is interested) :
Winddetection works not longer with an Fifo,
so the fifo is only used for Vario / LD-Calulation and my new G-Force CMS
For that i could reduce the Fifo depth from 4x60 to 3x10.
Try it,
Thomas
| Description: |
| Cpu Usage and Powerconsumption new style with small fifo |
|
| Filesize: |
7.58 KB |
| Viewed: |
6018 Time(s) |

|
| Description: |
| Cpu Usage and Powerconsumption old style with big fifo |
|
| Filesize: |
8.27 KB |
| Viewed: |
6018 Time(s) |

|
|
|
| Back to top |
|
 |
nattila
Joined: 21 Sep 2009 Posts: 29
|
Posted: Mon Sep 21, 2009 12:21 pm Post subject: wind test |
|
|
Hi, Have you ever tested or compared the wind dir. and wind speed values with a professional equipmet such as brauniger or else?
thanks.
|
|
| Back to top |
|
 |
nattila
Joined: 21 Sep 2009 Posts: 29
|
Posted: Mon Sep 21, 2009 1:03 pm Post subject: wind test |
|
|
Hi, Have you ever tested or compared the wind dir. and wind speed values with a professional equipmet such as brauniger or else?
thanks.
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Wed Sep 23, 2009 11:04 am Post subject: Re: wind test |
|
|
| nattila wrote: |
Hi, Have you ever tested or compared the wind dir. and wind speed values with a professional equipmet such as brauniger or else?
thanks. |
sometimes(compeo),was not so bad.
while thermaling i fly the most circles,then it can not be precise due the speed changes.
it should be like an assistant.
flying some smooth slow circle and than the time in the statusline shows when the last circle was detected.
thomas
|
|
| Back to top |
|
 |
nattila
Joined: 21 Sep 2009 Posts: 29
|
Posted: Wed Sep 23, 2009 11:28 am Post subject: Re: wind test |
|
|
| thomast wrote: |
| it should be like an assistant. |
It is clear, thank you.
I still haven't tested this CMS in the air, but yesterday I only tried out in my car. I use GlobalTop G66 5hz bluetooth GPS unit with a basic SE K800i phone. After a while (5 or 10 minutes) gauges went crazy. They shown absolutely wrong data. Do you have any idea? Probably the refresh rate is too high, what do you think?
else:
Why don't you show wind dir with an arrow such as wpt. dir.? I think it would be better.
thanks.
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Wed Sep 23, 2009 3:16 pm Post subject: Re: wind test |
|
|
| Quote: |
| I still haven't tested this CMS in the air, but yesterday I only tried out in my car. I use GlobalTop G66 5hz bluetooth GPS unit with a basic SE K800i phone. After a while (5 or 10 minutes) gauges went crazy. They shown absolutely wrong data. Do you have any idea? Probably the refresh rate is too high, what do you think? |
Did you're mouse sending 5pos/sec ?
when yes, it can make problems:
when i set tb to simulation mode and make an "nmea playback"
with timebase 200ms(means 5times faster) i get over 30% cpuload on my "hi end mobile" 6220C.maybe youre mobile is to slow.
did you use the latest version of my cms? the older one use 2 times more cpu.
second reason can be that the timebase is wrong,i sent you my debug cms.(as zip) when you use it in 5hz mode, shows the last line the time in ms.it should change in 200ms steps.did it?
| Quote: |
else:
Why don't you show wind dir with an arrow such as wpt. dir.? I think it would be better. |
like the screenshot?
thomas
| Description: |
|
| Filesize: |
5.66 KB |
| Viewed: |
5828 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
cms.air00.xml.zip |
| Filesize: |
680 Bytes |
| Downloaded: |
67 Time(s) |
|
|
| Back to top |
|
 |
nattila
Joined: 21 Sep 2009 Posts: 29
|
Posted: Wed Sep 23, 2009 6:39 pm Post subject: Re: wind test |
|
|
| thomast wrote: |
| Did you're mouse sending 5pos/sec ? |
yes unfortunately. I use GlobalTop G66.
Usually I use TrackMyJurney http://www.trackmyjourney.co.uk/ with 1sec frame rate (changeable in setup) but that works great also with 5 too, but I don't need it. I love TMJ but TB seems to be better for flying. Especially with your great CMS.
| Quote: |
| did you use the latest version of my cms? |
Yes I did. I saw your optimization on calculating. My air.hcl was created on 09/06/2009 so it's the final edition I think.
| Quote: |
| i sent you my debug cms.(as zip) |
Ok. I downloaded the ZIP. Iam testing it today. thanks
| Quote: |
| like the screenshot? |
SPAM, nice job. that is what I mean.
|
|
| Back to top |
|
 |
rod
Joined: 13 Jul 2009 Posts: 26
|
Posted: Thu Sep 24, 2009 2:49 pm Post subject: Re: wind test |
|
|
Hi Thomast:
Thanks you for your very great theme.
Can you help me with somethings definitions of your works?
In the module air:
what is the meaning of Req LD and GND LD?
Waht is the meaning of S2F Speed to fly?, what is de meaning a arrow forward?
In the module air_input:
What is the meaning of dir, speed, polare and scale?
In the module S2Fview:
What is TAS and S2F?
What is the meaning of vario and neto?
What is the meaning of circle?
Thanks you.
RSG.
|
|
| Back to top |
|
 |
thomast
Joined: 16 Jan 2009 Posts: 101
|
Posted: Thu Sep 24, 2009 5:05 pm Post subject: Re: wind test |
|
|
hi rod,
many questions.
first to say this theme is made for airsport like hanggliding.
there are this normal terms...
| Quote: |
| what is the meaning of Req LD and GND LD? |
ld_req means which glideratio is required to reach the wp.
eg youre alt 2000m, wp alt is 1000m and you are 10 km far away.
so 10000/(2000-1000)=10 is the needet glideratio to reach the target.
ld_gnd means youre glideratio over ground.
eg speed is 10m/s,sinking is 1m/ so ld_gnd is 10.
if ld_gnd is greater than ld_req you reach the target
| Quote: |
| Waht is the meaning of S2F Speed to fly?, |
that is the speed of the best glideratio which depends on wind and downwind.
| Quote: |
| what is de meaning a arrow forward? |
big arrow up means, fly much faster
small arrow means a bit faster
arrow down means the opposite.
circle means speed is ok
What is the meaning of dir, speed, polare and scale?
here you can set winddir and speed and with polare the type of youre glider.scale changes the bar graph scaling.from +-2.5 up to +-10
| Quote: |
| What is TAS and S2F? |
tas is the speed of the air at the wing,normally measured with a pitot but a mobile has none so i calculate that from gps speed.
| Quote: |
| What is the meaning of vario and neto? |
vario show how fast youre glider is going up(thermal) or down.
netto means how fast did the air moving up or down.
| Quote: |
| What is the meaning of circle? |
if the pilot flys some circles,the theme tryes to calcultae the winddirection and the wind speed
i hope that helps
thomas
|
|
| Back to top |
|
 |
rod
Joined: 13 Jul 2009 Posts: 26
|
Posted: Thu Sep 24, 2009 7:43 pm Post subject: Re: wind test |
|
|
Hi Thomast:
Thank you very much for your help.
One last question...
In the module air_input :
I think these parameters (dir and speed wind) should be adjusted at takeoff. What happens if the flight takes long hours and travels a great distance, it is necessary to adjust these parameters again?
And, this theme can be used on sailplanes or airplanes (from the standpoint of Math Model)?
Thanks you.
RSG.
Last edited by rod on Fri Sep 25, 2009 11:34 pm; edited 2 times in total |
|
| Back to top |
|
 |
|
|
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
|