[PSUBS-MAILIST] SCMv2 - Submarine Control Manager

Jon Wallace via Personal_Submersibles personal_submersibles at psubs.org
Sun Apr 3 12:52:34 EDT 2016


Hi David,

Nothing was canned.  About half the icons that represent buttons to 
click on are PNG images that were taken from various free image web 
sites, the rest I had to create, but all required modification to be 
represented the way I wanted them on the display.  The main displays 
(nav display with depth, vrate, and compass), the sensor gauges, 
artificial horizon, are all drawn by software 30 frames per second.  I 
reduced the demo to 5 frames per second which is why it looks a little 
choppy.  Circles and arc's were the biggest challenge for me because of 
the geometric formula's the software uses to produce them.  I haven't 
done algebra or geometry seriously for over 40 years, damn theta!  But 
some youtube geometry videos got me what I needed to get past this.

The overall layout is all custom and rather tedious because placement is 
by pixel.  If you lay down a circle where you think you want it and it's 
off a little bit you have to go back to the code and redefine where you 
want it...repeat until you get it exactly where you want it.  Changing 
resolution is also painful, there is no scaling available.  So if you 
code it for 1200x600 resolution and then decide you want a display that 
only has 800x480 resolution you have to go back in and change the pixel 
placement of everything.

There were numerous software and hardware hurdles to get over. I'm 
planning on talking about this at the convention so will have many 
details there.

Jon


On 4/2/2016 11:52 AM, David Colombo via Personal_Submersibles wrote:
>
> Jon, Great job. We're the graphic elements your design or a canned 
> product. Can't wait to see the finished product.
>
>



More information about the Personal_Submersibles mailing list