source: trunk/MagicSoft/Cosy/Changelog@ 8835

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