Some very simple ham radio software for OS X - Can anyone help?

Hmm will have to have a look into that :/ I'll compile a known pascal command line program and use that to drive a accuracy unit test for all locations automatically. Should sort out if it's my maths or the UI not clearing if it rejects the calculation for some reason.
 
Last edited:
Ok, sorted a few issues:

1. Longtitude, Latitude and bearing now correct vs US Naval code - unit tests for all grid locations and bearings from a home location. There was a + instead of a - and the value given 109 vs 251 is actually 360-109=251 but that's corrected to true bearings.
2. Corrected a preferences issue (displayed it but didn't set the home location due to using NIB files to create objects)
3. Missing long/lat variable initialisation (quite how both I and the compiler missed that one)

Still have the following to nail:
1. When copy and pasting you can paste a non QTH into it..
2. clearing the results on invalid numbers (related to 1)
 
Last edited:
Hokay, the only other thing I'd like in yours Rob is a nice spanky icon :)

I applied this one

icon-20100531-131422.png


Which I got from the bottom of this page, but although it appears in my applications menu correctly I only have the standard Java icon in my dock. It's a minor thing but I'd be nice if the same icon could show in the dock.

java-20100531-131603.png


Nick, I'm still interested in yours if you can finish the project, especially if you manage to make it work through Spotlight as that would be fantastic.

With the DX season coming into play, I'm using Robs all the time now - It's open along with UTC clock and my DXCluster client all the time, it's very useful indeed.
 
The icon was the easy bit..

The problem is that my reference naval code is not behaving according to the reference data also provided, here are the azimuth tests:

r = 195.804958, exp=195.804944
r = 295.289129, exp=295.289028
r = 84.686484, exp=85.619611
r = 195.804958, exp=195.804583
r = 300.771008, exp=295.288472
r = 85.619687, exp=85.620083

And the document, bit at the back... http://www.dtic.mil/cgi-bin/GetTRDoc?AD=AD703541&Location=U2&doc=GetTRDoc.pdf you've got to love the fact that the code is August 1968.. that's 5 years older than me!

This could be down to many things (part of my degree is numberical computation). I'll accept accuracy to two decimal places but look at #3 and #5 are the major concerns.
 
Last edited:
OK, this is a really long shot after five years but I've installed a vanilla version of Yosemite with JDK v8 update 31 (1.8.0_31-b13) and when I try and run Rob's QTH Calc, I get the following error:

java-20150405-182451.png


I really don't want to have to install the older version of Java so I wonder if there's any way this can be updated to work with the version I have?

I've dropped Rob a trust message to ask.
 
There may be a command line way of doing a compatibility flag that ignores the runtime reqs.

Not used java for .. well 2005/6 :)
 
Right then, three years later and @RobH I wonder if there's any chance of this ever working again? I'd love to be able to use it but it still doesn't work. I do appreciate that it's been over eight years since this was written so there's probably not a lot of hope but it can't hurt to ask.
 
@Feek Do you have a copy of the JAR you could send me? I have some source code but it appears to be from an earlier version, I might be able to reverse engineer it to see what's missing.

Thanks
 
@Feek How important is the window transparency feature? Looks like the changes some stuff in JDK7, got it working on Windows but it doesn't seem to be supported on OS X (transparency that is).
 
Back
Top Bottom