source: trunk/MagicSoft/Cosy/Changelog@ 8822

Last change on this file since 8822 was 8822, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 18.4 KB
Line 
1 -*-*- END -*-*-
2
3 2007/06/19 Thomas Bretz
4
5 * cosy.cc:
6 - gave cosy a typical Mars-like implementation
7 - added thread and memory debugging
8 - changed lout to gLog
9 - fixed the problem with TApplication in the gui classes, thus it could
10 now be instantiated as object
11
12 * devdrv/shaftencoder.cc:
13 - mainly cosmetics
14 - added some initializations suggested by valgrind
15
16 * gui/MGCosy.h:
17 - removed obsolete forward declaration of TGMenuBar
18
19 * gui/MGEmbeddedCanvas.[h,cc]:
20 - some cosmetics
21 - correctly replaced ForEach by R__FOR_EACH
22
23 * main/MStarguider.[h,cc]:
24 - use root's own cleanup facility where possible
25 - set the owenership to fList to ensure deletion
26 - use a simple way to cascade the menues
27 - replace MG*Menu by TG*Menu
28 - improved the switching of the starguider channels. Especially
29 no recreation of the object is done if not necessary
30
31
32
33 2007/06/18 Thomas Bretz
34
35 * base/Makefile:
36 - cosmetics
37
38 * catalog/SlaStars.cc, catalog/Slalib.cc, catalog/StarCatalog.h,
39 gui/MGSkyPosition.cc:
40 - replaced kRad2Deg by TMath::RadToDeg()
41 - replaced kDeg2Rad by TMath::DegToRad()
42 - replaced kPiDiv2 by TMath::Pi()/2
43
44 * main/MCaos.cc:
45 - replaced cout by gLog and use color coding
46 - replaced coord.h by MPointing.h
47
48
49
50 2007/06/16 Thomas Bretz
51
52 * gui/MGMenu.[h,cc]:
53 - removed
54
55 * Makefile, Makefile.conf.general, Makefile.conf.linux,
56 Makefile.rules, caos/Makefile, catalog/Makefile,
57 devdrv/Makefile, gui/Makefile, main/Makefile,
58 slalib/Makefile, tcpip/Makefile, videodev/Makefile:
59 - changed all Makefiles to the Mars Makefile style for better
60 performance, maintanance and reliability
61 - some updates for future code
62
63 * videodev/CaosFilter.h, videodev/FilterLed.h, videodev/PixClient.h,
64 videodev/PixGetter.h, videodev/Writer.h, candrv/sdolist.h:
65 - added virtual destructor as suggested by gcc 4
66
67 * devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc], candrv/canopen.[h,cc],
68 candrv/network.[h,cc], candrv/nodedrv.[h,cc]:
69 - replaced timeval_t* by a const reference in all arguments of
70 member functions
71
72 * gui/MGEmbeddedCanvas.cc:
73 - replaced C-style includes (iostream.h) with C++ style (iostream)
74
75 * videodev/FilterLed.cc:
76 - initialized fImg as suggested by valgrind
77
78 * candrv/canopen.cc, candrv/network.cc, main/MTracking.cc,
79 main/MPpointing.cc, tcpip/MTcpIpIO.cc:
80 - replaced the lout-logging by gLog
81
82 * candrv/canopen.[h,cc]:
83 - derive from a generalized base class (Interface) now instead of
84 the specialized VmodIcan interface class
85 - added member function to start and stop the underlaying interface
86 - moved the RawCan handling function from VModIcan here
87 (HandleMessage)
88
89 * candrv/network.[h,cc]:
90 - start interface via CanOpen::Start and stop it via CanOpen::Stop
91 - removed obsolete arguments from constructor
92 - initialize fNodes and fNodeInitialized as suggested by valgrind
93
94 * gui/MGCoordinate.cc:
95 - SetOwner of fList to make sure that all gui object are properly deleted
96 - initialize the "label"-pointer as suggested by valgrind
97
98 * gui/MGCosy.h:
99 - removed obsolete forward class declaration of TGMenuBar
100
101 * gui/MGCoordinate.cc, gui/MGPngReader.cc
102 - SetOwner of fList to make sure that all gui object are properly deleted
103
104 * main/MTracking.[h,cc]:
105 - use new threading model (uses RunThread and CancelThread instead of
106 Start Stop)
107 - changed return code of Thread from void* to Int_t#
108 - replaced chacking the HasStopFlag by TThread::CancelPoint calls
109 - renamed MPointing to MSlewing to get rid of a namespace conflic
110 with Mars' MPointing
111
112 * main/MainLinkDef.h:
113 - added the missing + for MCosy and MTracking
114 - replaced MPointing by MSlewing
115
116 * main/MPointing.[h,cc]:
117 - renamed class to MSlewing
118 - removed
119
120 * main/MSlewing.[h,cc]:
121 - added
122
123 * tcpip/MTcpIpIO.[h,cc]:
124 - splitted MTcpIpIO into two base classes, one for input, one for output
125 - made the ports an argument
126 - derived from new threading class
127 - also added a static function to send a frame over a exclusively
128 opened port
129 - replaced old HasStopFlag by new IsThreadCanceled (this is used
130 instead of a CancelPoint to ensure correct cleanup)
131
132 * tcpip/MDriveCom.h:
133 - updated constructor
134
135
136
137 2008/01/14 Thomas Bretz
138
139 * tpoint/gui.C:
140 - added individual reset buttons
141
142
143
144 2008/01/09 Thomas Bretz
145
146 * tpoint/gui.C:
147 - some small improvements
148
149
150
151 2007/06/06 Thomas Bretz
152
153 * tpoint/*:
154 - added new tpoint files
155 - added starguider tpoint files
156 - cleaned up the tpoints from errorneous detections
157
158 * tpoint/gui.C:
159 - added option to read collections
160 - added new button to reread tpoints
161
162
163
164 2007/06/06 Markus Meyer
165
166 * tpoint/:
167 - added tpoint files from Jan. 2007 to June 2007
168
169
170
171 2007/03/14 Thomas Bretz
172
173 * bend.cc, cosy.cc, starg.cc, testse.cc, base/MStarList.cc,
174 base/MThread.cc, base/log.h, base/msgqueue.cc, candrv/nodedrv.cc,
175 candrv/sdolist.cc, catalog/SlaPlanets.cc, catalog/Slalib.cc,
176 catalog/StarCatalog.cc, gui/MGAccuracy.cc, gui/MGCoordinate.cc,
177 gui/MGCoordinates.cc, gui/MGCosy.cc, gui/MGNumStars.cc,
178 gui/MGSkyPosition.cc, main/MBending.cc, main/MStargHistograms.cc,
179 base/coord.h, main/MCaos.cc, main/MCosy.cc, main/MPointing.cc,
180 main/MStarguider.cc, main/MTracking.cc, videodev/FilterLed.cc,
181 videodev/PixClient.cc, videodev/PngReader.cc, videodev/Writer.cc:
182 - replaced obsolete .h by C++ headers
183 - added namespace std
184
185 * base/MStarList.h:
186 - fixed warnings about overwriting of Delete
187
188 * base/MStopwatch.h, gui/MGCoordinate.h, gui/MGCoordinates.h,
189 main/MStarguider.h:
190 - fixed warning about overwriting of Print()
191
192 * base/MTimeout.cc, candrv/nodedrv.cc, devdrv/macs.cc,
193 tcpip/MCeCoCom.cc:
194 - fixed default argument in declaration
195
196 * catalog/StarCatalog.cc, gui/MGAccuracy.cc, main/MCaos.[h,cc],
197 main/MCosy.cc, main/MPointing.cc, main/MStarguider.cc,
198 main/MTracking.cc:
199 - fixed a type problem (int instead of double)
200
201 * gui/MGCoordinate.cc, gui/MGCosy.cc:
202 - fixed a warning about double declaration
203
204 * tcpip/MCeCoCom.h:
205 - renamed Send to SendRep
206
207 * tcpip/MDriveCom.cc:
208 - replaced Send by SendRep
209
210 * tcpip/MTcpIpIO.cc:
211 - added missing return
212
213
214
215 2006/11/01 Thomas Bretz
216
217 * tpoint/gui.C:
218 - added the horizon
219 - got rid of a warning about a TGraph with 0 points in case
220 the tpoint-file didn't contain magnitudes.
221
222
223
224 2006/07/18 Thomas Bretz
225
226 * base/MStar.h:
227 - fixed a really stupid bug in the constructor, which automatically
228 converted the magnitudes into ints.
229
230
231
232 2006/07/16 Thomas Bretz
233
234 * leds.txt:
235 - new values
236
237 * gui/MGCoordinate.cc:
238 - increased size of output text to display sign
239
240 * gui/MGCosy.cc:
241 - named MACS correctly MACS
242
243 * gui/MGNumStars.cc:
244 - changed color for correlated stars from magenta to cyan
245
246 * main/MStarguider.cc:
247 - changed starguider angle to -0.2
248 - changed pixsize to 48.9
249 - update num stars only if starguider is switched on
250 - removed bug which caused the rotation angle in fact to
251 be always 0
252 - reimplemented the algorithm which only takes the n-th brightest
253 stars from the catalog if n is the number of detected stars
254 (otherwise the catalog might be so crowded with stars that
255 one spot is correlated with many catalog stars)
256 - decreased the search region for the LEDs
257 - some things are not done anymore if not necesarry
258
259 * videodev/FilterLed.[h,cc]:
260 - cleaned up
261 - changed the interface of the ClusterFinder slightly to
262 allow it beeing used for the TPoint spot of the star
263
264
265
266 2006/07/16 Daniela Dorner
267
268 * main/MStarguider.[h,cc]:
269 - improvement in showing/hiding of parts of the display in the starguider
270 window
271
272
273
274 * main/MStarguider.cc:
275 - fixed bug in setting menu entry for limiting magnitude
276
277
278
279 2006/07/14 Thomas Bretz (La Palma)
280
281 * stargleds.txt:
282 - changed positions slightly
283
284 * gui/GuiLinkDef.h, gui/Makefile:
285 - added MGNumStars
286
287 * gui/MGStars.[h,cc]:
288 - addde
289
290 * gui/MGAccuracy.[h,cc], gui/MGStarg.[h,cc]:
291 - unified
292 - slight changes to layout
293
294 * gui/MGCoordinate.[h,cc], MGCoordinated.[h,cc]:
295 - added a new mode which allows to suppress the title
296
297 * gui/MGCosy.[h,cc]:
298 - added new status box (armed) currently switched on by default
299 - adapted to changes in MGAccuracy
300 - disallow changing the size of the window
301
302 * main/MCaos.cc:
303 - removed an obsolete Print()
304
305 * main/MCosy.cc:
306 - fixed the name of the log-files (2006 instead of 06)
307
308 * main/MStarguider.[h,cc]:
309 - implemented new socket to send triggers to Amc (port 7307)
310 - changed standard limiting magnitude from 7.0 to 9.0
311 - changed layout of display to implement new canvas
312 displaying the number of detected and correlated stars
313 - adapted to changes in MGStarg
314 - added box to change cleaning level of starguider window
315 - set default rotation angle to -0.4deg
316 - disallow changing of window size
317 - CalcTrackingError: check first the number of detected spots
318 and afterwards the number of found catalog stars
319 - CalcTrackingError: just try to correlate all spots with all stars
320 - decreased box size of LED box in starguider mode
321 - replaced circles around starguider pointing position by
322 camara size hexagons
323 - do not show the starguider pointing position if less than three
324 stars could be correlated
325
326 * tcpip/MTcpIpIO.cc:
327 - fixed a comparison between "signed and unsigned"
328
329 * videodev/FilterLed.[h,cc]:
330 - implemented DrawHexagon based on MGMap::DrawHexagon
331 - renamed *Circle to *Box
332 - replaced old algorithm to find stars in starguider mode (and
333 LEDs) by a new ClusterFinder class
334 - needs more maintanance!
335
336
337
338 2006/07/11 Thomas Bretz (La Palma)
339
340 * Makefile:
341 - changed to support linking with the libmars.so instead
342 of compiling a lot of stuff itself
343
344 * Makefile.conf.general:
345 - added -DMARSVER
346
347 * base/BaseLinkDef.h:
348 - removed the now obsolete pragma
349
350 * base/Makefile
351 - removed the now obsolete files
352
353 * candrv/Makefile, caos/Makefile, catalog/Makefile,
354 videodev/Makefile, devdrv/Makefile, gui/Makefile,
355 main/Makefile, tcpip/Makefile:
356 - added the new mars include directory
357
358 * caos/Leds.h, caos/Rings.h:
359 - added an overwrite for Print to make the compiler happy
360
361 * catalog/StarCatalog.cc:
362 - small improvements to determination of image border
363 by using min- and max-functions
364
365 * gui/MGCoordinate.cc:
366 - small improvement to layout
367
368 * gui/MGImage.cc:
369 - fixed 16bit-color mode. The encoding was just wrong
370
371 * videodev/Camera.cc:
372 - unlock the tread after the broadcast. The reason why it
373 is neccessary in root 4.04/02g to make cosy work is
374 unknown. Anyhow it makes switching the cameras more robust
375
376 * cosy.cc:
377 - updated writing log-files
378 - implemented sanity check for batch mode
379
380 * gui/MGAccuracy.cc, gui/MGStarg.cc:
381 - use GetabsDev from MAstro
382 - scale azimuth deviation to real distance on the sky
383
384 * main/MCosy.[h,cc]:
385 - updated writing log-files
386 - do no perfect position in case of move'n'track
387 - implemented WM_PREPS for predefined positions
388 - unified WM_TRACK and WM_GRB
389 - updated GetFileName
390
391 * main/MStarguider.cc:
392 - undef EXPERT
393 - some layout changes
394 - set rotation angle of starguider camera to -0.4deg
395 - unified FindStar and FindStarCircle
396 - updated writing log-files
397 - to calc skycenter the X-offset must be subtracted
398
399 * tcpip/MDriveCom.[h,cc]:
400 - implemented CommandPREPS
401 - implemented CommandARM
402
403 * videodev/FilterLed.[h,cc]:
404 - unified FindStar and FindStarCircle
405 - fixed algorithm FindStarCircle (it was not working for
406 bright stars and didn't take care of the edge of the
407 image!)
408 - fixed a long outstanding bug which accessed some memory
409 outside the image due to a wrong logical condition
410
411
412
413 2006/07/11 Daniela Dorner
414
415 * main/MStarguider.[h,cc]:
416 - implemented function to disable and uncheck an entry in the menu
417
418 * main/MStarguider.cc:
419 - fixed bugs in (un)checking and en/disabeling items
420 - removed not needed if-clauses
421 - rearranged menu
422
423
424
425 2006/07/10 Thomas Bretz (La Palma)
426
427 * slalib/dat.c:
428 - added leap second from 1st January 2006
429
430
431
432 2006/06/29 Thomas Bretz
433
434 * main/MStarguider.cc:
435 - fixed a bug which gave a starguider mispointing which was wrong
436 by the pointing position.
437 - fixed also the position of the displayed rings wrt to the catalog
438 sky
439
440 * catalog/StarCatalog.cc:
441 - replaced some Float_t by Int_t
442
443
444
445 2006/06/28 Thomas Bretz
446
447 * main/MStargHistograms.[h,cc]:
448 - removed Center in units of Zd, Az
449
450 * main/MStarguider.cc:
451 - removed obsolete and dangerous sgcenterzdaz
452 - do not display the sky-centered rings if sky-center is invalid
453 (LEDs not detected)
454 - rais error in this case and send error state to CC
455 - added lower brighness limit of 30
456 - do not write pointingpos.txt and tracking_error.txt anymore
457
458 * caos/Ring.h:
459 - added Setter SetXY
460
461 * catalog/StarCatalog.cc:
462 - fixed that when checking for the region in which stars will
463 be searched only the y- but not the x-offset has been taken into
464 account
465 - added a small region around the region of interest because
466 the catalog position of visible stars might be out of the
467 search region
468 - commented out an obsolete function
469
470
471
472 2006/05/10 Thomas Bretz
473
474 * main/MStarguider.cc:
475 - fixed an error returning the correct value in CalcTrackingError
476 - added new value to Starguider report
477
478 * tcpip/MDriveCom.[h,cc]:
479 - added new value to starguider report
480
481
482
483 2006/03/23 - Daniela Dorner, Thomas Bretz
484
485 * main/MStarguider.[h,cc]:
486 - changed starguider algorithm
487
488
489
490 2006/03/19 - Daniela Dorner
491
492 * main/MStargHistograms.cc:
493 - changed name of tree from CaOs to Starg
494
495 * leds.txt, stargleds.txt:
496 - added new leds
497
498 * main/MCosy.cc:
499 - changed name of tpoint-files, which are written from Cosy, from
500 tpoint*.txt to old-tpoint*.txt
501
502 * main/MStarguider.[h,cc]:
503 - added StarguiderTpoint Button
504 - included 2 new variables to allow for the implementation of
505 StarguiderTpoints
506 - added writing of StarguiderTpoints to the function CalcTrackingError
507 - StarguiderTpoints are written to tpoint/starg_*.txt
508 - Tpoints are wriiten to tpoint/tpoint_*.txt
509 - added pulldown Mode to Menu
510 - cleaned Menu (removed not needed items, rearanged place of items
511 - removed expertmode
512 - implemented Tpoint- and Starguider-Mode (switches all needed item)
513 put some code into functions therefor
514 - implemented releasing of button, if no tpoint can be taken
515 - fixed small bugs in (un)checking items
516 - removed starguider analyis (writing root-files) from starguider mode to
517 stabilize the code
518 - added 'fGetter->ExitLoop()' before each 'delete fGetter'
519 - added SetDirectory(0) for histogram in starguider
520
521
522
523 2006/03/11 - Daniela Dorner
524
525 * tpoint/bending051124.txt:
526 - added
527
528
529
530 2005/08/29 - Daniela Dorner
531
532 * main/MStarguider.cc, tcpip/MDriveCom.[h,cc]:
533 - added to variables to the Starguider report
534
535
536
537 2005/08/22 - Thomas Bretz
538
539 * candrv/nodedrv.cc, main/MTracking.cc:
540 - fixed usage of MTime (MTime(-1) instead of MTime())
541
542
543
544 2005/08/22 - Thomas Bretz
545
546 * caos/Ring.[h,cc]:
547 - added a sanity check for the case a led entry == NULL
548
549 * caos/Rings.[h,cc]:
550 - code cleanup
551 - added a sanity check to CalcRings
552
553 * devdrv/shaftencoder.h:
554 - added new member function GetPosDirCorrected
555 - added new member function GetOffsetDirCorrected
556
557 * main/MStarguider.cc:
558 - set number of minimum required LEDs for the ring calculation
559 to 3. With two LEDs you can NEVER calculate a ring!
560 - added another sanity check in FindStars
561
562 * main/MTracking.cc:
563 - replaced ?:-operators by new functions Get*DirCorrected
564 - made sure that if both directions have changed the reset
565 really causes the correct values to be used immediatly!
566 - added some code for future use
567
568
569
570 2005/07/28 - Florian Goebel
571
572 * videodev/FilterLed.[cc,h]
573 - add GetMeanPositionCircle and FindStarCircle
574
575 * devdrv/shaftencoder.[cc,h]
576 - add: fDirHasChanged, fDirChangedPos, fDirChangedOffset,
577 fDirection, fHysteresisPos, fHysteresisNeg
578
579 * main/MCosy.cc
580 - set faster acceleration and Velocity parameters in TrackPositionGRB
581
582 * main/MPointing.cc
583 - correct bug which always set speed to LO-SPEED
584
585 * main/MStarguider.[cc,h]
586 - add new Popup "Operation" (functionality is not ready yet)
587 - add new procedure: FindRoqueLamp
588 - in MStarguider::FindStar now use Leds::FindStarCircle
589 (instead of Leds::FindStar)
590
591 * main/MTracking.cc
592 - calculate DirHasChanged etc.
593
594
595
596 2005/04/11 - Thomas Bretz
597
598 * main/MTracking.cc:
599 - allow to send velocity and request position twice
600 - enhanced some debugging output
601
602 * candrv/network.[h,cc]:
603 - implemented PrintError
604
605 * candrv/nodedrv.[h,cc]:
606 - implemented new argument (zombie) to WaitForSdo which allows
607 to mark a missing CANbus message as non-critical
608
609
610
611 2005/03/21 - Thomas Bretz
612
613 * tcpip/MDriveCom.[h,cc]:
614 - added a missing white space behind the brightness and
615 fixed the wrong units of Zd/Az in the starguider report
616
617
618
619 2005/03/17 - Thomas Bretz
620
621 * main/MCosy.[h,cc]:
622 - implemented WM_GRB and TrackPositionGRB for GRB mode
623
624 * main/MStarguider.cc:
625 - added 'status' to FINDSTAR-REPORT
626 - send STARG-REPORT only if Starguider is switched on
627 - enhanced output in starguider report
628
629 * tcpip/MCeCoCom.cc:
630 - tried to backengineer the CC-REPORT because it is not documented
631 in the CC TDAS
632 - changed critical values for windspeed from 10/20/30 to 30/40/50
633
634 * tcpip/MDriveCom.[h,cc]:
635 - implemented handling of GRB command
636 - enhanced SendStargReport. Starguider Report now:
637 misszd[%05.3f] missaz[%05.3f]
638 nomzd[%c %03d %02d %03d] nomaz[%c %03d %02d %03d]
639 centerx[%05.1f] centery[%05.1f] n[%04d]
640 bright[%03.1f] mjd[%12.6f]
Note: See TracBrowser for help on using the repository browser.