source: trunk/MagicSoft/Cosy/Changelog@ 8827

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