[PATCH] Ignore heading event

Krzysztof Arentowicz karent.bug at gmail.com
Thu Jul 3 10:41:18 PDT 2014


W dniu 03.07.2014 19:11, Tomaz Canabrava pisze:
> 
> Em 03/07/2014 13:59, "Krzysztof Arentowicz" <karent.bug at gmail.com <mailto:karent.bug at gmail.com>> escreveu:
>>
>> Address #586 by disabling drawing a dive flag pixmap for heading events.
>>
>> I think the best way to visualize heading information is to add a
>> separate graph similar to wind direction in this weather forecast:
>> http://www.meteo.pl/index_en.php
>> but this is beyond my ability.
> 
> Its not beyond mine, but I didnt understand what you mean, can you explain to a Non diver what you means by thst só I can try to implement?

I was hoping that this would get your attention.
Take a look at files attached to #586 - each sample carries a compass heading data.

You could add a separate graph between depth and temperature.
The way I think this should look is like wind direction graph on this:
http://www.meteo.pl/um/php/meteorogram_list.php?ntype=0u&fdate=2014070312&row=346&col=210&lang=en&cname=Gdansk
but with arrows of variable length.

You cannot draw an arrow for each heading sample, they would be too dense unless user zooms in on the graph.
So there should be some clever averaging going on.  You could put an arrow every X pixels (which means a range of Y seconds, depending on zoom level) so this
arrow represents average heading during these Y seconds.
You can treat headings as vectors in polar space (with lenght == 1) and add them all together to get direction and length of the arrow you want to plot.


> 
>> Thanks,
>> Krzysiek
>>
>> _______________________________________________
>> subsurface mailing list
>> subsurface at hohndel.org <mailto:subsurface at hohndel.org>
>> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>>
> 


More information about the subsurface mailing list