Rikard & Henrik Bjorkman's Chart Plotter Version 0.0 Created by Henrik Bjorkman 1998-05-31 Version 0.1 Classes are now part af a package. Henrik 1998-06-01 ChartPlotter can change charts. Henrik 1998-06-02 Version 0.2 Enhanced chart calibration, 3-points. Rikard 1998-06-04 Sometimes image method getWidth returned -1. Probably because the image was not yet loaded. Now we wait until it is not -1. Henrik 1998-06-04 Version 0.3 Added north south east west borders to be used to set for witch positions a chart shall be used. Henrik 1998-06-09 Version 0.4 Doing flush on images. Otherwise we ran out of memory. Henrik 1998-06-15 Version 0.5 A forth reference point can now be used to check the other 3 reference points. Henrik 1998-06-17 The NmeaReceiver don't need to call the ChartThread any more instead ChartThread calls the waitForPos function in NmeaReceiver. Henrik 1998-06-18 Version 0.6 Major clean up. Henrik 1998-06-20 Trying to predict speed and direction. Henrik 1998-06-23 Improved prediction. Made the mark red and added a blue trace. Henrik and Rikard 1998-06-24 Writing chart name and position in window title. Henrik 1998-06-27 Version 0.7 Made the red circle thicker. Henrik 1998-06-28 Made a circle of 50 meter radius. Rikard 1998-07-24 Version 0.8 An error message is now printed if configuration data is missing for a chart. The circle added 24/7 to indicate precision is now 100m. The chart data file can now have includes to other chart data files. Henrik 1998-10-23 Added time of day to the log printout. Henrik 1998-10-26 NmeaReceiver does notify on ChartThread so that ChartThread can wait for multiple input sources. NmeaReceiver takes position also from GPRMC so that position can be updated more often. 1998-10-30 1998-12-02 Prints a warning if not WGS 84. Position is now always written with 3 decimals. Henrik A "/" can now be used as separator in directory names on both windows and unix so that the same data files can be used under both windows and unix. Moved all classes to their own files. The program can now both handle the case using Java communication API and not using that API. Henrik 1999-06-20 Version 0.9 Clean up. Henrik 1999-06-22 Version 0.10 Now using Java Communications API 2.0 Henrik 1999-07-10 Added an error message if Lat/Lng parse failed. Henrik Bjorkman 1999-08-07 Version 0.11 The blue trace line is now rewritten when changing chart or when the window is rewritten. Henrik 1999-08-13 Version 0.12 The trace line is now saved in a log file when closing the Chart plotter window. Henrik 1999-08-27 It is now possible to have two windows with different charts. Henrik 1999-09-04 1999-09-13 Adding functions to make it possible to move around in the maps by clicking with the mouse. Henrik 1999-09-15 Changed timeout handling so that the program will react faster to mouse clicks. Henrik 1999-09-19 Doing setVisible to hide ChartComp while changing chart and to show it again after change. Perhaps this solved the problem with image not getting updated compleatly. Henrik On Windows 98 (with JDK 1.1.6) the program sometimes freezes (hangs). It don't happen often. It has not happend when testing at sea. It happens when I have the GPS in simulator mode and run back and forth in 200 knots crossing over several charts. Don't know why this happens. Since all threads seems to be frozen I think it is not in the ChartPlotter but in JDK or Win98. When I tested it on Win95 it happend there also. I will try JDK 1.1.8 to see if it works better. Yes! It seems so. No. There was is still a hanging problem. With Win 98 and JDK 1.1.8 the program sometimes hangs after a few hours. It is still possible to close the chart window but the chart thread does not notice this. A lead to find this bug is that I think it has something to do with that I changed the timeout in the call to wait in method waitForPos in class ChartThread from 5000 to 300. I need to do more testing. If you have this problem please try changing this from 300 to 5000 to see if it works better. It could also be some power savings or screen saver so try turn such things of too. Version 0.13 I changed the timeout in waitForPos back to 5000. If Communication API is not found the program will no longer try to set baudrate. It will only tell user how to do it. Henrik 1999-09-29 22:39:57 59N27.506 18E50.345 70.0 4.0 (889,998) 22:40:37 59N27.521 18E50.427 70.0 4.0 (898,994) 22:41:17 59N27.536 18E50.509 70.0 4.0 (907,991) Saving log file: ChartPlotter.log java.lang.NullPointerException at se.beod.henrik.nav.ChartComp.drawCross(Compiled Code) at se.beod.henrik.nav.ChartComp.plottPos(Compiled Code) C:\charts> To do ===== En ny class för att läsa filer, räkna radnummer och hoppa över kommentarer. Rita ut gränserna för en karta. Kunna läsa in en log fil i ChartPlottern. Pos klassen kunde kanske ha flaggor som talar om vilka uppgifter som är giltiga. 0.14 Now using a new class to read files and take care of include statements. Henrik 1999-10-09 0.15 With these switches: java ChartPlotter -rKE-24_timmars1-2000.log -f -t It is now possible to view a saved trace file. Henrik 2000-06-04 Changed package name to chartplotter_package. Henrik 2000-06-13 0.16 Added Rikards function for calculating distance and bearing to a the position of a mouse click. Henrik 2000-11-21