source: trunk/MagicSoft/Cosy/Changelog@ 8834

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