source: trunk/MagicSoft/Cosy/Changelog@ 8832

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