source: trunk/MagicSoft/Cosy/Changelog@ 8826

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