source: trunk/MagicSoft/Cosy/Changelog@ 8819

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