The Don Pedro Project & Oliv Cool Stuff Soft present...

All the sources are presented here using Ant.
All software written in Java. As such, you must have Java installed on your machine to run those programs, it is easy and free.


Content


CelestJava

Celestial Algorithms. Ephemerides calculation and publication. Mostly based on Jean MEEUS' "Astronomical Algorithms".
Warning:

The source link returns only the Java sources.
The Binaries will also contain a bunch of script that would only work on Windows NT, 2000, and XP.
I'm in the process of writing the same scripts for Linux.
The fop engine - that turns XML into pdf - is not to be distributed, and does NOT come with an Apache license. See vendor for details.
The script to start is the one called celest.bat. It will lead you to a menu.


Requires

Several Utilities

All delivered with Ant. All the downloads below include the ant build-file, and there is a master one. You might need to modify those build-files, according to your environment. You'll figure it out. If you don't, drop me a line...

GeomUtil, Version 1.0

Rhumbline and great circle calculations, decimal to sexagesimal (DMS), sexagesimal (DMS) to decimal, all kind of numeric/string renderings, etc.
Download.

NMEA Parser, Version 1.0

Reads an NMEA feed (Serial Port, RS-232), returns the full sentences you've subscribed to (Observer Design Pattern), and parses them to return actual data (Latidude and Longitude, Boat Speed, Heading, Course over Ground, etc).
Requires the Java Comm API (free).
Download.
Requires

Chart Components, Version 1.1

Core functions for graphical chart rendering, for Anaximandre, Mercator, Lambert projections management, canvas scrolling, zoom, etc.
Geographical coordinates to canvas, and vice-versa.
Many, many things in there, including a lot of examples and reusable snippets of code.

Download.
Requires

NMEA Data Viewer, Version 1.0

Uses the NMEA Parser (above), and displays all the read sentences in a Swing JTable.
Useful if you want to know what your NMEA device is spitting out.
Requires the NMEA Parser, and the Comm API.

Download.

NMEA HTTP Data Logger, Version 1.0

Uses the NMEA Parser (above), and logs the read data on the file system.
You have to subscribe to the sentences you want to log, in a configuration file, before running the software.
Also provides the possibility to re-broadcast the NMEA output on HTTP, allowing other application to read and use the same data.
This addresses the problem of having several applications expecting NMEA data. Usually, they come on only one port, accessed exclusively, which can be a problem.
This application is acting as an HTTP server, which can be pinged with this protocol by any other application - like a browser - to get the data read from the NMEA bus, and already formatted (ASCII, or XML).
Notice on the image the http port used for rebroadcasting the data.
Notice the check box, for rebroadcasting. No data is broadcasted until it's checked.

Download.

Examples

Access from an http browser, on the port mentionned above. Type http://localhost:6666/.
Help, from the browser; type http://localhost:6666/help.
From telnet, entering the following commands:
 Prompt > telnet localhost 6666
 GET /longitude 			      
			      

Some Widgets

Plugged on the above, ping the HTTP server url, and display the data in a neat and cool way.
Possibilities are endless...
Displays the data from the NMEA HTTP server, in a formatted way.
Displays the COG, HDG, or TWD.
Displays the local (solar) time at your current longitude, read from the GPS. It converts your longitude into time, and the adds or substracts it from GMT.

Some Applications

SailFax, utility for GetFax, generation of SkedFile.txt

Available for download soon, see how it works.

GRIB, Faxes & charts, Version 0.8

With some routing capabilities.
Requires the JGrib archives.
Download the manual, for now.

NMEA Data Logging Dashboard

On another page.


The Don Pedro Project