source: trunk/MagicSoft/Cosy/Changelog@ 8816

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