| 1 | -*-*- END -*-*- | 
|---|
| 2 |  | 
|---|
| 3 | 2004/09/05 - Robert Wagner (La Palma) | 
|---|
| 4 |  | 
|---|
| 5 | * main/MStarguider.[cc,h] | 
|---|
| 6 | - Start commissioning of a star guider for MAGIC. | 
|---|
| 7 | - Display misspointing with an MGStarg object | 
|---|
| 8 | - Rename the two video channels to "Starfield Camera" and "TPoint Camera" | 
|---|
| 9 | - Swapped IDs of video channels, since a reset (errno=5) of video card | 
|---|
| 10 | changes to channel #0 | 
|---|
| 11 | - Rearranged menu structure, added starguider relevant items: Starguider | 
|---|
| 12 | LED finder, Starguider FindStar (FindStar analysis of star on curtain | 
|---|
| 13 | for crosschecks and calibration), Starguider Analysis (write relevant | 
|---|
| 14 | data to ROOT trees), Starguider (Starguider analysis of starfield | 
|---|
| 15 | picture) | 
|---|
| 16 | - Rearranged GUI displays, added displays to show misspointing, | 
|---|
| 17 | misspointing from FindStar algorithm, sky brightness | 
|---|
| 18 | - Acquisition of center of the PMT camera from applying Caos algorithm | 
|---|
| 19 | to the three LEDs visible in the starfield camera | 
|---|
| 20 | - Acquisition of sky brightness (average CCD pixel content in Starfield) | 
|---|
| 21 | and comparison to last sky brightness | 
|---|
| 22 | - MStarguider::TrackingError(): Modified histogram binning to enhance | 
|---|
| 23 | excess | 
|---|
| 24 | - MStarguider::FindStar(): Now returns position of found star as ZdAz | 
|---|
| 25 | - MStarguider::FindStar(): Cut and ROI box can now handed over as i | 
|---|
| 26 | parameters | 
|---|
| 27 | - MStarguider::FindStar(): Scale factor to compensate for different FOV | 
|---|
| 28 | (TPoint camera vs. Starfield camera) | 
|---|
| 29 | - MStarguider::ProcessFrame(): Modified structure to accomodate Starguider | 
|---|
| 30 | algorithm and tools: 1) Find Center of PMT camera, find Star (if | 
|---|
| 31 | activated) | 
|---|
| 32 | to obtain misspointing found from PMT camera. | 
|---|
| 33 | - Set ROI for starfield in space not occupied by the PMT camera in the | 
|---|
| 34 | starfield camera FOV | 
|---|
| 35 | - Calculate star positions and draw stars only in that ROI | 
|---|
| 36 | - fStatus variable contains status of starguider (Error, Monitoring, | 
|---|
| 37 | Standby) | 
|---|
| 38 | - Draw representation of MAGIC's FOV on starfield | 
|---|
| 39 | - Send STARG-REPORTS unconditionally by using MDriveCom::SendStargReport | 
|---|
| 40 | - Add Ra/Dec in filename when writing pictures | 
|---|
| 41 | - Introduced #define EXPERT to allow for debug output | 
|---|
| 42 | - tracking_*.txt is only produced in case of EXPERT mode | 
|---|
| 43 |  | 
|---|
| 44 | * tcpip/MTcpIpIO.[h,cc], tcpip/MCeCoCom.[h,cc] | 
|---|
| 45 | - added option force to MTcpIp::Send() which forces sending | 
|---|
| 46 | of message | 
|---|
| 47 |  | 
|---|
| 48 | * tcpip/MDriveCom.[h,cc] | 
|---|
| 49 | - added MDriveCom::MSendStargReport() | 
|---|
| 50 |  | 
|---|
| 51 | * stars.txt | 
|---|
| 52 | - added Albiero (3.08), Iota Pegasi (3.49), Tarazed (2.72), | 
|---|
| 53 | Unukalhay (2.65) | 
|---|
| 54 | - corrected wrong position of Capella (0.08) | 
|---|
| 55 |  | 
|---|
| 56 | * gui/MGStarg.cc, gui/MGStarg.h gui/GuiLinkDef.h gui/Makefile | 
|---|
| 57 | - added GUI element similar to MGAccuracy to display | 
|---|
| 58 | misspointing. | 
|---|
| 59 |  | 
|---|
| 60 | * stargleds.txt | 
|---|
| 61 | - List of location of LEDs visible in starfield camera picture | 
|---|
| 62 |  | 
|---|
| 63 | * main/MStargHistograms.[cc,h], main/Makefile, main/MainLinkDef.h | 
|---|
| 64 | - Filling trees with Starguider analysis relevant data | 
|---|
| 65 |  | 
|---|
| 66 | * caos/Led.h | 
|---|
| 67 | - added Setters SetX(), SetY() | 
|---|
| 68 |  | 
|---|
| 69 | * main/MCosy.h | 
|---|
| 70 | - added *GetDriveCom(), returns pointer to MDriveCom object | 
|---|
| 71 |  | 
|---|
| 72 | * starg.cc | 
|---|
| 73 | - corrected typo | 
|---|
| 74 |  | 
|---|
| 75 | * prepos_magic.txt | 
|---|
| 76 | - changed Park and Camera Access position coordinates | 
|---|
| 77 |  | 
|---|
| 78 | * caos/Rings.[cc,h] | 
|---|
| 79 | - minimum number of required LEDs can be set via | 
|---|
| 80 | SetMinNumberLeds(), default is 5 | 
|---|
| 81 |  | 
|---|
| 82 | * main/MCaos.[cc,h] | 
|---|
| 83 | - possibility to set size of box and cut in MCaos::Run() | 
|---|
| 84 | - possibility to specify maximum and minimum acceptable ring | 
|---|
| 85 | radius | 
|---|
| 86 |  | 
|---|
| 87 | * catalog/StarCatalog.[cc,h] | 
|---|
| 88 | - possibility to narrow field of view in CalcStars | 
|---|
| 89 | - possibility to offset origin of FOV in CalcStars | 
|---|
| 90 | - CalcStars and DrawStars flip the field in x direction | 
|---|
| 91 | defaultwise | 
|---|
| 92 | - CalcStars adds only stars visible in the chosen FOV to | 
|---|
| 93 | the star list | 
|---|
| 94 |  | 
|---|
| 95 | * videodev/FilterLed.[cc,h] | 
|---|
| 96 | - Added possibility to return average brightness found in | 
|---|
| 97 | chosen FOV | 
|---|
| 98 |  | 
|---|
| 99 | * videodev/Writer.[cc,h] | 
|---|
| 100 | - Ra/Dec in filename when writing pictures | 
|---|
| 101 |  | 
|---|
| 102 |  | 
|---|
| 103 |  | 
|---|
| 104 | 2004/08/23 - Thomas Bretz | 
|---|
| 105 |  | 
|---|
| 106 | * videodev/FilterLed.cc: | 
|---|
| 107 | - tried to fix a possible crash in FindStar. Maybe the edges | 
|---|
| 108 | exceeded the area of the image in memory | 
|---|
| 109 |  | 
|---|
| 110 |  | 
|---|
| 111 |  | 
|---|
| 112 | 2004/08/16 - Thomas Bretz | 
|---|
| 113 |  | 
|---|
| 114 | * tpoint/gui.C: | 
|---|
| 115 | - implemented TGFSFileDialog for reading and writing bending.txt | 
|---|
| 116 | - plot deviations vs Magnitude | 
|---|
| 117 |  | 
|---|
| 118 |  | 
|---|
| 119 |  | 
|---|
| 120 | 2004/08/12 - Thomas Bretz | 
|---|
| 121 |  | 
|---|
| 122 | * tpoint/gui.C: | 
|---|
| 123 | - implemented TGFSFileDialog for reading the star data | 
|---|
| 124 |  | 
|---|
| 125 |  | 
|---|
| 126 |  | 
|---|
| 127 | 2004/08/05 - Thomas Bretz | 
|---|
| 128 |  | 
|---|
| 129 | * main/MStarguider.cc: | 
|---|
| 130 | - on request of the shift-crew I have changed the find-star cut | 
|---|
| 131 | from 3.0 to 3.5 | 
|---|
| 132 |  | 
|---|
| 133 |  | 
|---|
| 134 |  | 
|---|
| 135 | 2004/06/28 - Thomas Bretz | 
|---|
| 136 |  | 
|---|
| 137 | * caos/Ring.[h,cc]: | 
|---|
| 138 | - added magnitude fMag | 
|---|
| 139 | - added interpolation of magnitude | 
|---|
| 140 |  | 
|---|
| 141 | * main/MStarguider.cc: | 
|---|
| 142 | - added output of magnitudes | 
|---|
| 143 |  | 
|---|
| 144 | * tpoint/gui.C: | 
|---|
| 145 | - implemented comment lines | 
|---|
| 146 | - changed layout of output | 
|---|
| 147 |  | 
|---|
| 148 |  | 
|---|
| 149 |  | 
|---|
| 150 | 2004/06/01 - Thomas Bretz | 
|---|
| 151 |  | 
|---|
| 152 | * Makefile.conf.linux: | 
|---|
| 153 | - removed obsolete -Wtraditional and -Wnested-externs | 
|---|
| 154 |  | 
|---|
| 155 | * caos/Leds.h: | 
|---|
| 156 | - added empty Add(TObject*) function for correct overload | 
|---|
| 157 |  | 
|---|
| 158 | * main/MBending.cc: | 
|---|
| 159 | - added MAGIC1 as a hysteresis | 
|---|
| 160 |  | 
|---|
| 161 | * main/MCosy.cc: | 
|---|
| 162 | - added header to drive report | 
|---|
| 163 |  | 
|---|
| 164 | * main/MCosy.h: | 
|---|
| 165 | - added getter-function to GetOutRep (used in FindStar) | 
|---|
| 166 |  | 
|---|
| 167 | * main/MStarguider.cc: | 
|---|
| 168 | - added Output to report file | 
|---|
| 169 | - added output of Star-Offset in pixels | 
|---|
| 170 |  | 
|---|
| 171 | * main/MTracking.cc: | 
|---|
| 172 | - removed some 'unused variable' | 
|---|
| 173 |  | 
|---|
| 174 | * tcpip/MTcpIpIO.cc: | 
|---|
| 175 | - removed nonsense setting of eGui when writing to the report file | 
|---|
| 176 |  | 
|---|
| 177 | * tpoint/gui.C: | 
|---|
| 178 | - enhanced display | 
|---|
| 179 |  | 
|---|
| 180 |  | 
|---|
| 181 |  | 
|---|
| 182 | 2004/05/15 - Thomas Bretz (La Palma) | 
|---|
| 183 |  | 
|---|
| 184 | * Makefile: | 
|---|
| 185 | - added MGMenu links | 
|---|
| 186 |  | 
|---|
| 187 | * bending_magic.txt: | 
|---|
| 188 | - last calculated pointing model (still has the hysteresis | 
|---|
| 189 | problem) | 
|---|
| 190 |  | 
|---|
| 191 | * cosy.cc: | 
|---|
| 192 | - moved camera stuff to MStarguider | 
|---|
| 193 | - added channel selection | 
|---|
| 194 |  | 
|---|
| 195 | * base/BaseLinkDef.h: | 
|---|
| 196 | - updated | 
|---|
| 197 |  | 
|---|
| 198 | * base/MString.[h,cc]: | 
|---|
| 199 | - removed (now in Mars) | 
|---|
| 200 |  | 
|---|
| 201 | * base/MThread.h, candrv/network.h, candrv/nodedrv.h, | 
|---|
| 202 | candrv/vmodican.h, devdrv/macs.h, videodev/Camera.h: | 
|---|
| 203 | - changed ifndef | 
|---|
| 204 |  | 
|---|
| 205 | * base/Makefile: | 
|---|
| 206 | - updated | 
|---|
| 207 |  | 
|---|
| 208 | * candrv/nodedrv.cc: | 
|---|
| 209 | - added cast to MTime | 
|---|
| 210 |  | 
|---|
| 211 | * candrv/vmodican.cc: | 
|---|
| 212 | - changed priority from 10 to 1 | 
|---|
| 213 |  | 
|---|
| 214 | * caos/Led.cc, caos/Ring.cc: | 
|---|
| 215 | - changed Form to MString | 
|---|
| 216 |  | 
|---|
| 217 | * caos/Makefile: | 
|---|
| 218 | - added include base | 
|---|
| 219 |  | 
|---|
| 220 | * caos/Ring.[h,cc]: | 
|---|
| 221 | - added arguments to constructor | 
|---|
| 222 |  | 
|---|
| 223 | * catalog/CatalogLinkDef.h, catalog/Makefile: | 
|---|
| 224 | - removed SaoFile | 
|---|
| 225 |  | 
|---|
| 226 | * catalog/Slalib.cc: | 
|---|
| 227 | - removed some obsolete code | 
|---|
| 228 |  | 
|---|
| 229 | * catalog/StarCatalog.cc: | 
|---|
| 230 | - added a size check for the bitmap | 
|---|
| 231 |  | 
|---|
| 232 | * devdrv/macs.cc: | 
|---|
| 233 | - no guarding for the moment | 
|---|
| 234 |  | 
|---|
| 235 | * devdrv/shaftencoder.[h,cc]: | 
|---|
| 236 | - added code to communicate with the Macs | 
|---|
| 237 |  | 
|---|
| 238 | * gui/GuiLinkDef.h, gui/Makefile: | 
|---|
| 239 | - removed MGVelocity | 
|---|
| 240 |  | 
|---|
| 241 | * gui/MGCosy.[h,cc]: | 
|---|
| 242 | - added weather data to display | 
|---|
| 243 | - added image of the camera to window | 
|---|
| 244 | - removed velocity from window | 
|---|
| 245 | - replaced Form by MString | 
|---|
| 246 |  | 
|---|
| 247 | * main/MBending.cc: | 
|---|
| 248 | - changed handling in GetAnAw - Hopefully correct??? | 
|---|
| 249 | the old handling gave problems | 
|---|
| 250 |  | 
|---|
| 251 | * main/MCosy.[h,cc]: | 
|---|
| 252 | - added SetTrackingPosRE | 
|---|
| 253 | - display interpolated position when tracking | 
|---|
| 254 | - added SetMotor calls | 
|---|
| 255 |  | 
|---|
| 256 | * main/MStarguider.[h,cc]: | 
|---|
| 257 | - added code to find star in the display | 
|---|
| 258 | - added corresponding menus | 
|---|
| 259 | - added code to support more than one ccd channel | 
|---|
| 260 |  | 
|---|
| 261 | * main/MTracking.[h,cc]: | 
|---|
| 262 | - complete change to the algorithm. The position which is | 
|---|
| 263 | send to CC need still some investigations. For more information | 
|---|
| 264 | look at the code. The main difference is that the motor | 
|---|
| 265 | encoders are taken better into account which fixes the SE | 
|---|
| 266 | handling on the elevation axis | 
|---|
| 267 |  | 
|---|
| 268 | * main/MainLinkDef.h, main/Makefile: | 
|---|
| 269 | - added MPointing | 
|---|
| 270 | - added MTracking | 
|---|
| 271 |  | 
|---|
| 272 | * tcpip/MCeCoCom.[h,cc]: | 
|---|
| 273 | - added alarm counter | 
|---|
| 274 |  | 
|---|
| 275 | * tcpip/MTcpIpIO.cc: | 
|---|
| 276 | - do not write to output file if stream is locked | 
|---|
| 277 |  | 
|---|
| 278 | * tpoint/gui.C: | 
|---|
| 279 | - fixed display so that it perfectly shows north, east, ... | 
|---|
| 280 | - added error for residual | 
|---|
| 281 | - simplified residual algorithm | 
|---|
| 282 | - read new files | 
|---|
| 283 | - changed displaying deviations a bit | 
|---|
| 284 | - display result in the display (preliminary) | 
|---|
| 285 | - set gIgnoreLevel to suppress strange color warnings | 
|---|
| 286 |  | 
|---|
| 287 | * videodev/FilterLed.cc: | 
|---|
| 288 | - use MGMap for drawing... | 
|---|
| 289 |  | 
|---|
| 290 |  | 
|---|
| 291 |  | 
|---|
| 292 | 2004/05/15 - Thomas Bretz (La Palma) | 
|---|
| 293 |  | 
|---|
| 294 | * .cosyrc_magic: | 
|---|
| 295 | - updated with some comments | 
|---|
| 296 |  | 
|---|
| 297 | * Makefile: | 
|---|
| 298 | - added many more links necessary for current make | 
|---|
| 299 | (should be replaced by libmars.so in the future) | 
|---|
| 300 |  | 
|---|
| 301 | * Makefile.conf.general: | 
|---|
| 302 | - added GX11 and HistPainter | 
|---|
| 303 |  | 
|---|
| 304 | * cosy.cc, starg.cc: | 
|---|
| 305 | - Moved initialization of Camera to MStarguider | 
|---|
| 306 | - added command line option to choose ccd channel | 
|---|
| 307 |  | 
|---|
| 308 | * leds.txt: | 
|---|
| 309 | - replaced with new LED positions (OFFSETS MISSING) | 
|---|
| 310 |  | 
|---|
| 311 | * stars.txt: | 
|---|
| 312 | - added many more stars | 
|---|
| 313 |  | 
|---|
| 314 | * base/coord.h: | 
|---|
| 315 | - added operator/=(XY&) | 
|---|
| 316 |  | 
|---|
| 317 | * base/msgqueue.cc, candrv/sdolist.cc: | 
|---|
| 318 | - added more output in case mutex is already locked by the same thread | 
|---|
| 319 |  | 
|---|
| 320 | * candrv/vmodican.cc: | 
|---|
| 321 | - some changes to output | 
|---|
| 322 |  | 
|---|
| 323 | * catalog/SlaStars.cc: | 
|---|
| 324 | - changed some comments | 
|---|
| 325 |  | 
|---|
| 326 | * catalog/StarCatalog.[h,cc]: | 
|---|
| 327 | - replaced old algorithms by MAstroCatalog and new simplifications | 
|---|
| 328 | to calculate star-positions accuratly by combining slalib with | 
|---|
| 329 | MAstroCatalog | 
|---|
| 330 |  | 
|---|
| 331 | * devdrv/macs.h: | 
|---|
| 332 | - added GetPosTime | 
|---|
| 333 |  | 
|---|
| 334 | * devdrv/shaftencoder.[h,cc]: | 
|---|
| 335 | - added output to report file | 
|---|
| 336 |  | 
|---|
| 337 | * gui/MGAccuracy.[h,cc]: | 
|---|
| 338 | - added time development curve (blue) | 
|---|
| 339 |  | 
|---|
| 340 | * gui/MGEmbeddedCanvas.h, gui/MGSkyPosition.h, | 
|---|
| 341 | gui/MGVelocity.h: | 
|---|
| 342 | - changed ifndef define | 
|---|
| 343 |  | 
|---|
| 344 | * gui/MGImage.[h,cc]: | 
|---|
| 345 | - enhancements in speed | 
|---|
| 346 | - enhancements in mutex locking mechanism | 
|---|
| 347 |  | 
|---|
| 348 | * gui/MGPngReader.cc, gui/MGTPoint.cc: | 
|---|
| 349 | - changed meaning of PixSize | 
|---|
| 350 |  | 
|---|
| 351 | * gui/MGVelocity.cc: | 
|---|
| 352 | - fixed units | 
|---|
| 353 |  | 
|---|
| 354 | * main/MCaos.[h,cc]: | 
|---|
| 355 | - changed ring radius from 266/272 to 266,268 | 
|---|
| 356 | - moved drawing circles to MStarguider | 
|---|
| 357 |  | 
|---|
| 358 | * main/MCosy.[h,cc]: | 
|---|
| 359 | - moved big parts of the code to MPointing and MTracking | 
|---|
| 360 | - removed old conversion constants (Se to RE, etc) and | 
|---|
| 361 | replaced by more meaningful ones | 
|---|
| 362 | - prepare displaying starguider image | 
|---|
| 363 | - added GetFileName to globally prepare correct file names | 
|---|
| 364 |  | 
|---|
| 365 | * main/MPointing.cc: | 
|---|
| 366 | - fixed missing SetDecelaration | 
|---|
| 367 | - changed to new unit conversion constants | 
|---|
| 368 | - Use SendStatus instead of Send | 
|---|
| 369 |  | 
|---|
| 370 | * main/MStarguider.cc: | 
|---|
| 371 | - added update and support of cosy-image display | 
|---|
| 372 | - added channel swicthing for the frame grabber | 
|---|
| 373 | - added algorithm to find star position FindStar | 
|---|
| 374 | - commented out starguider algorithms | 
|---|
| 375 | - draw support lines and grid stuff | 
|---|
| 376 |  | 
|---|
| 377 | * main/MTracking.[h,cc]: | 
|---|
| 378 | - changed to new unit conversion constants | 
|---|
| 379 | - added output of RE stuff to report file | 
|---|
| 380 | - some simplification to tracking thread | 
|---|
| 381 |  | 
|---|
| 382 | * base/MString.[h,cc]: | 
|---|
| 383 | - added as a thread safe replacement for Form() | 
|---|
| 384 |  | 
|---|
| 385 | * tcpip/MCeCoCom.[h,cc]: | 
|---|
| 386 | - changed support for Weather information | 
|---|
| 387 |  | 
|---|
| 388 | * tcpip/MDriveCom.[h,cc]: | 
|---|
| 389 | - changed output | 
|---|
| 390 | - added SendStatus | 
|---|
| 391 |  | 
|---|
| 392 | * tcpip/MTcpIpIO.cc: | 
|---|
| 393 | - changed output | 
|---|
| 394 | - output reports to report file | 
|---|
| 395 |  | 
|---|
| 396 | * tpoint/gui.C: | 
|---|
| 397 | - read new starg_* files | 
|---|
| 398 |  | 
|---|
| 399 | * videodev/Camera.[h,cc]: | 
|---|
| 400 | - some enhancements to ioctl call | 
|---|
| 401 | - some changes to output | 
|---|
| 402 | - changes a bit the bahaviour of mutices | 
|---|
| 403 | - replaced fRunning by mutex | 
|---|
| 404 | - changes to ExitLoop and IsRunning | 
|---|
| 405 | - added support for several frame grabber channels | 
|---|
| 406 |  | 
|---|
| 407 | * videodev/FilterLed.[h,cc] | 
|---|
| 408 | - added new algorithms to find star | 
|---|
| 409 | - small updates to star finding support | 
|---|
| 410 |  | 
|---|
| 411 | * videodev/PixGetter.h: | 
|---|
| 412 | - added a virtual empty destructor (IMPORTANT) | 
|---|