                                                                  -*-*- END -*-*-

 2007/06/06 Markus Meyer

   * tpoint/:
     - added tpoint files from Jan. 2007 to June 2007 



 2007/03/14 Thomas Bretz

   * bend.cc, cosy.cc, starg.cc, testse.cc, base/MStarList.cc,
     base/MThread.cc, base/log.h, base/msgqueue.cc, candrv/nodedrv.cc,
     candrv/sdolist.cc, catalog/SlaPlanets.cc, catalog/Slalib.cc,
     catalog/StarCatalog.cc, gui/MGAccuracy.cc, gui/MGCoordinate.cc,
     gui/MGCoordinates.cc, gui/MGCosy.cc, gui/MGNumStars.cc,
     gui/MGSkyPosition.cc, main/MBending.cc, main/MStargHistograms.cc,
     base/coord.h, main/MCaos.cc, main/MCosy.cc, main/MPointing.cc,
     main/MStarguider.cc, main/MTracking.cc, videodev/FilterLed.cc,
     videodev/PixClient.cc, videodev/PngReader.cc, videodev/Writer.cc:
     - replaced obsolete .h by C++ headers
     - added namespace std

   * base/MStarList.h:
     - fixed warnings about overwriting of Delete

   * base/MStopwatch.h, gui/MGCoordinate.h, gui/MGCoordinates.h,
     main/MStarguider.h:
     - fixed warning about overwriting of Print()

   * base/MTimeout.cc, candrv/nodedrv.cc, devdrv/macs.cc,
     tcpip/MCeCoCom.cc:
     - fixed default argument in declaration

   * catalog/StarCatalog.cc, gui/MGAccuracy.cc, main/MCaos.[h,cc],
     main/MCosy.cc, main/MPointing.cc, main/MStarguider.cc,
     main/MTracking.cc:
     - fixed a type problem (int instead of double) 

   * gui/MGCoordinate.cc, gui/MGCosy.cc:
     - fixed a warning about double declaration

   * tcpip/MCeCoCom.h:
     - renamed Send to SendRep

   * tcpip/MDriveCom.cc:
     - replaced Send by SendRep

   * tcpip/MTcpIpIO.cc:
     - added missing return



 2006/11/01 Thomas Bretz

   * tpoint/gui.C:
     - added the horizon
     - got rid of a warning about a TGraph with 0 points in case
       the tpoint-file didn't contain magnitudes.



 2006/07/18 Thomas Bretz

   * base/MStar.h:
     - fixed a really stupid bug in the constructor, which automatically
       converted the magnitudes into ints.



 2006/07/16 Thomas Bretz

   * leds.txt:
     - new values

   * gui/MGCoordinate.cc:
     - increased size of output text to display sign

   * gui/MGCosy.cc:
     - named MACS correctly MACS

   * gui/MGNumStars.cc:
     - changed color for correlated stars from magenta to cyan

   * main/MStarguider.cc:
     - changed starguider angle to -0.2
     - changed pixsize to 48.9
     - update num stars only if starguider is switched on
     - removed bug which caused the rotation angle in fact to
       be always 0
     - reimplemented the algorithm which only takes the n-th brightest
       stars from the catalog if n is the number of detected stars
       (otherwise the catalog might be so crowded with stars that
        one spot is correlated with many catalog stars)
     - decreased the search region for the LEDs
     - some things are not done anymore if not necesarry

   * videodev/FilterLed.[h,cc]:
     - cleaned up
     - changed the interface of the ClusterFinder slightly to
       allow it beeing used for the TPoint spot of the star



 2006/07/16 Daniela Dorner

   * main/MStarguider.[h,cc]:
     - improvement in showing/hiding of parts of the display in the starguider
       window



   * main/MStarguider.cc:
     - fixed bug in setting menu entry for limiting magnitude



 2006/07/14 Thomas Bretz (La Palma)

   * stargleds.txt:
     - changed positions slightly

   * gui/GuiLinkDef.h, gui/Makefile:
     - added MGNumStars

   * gui/MGStars.[h,cc]:
     - addde

   * gui/MGAccuracy.[h,cc], gui/MGStarg.[h,cc]:
     - unified
     - slight changes to layout

   * gui/MGCoordinate.[h,cc], MGCoordinated.[h,cc]:
     - added a new mode which allows to suppress the title

   * gui/MGCosy.[h,cc]:
     - added new status box (armed) currently switched on by default
     - adapted to changes in MGAccuracy
     - disallow changing the size of the window

   * main/MCaos.cc:
     - removed an obsolete Print()

   * main/MCosy.cc:
     - fixed the name of the log-files (2006 instead of 06)

   * main/MStarguider.[h,cc]:
     - implemented new socket to send triggers to Amc (port 7307)
     - changed standard limiting magnitude from 7.0 to 9.0
     - changed layout of display to implement new canvas
       displaying the number of detected and correlated stars
     - adapted to changes in MGStarg
     - added box to change cleaning level of starguider window
     - set default rotation angle to -0.4deg
     - disallow changing of window size
     - CalcTrackingError: check first the number of detected spots 
       and afterwards the number of found catalog stars
     - CalcTrackingError: just try to correlate all spots with all stars
     - decreased box size of LED box in starguider mode
     - replaced circles around starguider pointing position by
       camara size hexagons
     - do not show the starguider pointing position if less than three
       stars could be correlated

   * tcpip/MTcpIpIO.cc:
     - fixed a comparison between "signed and unsigned"

   * videodev/FilterLed.[h,cc]:
     - implemented DrawHexagon based on MGMap::DrawHexagon
     - renamed *Circle to *Box
     - replaced old algorithm to find stars in starguider mode (and
       LEDs) by a new ClusterFinder class
     - needs more maintanance!



 2006/07/11 Thomas Bretz (La Palma)

   * Makefile:
     - changed to support linking with the libmars.so instead
       of compiling a lot of stuff itself

   * Makefile.conf.general:  
     - added -DMARSVER

   * base/BaseLinkDef.h:
     - removed the now obsolete pragma

   * base/Makefile
     - removed the now obsolete files

   * candrv/Makefile, caos/Makefile, catalog/Makefile, 
     videodev/Makefile, devdrv/Makefile, gui/Makefile, 
     main/Makefile, tcpip/Makefile:
     - added the new mars include directory

   * caos/Leds.h, caos/Rings.h:
     - added an overwrite for Print to make the compiler happy

   * catalog/StarCatalog.cc:
     - small improvements to determination of image border 
       by using min- and max-functions

   * gui/MGCoordinate.cc:
     - small improvement to layout

   * gui/MGImage.cc:
     - fixed 16bit-color mode. The encoding was just wrong

   * videodev/Camera.cc:
     - unlock the tread after the broadcast. The reason why it
       is neccessary in root 4.04/02g to make cosy work is
       unknown. Anyhow it makes switching the cameras more robust

   * cosy.cc:
     - updated writing log-files
     - implemented sanity check for batch mode

   * gui/MGAccuracy.cc, gui/MGStarg.cc:
     - use GetabsDev from MAstro
     - scale azimuth deviation to real distance on the sky

   * main/MCosy.[h,cc]:
     - updated writing log-files
     - do no perfect position in case of move'n'track
     - implemented WM_PREPS for predefined positions
     - unified WM_TRACK and WM_GRB
     - updated GetFileName

   * main/MStarguider.cc:
     - undef EXPERT
     - some layout changes
     - set rotation angle of starguider camera to -0.4deg
     - unified FindStar and FindStarCircle
     - updated writing log-files
     - to calc skycenter the X-offset must be subtracted

   * tcpip/MDriveCom.[h,cc]:
     - implemented CommandPREPS
     - implemented CommandARM

   * videodev/FilterLed.[h,cc]:
     - unified FindStar and FindStarCircle
     - fixed algorithm FindStarCircle (it was not working for
       bright stars and didn't take care of the edge of the
       image!)
     - fixed a long outstanding bug which accessed some memory
       outside the image due to a wrong logical condition



 2006/07/11 Daniela Dorner

   * main/MStarguider.[h,cc]:
     - implemented function to disable and uncheck an entry in the menu

   * main/MStarguider.cc:
     - fixed bugs in (un)checking and en/disabeling items
     - removed not needed if-clauses
     - rearranged menu



 2006/07/10 Thomas Bretz (La Palma)

   * slalib/dat.c:
     - added leap second from 1st January 2006



 2006/06/29 Thomas Bretz

   * main/MStarguider.cc:
     - fixed a bug which gave a starguider mispointing which was wrong
       by the pointing position.
     - fixed also the position of the displayed rings wrt to the catalog
       sky

   * catalog/StarCatalog.cc:
     - replaced some Float_t by Int_t



 2006/06/28 Thomas Bretz

   * main/MStargHistograms.[h,cc]:
     - removed Center in units of Zd, Az

   * main/MStarguider.cc:
     - removed obsolete and dangerous sgcenterzdaz
     - do not display the sky-centered rings if sky-center is invalid
       (LEDs not detected)
     - rais error in this case and send error state to CC
     - added lower brighness limit of 30
     - do not write pointingpos.txt and tracking_error.txt anymore

   * caos/Ring.h:
     - added Setter SetXY

   * catalog/StarCatalog.cc:
     - fixed that when checking for the region in which stars will
       be searched only the y- but not the x-offset has been taken into
       account
     - added a small region around the region of interest because 
       the catalog position of visible stars might be out of the
       search region
     - commented out an obsolete function



 2006/05/10 Thomas Bretz

   * main/MStarguider.cc:
     - fixed an error returning the correct value in CalcTrackingError
     - added new value to Starguider report

   * tcpip/MDriveCom.[h,cc]:
     - added new value to starguider report


   
 2006/03/23 - Daniela Dorner, Thomas Bretz

   * main/MStarguider.[h,cc]:
     - changed starguider algorithm



 2006/03/19 - Daniela Dorner

   * main/MStargHistograms.cc:
     - changed name of tree from CaOs to Starg

   * leds.txt, stargleds.txt:
     - added new leds

   * main/MCosy.cc:
     - changed name of tpoint-files, which are written from Cosy, from
       tpoint*.txt to old-tpoint*.txt

   * main/MStarguider.[h,cc]:
     - added StarguiderTpoint Button
     - included 2 new variables to allow for the implementation of 
       StarguiderTpoints
     - added writing of StarguiderTpoints to the function CalcTrackingError
     - StarguiderTpoints are written to tpoint/starg_*.txt
     - Tpoints are wriiten to tpoint/tpoint_*.txt
     - added pulldown Mode to Menu
     - cleaned Menu (removed not needed items, rearanged place of items
     - removed expertmode
     - implemented Tpoint- and Starguider-Mode (switches all needed item)
       put some code into functions therefor
     - implemented releasing of button, if no tpoint can be taken
     - fixed small bugs in (un)checking items
     - removed starguider analyis (writing root-files) from starguider mode to 
       stabilize the code 
     - added 'fGetter->ExitLoop()' before each 'delete fGetter'
     - added SetDirectory(0) for histogram in starguider



 2006/03/11 - Daniela Dorner

   * tpoint/bending051124.txt:
     - added 



 2005/08/29 - Daniela Dorner

   * main/MStarguider.cc, tcpip/MDriveCom.[h,cc]:
     - added to variables to the Starguider report



 2005/08/22 - Thomas Bretz

   * candrv/nodedrv.cc, main/MTracking.cc:
     - fixed usage of MTime (MTime(-1) instead of MTime())



 2005/08/22 - Thomas Bretz

   * caos/Ring.[h,cc]:
     - added a sanity check for the case a led entry == NULL

   * caos/Rings.[h,cc]:
     - code cleanup
     - added a sanity check to CalcRings

   * devdrv/shaftencoder.h:
     - added new member function GetPosDirCorrected
     - added new member function GetOffsetDirCorrected

   * main/MStarguider.cc:
     - set number of minimum required LEDs for the ring calculation
       to 3. With two LEDs you can NEVER calculate a ring!
     - added another sanity check in FindStars

   * main/MTracking.cc:
     - replaced ?:-operators by new functions Get*DirCorrected
     - made sure that if both directions have changed the reset
       really causes the correct values to be used immediatly!
     - added some code for future use



 2005/07/28 - Florian Goebel

   * videodev/FilterLed.[cc,h]
     - add GetMeanPositionCircle and FindStarCircle
 
   * devdrv/shaftencoder.[cc,h]
     - add: fDirHasChanged, fDirChangedPos, fDirChangedOffset,
            fDirection, fHysteresisPos, fHysteresisNeg

   * main/MCosy.cc
     - set faster acceleration and Velocity parameters in TrackPositionGRB

   * main/MPointing.cc
     - correct bug which always set speed to LO-SPEED

   * main/MStarguider.[cc,h]
     - add new Popup "Operation" (functionality is not ready yet)
     - add new procedure: FindRoqueLamp
     - in MStarguider::FindStar now use Leds::FindStarCircle 
       (instead of Leds::FindStar)

   * main/MTracking.cc
     - calculate DirHasChanged etc.



 2005/04/11 - Thomas Bretz

   * main/MTracking.cc:
     - allow to send velocity and request position twice
     - enhanced some debugging output

   * candrv/network.[h,cc]:
     - implemented PrintError

   * candrv/nodedrv.[h,cc]:
     - implemented new argument (zombie) to WaitForSdo which allows
       to mark a missing CANbus message as non-critical



 2005/03/21 - Thomas Bretz

   * tcpip/MDriveCom.[h,cc]:
     - added a missing white space behind the brightness and
       fixed the wrong units of Zd/Az in the starguider report



 2005/03/17 - Thomas Bretz

   * main/MCosy.[h,cc]:
     - implemented WM_GRB and TrackPositionGRB for GRB mode

   * main/MStarguider.cc:
     - added 'status' to FINDSTAR-REPORT
     - send STARG-REPORT only if Starguider is switched on
     - enhanced output in starguider report

   * tcpip/MCeCoCom.cc:
     - tried to backengineer the CC-REPORT because it is not documented
       in the CC TDAS
     - changed critical values for windspeed from 10/20/30 to 30/40/50

   * tcpip/MDriveCom.[h,cc]:
     - implemented handling of GRB command
     - enhanced SendStargReport. Starguider Report now:
       misszd[%05.3f] missaz[%05.3f] 
       nomzd[%c %03d %02d %03d] nomaz[%c %03d %02d %03d]
       centerx[%05.1f] centery[%05.1f] n[%04d]
       bright[%03.1f] mjd[%12.6f]
