source: trunk/MagicSoft/Cosy/Changelog@ 9417

Last change on this file since 9417 was 9417, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 34.7 KB
Line 
1 -*-*- END -*-*-
2
3 2009/04/01 Thomas Bretz
4
5 * Makefile:
6 - changed the linking
7
8 * base/Makefile:
9 - changed name of Base to CosyBase (trouble with the same naming
10 in Mars)
11
12 * gui/Makefile
13 - changed name of Gui to CosyGui (trouble with the same naming
14 in Mars)
15
16
17
18 2009/01/14 Thomas Bretz
19
20 * slalib/dat.c:
21 - added leap second
22
23
24
25 2008/08/26 Thomas Bretz (La Palma)
26
27 * cosy.cc:
28 - changed ceco to 151.72.130.60
29
30 * candrv/canopen.[h,cc]:
31 - added HasConnection
32
33 * candrv/network.cc:
34 - check for connection before trying to reboot zombies
35
36 * candrv/nodedrv.cc:
37 - some improvement to output
38
39 * devdrv/DevdrvLinkDef.h, devdrv/Makefile:
40 - added Dkc
41
42 * gui/MGCosy.[h,cc]:
43 - change to layout
44 - display DKC information
45 - display cabinet information
46
47 * gui/MGSkyPosition.[h,cc]:
48 - for convinience added Polaris to display
49
50 * main/MCosy.[h,cc]:
51 - removed shaftencoder and macs
52 - removed a lot of old obsolete code
53 - added Dkc
54 - set new velocity and acceleration values
55 - removed a lot of expert stuff
56 - removed ambiguity between feedback 1 and 2
57
58 * main/MSlewing.[h,cc]:
59 - replaced Macs by Dkc
60 - fixed to use new units
61 - scale velocity even with different maximum speeds
62 - changed from relative positionuing to absolute positioning
63 - implemented a new correction for the non-uniformity of the el-axis
64
65 * main/MStarguider.cc:
66 - changed usage of MString
67 - use GetSePos now instead of GetTrackingPosRaw
68
69 * main/MTracking.[h,cc]:
70 - replaced Macs by Dkc
71 - removed ambiguity of feedback 1 and feedback 2
72 - adapted definition of control deviation
73
74
75
76 2008/07/13 Thomas Bretz
77
78 * caos/Led.cc, caos/Ring.cc, gui/MGCosy.cc, tcpip/MCeCoCom.cc,
79 tcpip/MDriveCom.cc:
80 - replaced usage of MString::Print by MString::Format
81
82
83
84 2008/06/19 Thomas Bretz
85
86 * tpoint/TPointGui.cc:
87 - removed an output by chance added yestergday
88
89
90
91 2008/06/18 Thomas Bretz
92
93 * telesto.cc, tpoint/TPointGui.[h,cc]:
94 - added option to start with a pointing model
95
96
97
98 2008/06/17 Thomas Bretz
99
100 * tpoint/TPointGui.[h,cc]:
101 - implemented entry fields
102
103
104
105 2008/02/24 Thomas Bretz (La Palma)
106
107 * .cosyrc_magic:
108 - changed the azimuth gear to 1340.0
109
110 * cosy.cc:
111 - made MDriveCom a pointer to be able to delete it earlier
112
113 * devdrv/macs.cc:
114 - fixed a few typos
115
116 * main/MCosy.[h,cc]:
117 - allow disarming
118 - added armed state to report
119 - Instantiate MCosy with an MDriveCom instead of initializing it
120 internally
121 - adapted the constructor accordingly
122
123 * main/MSlewing.[h,cc]:
124 - changed the way the "position reached" window is calculated
125 it is now fixed 1/16384th of a revolution and can be
126 changed from outside
127 - added some comments
128 - tiny changes to the log out
129 - for the moment the correct calculation for the non centered
130 drive bow is switched off(!!!)
131
132 * videodev/VideodevIncl.h:
133 - added TVector2
134
135 * aposs/Magic.m:
136 - added GRB mode
137 - added a division by four to the setting of the rpm mode velocity
138
139
140
141 2008/02/22 Thomas Bretz (La Palma)
142
143 * aposs/Magic.m:
144 - added a trigger on the falling and rising edge of the door-lock
145 switch which will stop the telescope and refuse any movement
146 command
147 - changed version number from 0.69 to 0.70
148 - move the arbitrary factor 4 from cosy to aposs
149 - changed control loop parameters as suggested in Robert's thesis
150 (TO BE CHECKED)
151
152 * devdrv/macs.cc:
153 - changed the requires software version from 0.69 to 0.70
154 - do not start the node automatically
155
156 * main/MStarguider.cc:
157 - added an ExitLoop for fGetter
158 - added a sanity check if GetDriveCom returns a valid pointer
159
160 * main/MTracking.cc:
161 - removed the arbitrary factor 4 from the code (it is now
162 implemented in the MACS)
163
164
165
166 2008/02/21 Thomas Bretz (La Palma)
167
168 * cosy.cc:
169 - moved instantisation of MDriveCom out of MCosy
170 - adde options to set the ceco ports
171
172 * candrv/canopen.cc:
173 - changed logging output
174
175 * devdrv/macs.cc:
176 - added some more DKC errors
177 - SetZombie if not armed
178 - added some debug output
179
180 * devdrv/shaftencoder.cc:
181 - added some initialisations as suggested by valgrind
182
183 * main/MSlewing.h:
184 - removed obsolete base class MLog
185
186 * main/MTracking.[h,cc]:
187 - replaced some fixed numbers by variables
188 - added forward declaration for MLog
189
190 * tcpip/MCeCoCom.[h,cc]:
191 - moved fixed port numbers out of the constructor
192
193 * tcpip/MDriveCom.[h,cc]:
194 - secured called to fQueue with if-conditions
195 - added Dummy for TPOIN command
196 - implemented ARM command
197 - added arm status to drive report
198 - added summy for sending TPOINT-REPORT
199
200 * tcpip/MTcpIpIO.cc:
201 - added time to connection messages
202 - added 0 as backlog for opening the TServerSocket.
203 This seems to be necessary (why?)
204
205 * videodev/Camera.cc:
206 - added initialisation of fChannel which was missing
207
208 * videodev/FilterLed.cc:
209 - changed a detele to an array delete as suggested by valgrind
210
211 * videodev/MVideo.cc:
212 - initialize qctrl as suggested by valgrind
213
214
215
216 2008/02/20 Thomas Bretz (La Palma)
217
218 * candrv/ethernet.[h,cc]:
219 - return kFALSE even if RecvRaw return a value <0
220
221 * devdrv/macs.[h,cc]:
222 - added setting and reseeting of an armed state disallowing
223 all movements
224 - set fPosActive if positiong has been started to prevent lags
225 in the program flow
226 - added fArmed to PDO1
227 - added some debug output
228
229 * gui/MGCosy.[h,cc]:
230 - added "Arm" button to the display in expert mode
231 - added armed state to the Update member function
232
233 * main/MCosy.[h,cc]:
234 - commented out all accesses to the third MACS
235 - added code to allow the armed state to be set from the gui
236 - pipe the armed state to the gui
237
238 * tcpip/MTcpIpIO.[h,cc]:
239 - added a timeout to MTcpIpI when waiting for new data
240 which is set to 5s by default
241 - return kFALSE even if RecvRaw return a value <0
242 - wait for new connection in case of timeout
243
244
245
246 2008/02/17 Thomas Bretz (La Palma)
247
248 * cosy.cc:
249 - enable output device file for log-files
250 - set sps default address to "sps"
251
252 * candrv/canopen.[h,cc]:
253 - added member function HasError to return an error status
254 of the network connection
255
256 * candrv/ethernet.[h,cc]:
257 - improved the way a lost connection is reestablished
258 - added HasConnection to return the connection status
259
260 * candrv/interface.h:
261 - added HasConnection to return the connection status
262
263 * candrv/network.cc:
264 - when setting zombies check also the status of the network
265
266 * candrv/nodedrv.h:
267 - made HasError a bit more fool proof
268
269 * devdrv/macs.[cc.h]:
270 - added some more DKC error codes
271 - improved printed error DKC message
272 - do not treat warnings as errors anymore
273
274 * gui/MGCosy.cc:
275 - the RA in TrackPos and CalibPos is in degrees
276
277 * main/MCosy.cc:
278 - replaced some build-in numbers for the shaftenecoder-
279 resolution by it
280 - fixed a weird error: in one case when checking for errors
281 fMac3 was checked without testing for NULL pointer!
282
283 * tcpip/MTcpIpIO.[h,cc]:
284 - imporved the whole communication stuff again, especially
285 the error handling and reestablishing of connections
286
287
288
289 2008/02/15 Thomas Bretz (La Palma)
290
291 * candrv/network.cc, candrv/nodedrv.h:
292 - changed arguments and contents of HandleSDOError
293
294 * devdrv/macs.[h,cc]:
295 - added status/error handling for DKC status
296
297 * devdrv/shaftencoder.cc:
298 - changed some output
299 - handle all four bytes in case of the position
300
301 * gui/MGCosy.cc:
302 - increased width of shaftencoder labels
303
304
305
306 2008/02/15 Thomas Bretz (La Palma)
307
308 * cosy.cc:
309 - added debug-env command line options
310 - added config command line option
311 - added command line options for the ip-addresses
312 - read in an MEnv
313
314 * candrv/canopen.cc:
315 - commented an obsolete output
316
317 * candrv/ethernet.[h,cc]:
318 - changed some cout to gLog stream
319 - impoved output
320 - added some some DEBUG precompiler ifs
321
322 * candrv/interface.cc:
323 - fixed an if: fReceiver instead of !fReceiver
324
325 * candrv/network.cc:
326 - fixed some problems with hex/dec output
327
328 * devdrv/shaftencoder.[h,cc]:
329 - decode all bytes in PDO2
330 - devide by fTicks instead of a fixed number
331 - improved some comments
332
333 * main/MCosy.[h,cc]:
334 - removed the arbitrary offset in GetSePos
335 (FIXME: This needs to become an option in the rc-file)
336 - take an MEnv instead of a local TEnv
337 - improved output
338 - get name for pointing model as argument
339
340 * tcpip/MCeCoCom.h, tcpip/MDriveCom.h:
341 - get ip-address as argument
342
343 * tcpip/MTcpIpIO.[h,cc]:
344 - added GetSocketAddress functions
345 - changed some cout to gLog
346 - improved output
347
348 * videodev/MVideo.[h,cc]:
349 - added an argument to Ioctl to suppress an expected error
350
351
352
353 2008/02/12 Thomas Bretz (La Palma)
354
355 * videodev/MVideo.[h,cc]:
356 - added code to enumare the controls of the device
357 - set device to PAL-N as default (this needs to be made
358 more flexible!)
359 - added a new class MVideoCtrl for control enumeration
360 - added functions to handle the controls
361 - note that this now relys on video4linux2
362 - changed the type of the frame buffer from char to unisgned char
363 - make sure that CaptureWait is called as often as CaptureStart
364 otherwise the card complains
365 - use the systems videodev.h and videodev2.h instead of our own
366
367
368
369 2008/02/09 Thomas Bretz (La Palma)
370
371 * Makefile:
372 - removed readcam
373
374 * cosy.cc:
375 - fixed a problem with the --channel option
376
377 * videodev/Camera.[h,cc]:
378 - changed argument of Process frame to unsigned
379 - always interpolate the rgb value -- this gives clearly
380 less noisy pictures
381 - fixed the switchibng of the channel
382
383 * videodev/PngReader.cc:
384 - fixed order of includes
385
386
387
388 2008/02/08 Thomas Bretz (La Palma)
389
390 * videodev/PngReader.[h,cc]:
391 - changed to use MThread
392
393 * videodev/MVideo.cc:
394 - improved error out
395
396 * videodev/Camera.[h,cc]:
397 - removed old obsolete code
398 - fixed capture loop for more than 2 buffers
399
400 * main/MStarguider.cc:
401 - removed obsolete call to Camera->Loop()
402
403 * main/MCosy.h:
404 - removed some obsolete comments
405
406
407
408 2008/02/05 Thomas Bretz (La Palma)
409
410 * cosy.cc:
411 - setup address and port in constructor of Ethernet
412
413 * candrv/ethernet.[h,cc]:
414 - added new data mebers fTxAddress and fTxPort
415 - get all io addresses in constructor
416
417 * gui/MGCosy.cc:
418 - switch off debug mode
419
420 * main/MCosy.cc, main/MStarguider.cc, videodev/Camera.cc:
421 - added missing stream manipulators
422
423 * tcpip/MCeCoCom.h:
424 - set address of CeCo in constructor of MTCpIpIO
425
426 * tcpip/MTcpIpIO.[h,cc]:
427 - moved setting of destination address into arguments of constructor
428
429 * videodev/MVideo.cc:
430 - tiny improfements to logging output
431
432
433
434 2008/02/04 Thomas Bretz (La Palma)
435
436 * candrv/interface.[h,cc], candrv/ethernet.[h,cc],
437 MIncl.h, MLinkDef.h:
438 - added
439
440 * Makefile:
441 - removed readcam from list of programs
442
443
444
445 2008/02/02 Thomas Bretz
446
447 * main/MCosy.cc, candrv/vmodican.cc, gui/MGCoordinates.cc,
448 gui/MGSkyPosition.cc, gui/MGImage.cc:
449 - added stream modifiers
450
451
452
453 2008/01/31 Thomas Bretz
454
455 * base/Makefile:
456 - removed MThread... now in Mars
457 - include ../mars for new location of MThread
458
459 * base/msgqueue.[h,cc], candrv/nodedrv.cc, candrv/vmodican.h,
460 main/MCosy.h, main/MTracking.h, tcpip/MTcpIpIO.[h,cc],
461 videodev/Camera.[h,cc]:
462 - renamed MyThreadX to MThread
463
464 * Makefile:
465 - removed include of mvideo
466
467 * videodev/Makefile:
468 - removed include of mvideo
469 - added class MVideo
470
471 * videodev/MVideo.[h,cc]:
472 - added
473
474 * base/coord.h, base/log.h, base/threads.h, base/timer.[h,cc],
475 catalog/SaoFile.[h,cc], base/File.[h,cc]:
476 - obsolete -> removed
477
478 * catalog/SaoFile.h, catalog/SlaPlanets.h, catalog/SlaStars.[h,cc],
479 catalog/Slalib.[h,cc], catalog/StarCatalog.[h,cc], gui/MGAccuracy.cc,
480 gui/MGCoordinates.cc, gui/MGCosy.cc, gui/MGPngReader.cc,
481 gui/MGSkyPosition.cc, gui/MGVelocity.cc, main/MStargHistograms.[h,cc],
482 main/MStarguider.cc, main/MTracking.h, tcpip/MDriveCom.cc,
483 tpoint/TPointIncl.h:
484 - revised includes
485 - revised global defines in header files
486
487 * videodev/Writer.[h,cc]:
488 - revised includes
489 - replaced XY by TVector2
490
491
492
493 2008/01/30 Thomas Bretz
494
495 * candrv/sdolist.cc:
496 - use the ?: operator instead of a cast
497
498 * gui/GuiIncl.h:
499 - removed obsolete coord.h
500
501 * gui/MGCoordinates.h:
502 - added include of MPointing instead of forward declaration of class XY
503
504 * gui/MGCosy.cc:
505 - revised includes
506 - added some manipulators
507
508 * main/MStarguider.cc:
509 - revised includes
510
511 * main/MCosy.[h,cc]:
512 - chnaged some manipulators
513 - adapted calls to consructors of Macs and ShaftEncoders
514
515 * tcpip/MCeCoCom.[h,cc]:
516 - adapted to the otehr changes. Note that with this all reports are
517 send to CC which means that the Drive reports get send ten times a
518 second
519
520 * candrv/CandrvLinkDef.h:
521 - for the time being Ethernet has been added and Interface be removed
522
523
524
525 2008/01/27 Thomas Bretz
526
527 * .rootrc:
528 - updated to the one of Mars
529
530 * macros/dohtml.C:
531 - added
532
533
534
535 2008/01/24 Thomas Bretz
536
537 * telesto.cc, tpoint/Makefile, tpoint/TPointLinkDef.h, tpoint/skull.xpm,
538 tpoint/TPointIncl.cc, TPointStar.[h,cc], TPointGui.[h,cc]:
539 - added
540
541 * candrv/nodedrv.cc:
542 - changed NodeGuard to new Thread model
543
544 * gui/MGCosy.cc:
545 - replaced usage of old MG*Menu classes by the corresponding basic
546 root classes
547 - use root's cleanup facility indstead of MGList where possible
548 - SetOwner of fList to ensure a real cleanup
549 - Prepare for changes in the coordinate classes
550
551 * main/MSlewing.cc, main/MTracking.cc:
552 - added modifiers to log-stream
553 - prepared for the changes in the coordinate classes
554
555 * main/MStarguider.cc:
556 - replaced MG*Menu classes by the corresponding root classes
557 - use root's cleanup facility
558 - SetOwner of the fList
559
560 * base/coord.h:
561 - removed coordinate classes, replaced by new classes from MPointing.h
562 (they are basically identical by now in libmars.so and derived from
563 TVector2)
564
565 * base/msgqueue.[h,cc]:
566 - simplified the scheme of the message queue using a single thread
567 - now the default is that new messages override pending ones
568 - the development is based on debugging with valgrind
569 - the aim is more stability due to simplification
570 - uses new threading scheme
571
572 * macros/rootlogon.C:
573 - improved
574
575 * Makefile:
576 - added telesto
577 - added inlcude directories
578 - renamed cosy.so to libcosy.so
579
580 * base/MThread.[h,cc]:
581 - implemented new Threading classe(s) -- still to be revised!
582 (should be made part of Mars finally!)
583
584 * candrv/vmodican.[h,cc]:
585 - adapted to new threading scheme
586 - replaced lout by gLog
587 - removed cast from third argument in ioctl (complains from a
588 64bit debugger)
589 - removed HandleMessage (now it is one level up -- that's not logical
590 but just simple)
591 - the same applies to SendCanFrame and MsgDescr
592 - thread is not detached anymore
593
594 * videodev/Camera.[h,cc]:
595 - for the moment the Camera class is removed from the root dictionary
596 - changed to new threading class
597 - thread doesn't run detached anymore
598 - the Camera control is now based on the new MVideo-class
599 - a lot of code has been moved to the new MVideo class
600 - we also support (as a hack for tests) color cameras with different
601 field-of-views
602 - simplified and improved the logic of the loop based on valgrinds output
603
604 * videodev/VideodevLinkDef.h:
605 - removed Camkera from dictionary
606
607 * main/MCosy.[h,cc]:
608 - replaced kDeg2Rad and kRad2Deg by TMath
609 - replaced lout by gLog
610 - made a few changes for the new coordinate classes
611 - added cancel points to thread where possible
612 - changed to new threading classes
613 - thread doesn't run detached anymore
614
615 * candrv/nodedrv.[h,cc], devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc],
616 candrv/network.[h,cc]:
617 - changed from lout to gLog
618 - added maipulators
619 - removed MLog from the constructor
620
621
622
623 2008/01/19 Thomas Bretz
624
625 * cosy.cc:
626 - gave cosy a typical Mars-like implementation
627 - added thread and memory debugging
628 - changed lout to gLog
629 - fixed the problem with TApplication in the gui classes, thus it could
630 now be instantiated as object
631
632 * devdrv/shaftencoder.cc:
633 - mainly cosmetics
634 - added some initializations suggested by valgrind
635
636 * gui/MGCosy.h:
637 - removed obsolete forward declaration of TGMenuBar
638
639 * gui/MGEmbeddedCanvas.[h,cc]:
640 - some cosmetics
641 - correctly replaced ForEach by R__FOR_EACH
642
643 * main/MStarguider.[h,cc]:
644 - use root's own cleanup facility where possible
645 - set the owenership to fList to ensure deletion
646 - use a simple way to cascade the menues
647 - replace MG*Menu by TG*Menu
648 - improved the switching of the starguider channels. Especially
649 no recreation of the object is done if not necessary
650
651
652
653 2008/01/18 Thomas Bretz
654
655 * base/Makefile:
656 - cosmetics
657
658 * catalog/SlaStars.cc, catalog/Slalib.cc, catalog/StarCatalog.h,
659 gui/MGSkyPosition.cc:
660 - replaced kRad2Deg by TMath::RadToDeg()
661 - replaced kDeg2Rad by TMath::DegToRad()
662 - replaced kPiDiv2 by TMath::Pi()/2
663
664 * main/MCaos.cc:
665 - replaced cout by gLog and use color coding
666 - replaced coord.h by MPointing.h
667
668
669
670 2008/01/16 Thomas Bretz
671
672 * gui/MGMenu.[h,cc]:
673 - removed
674
675 * Makefile, Makefile.conf.general, Makefile.conf.linux,
676 Makefile.rules, caos/Makefile, catalog/Makefile,
677 devdrv/Makefile, gui/Makefile, main/Makefile,
678 slalib/Makefile, tcpip/Makefile, videodev/Makefile:
679 - changed all Makefiles to the Mars Makefile style for better
680 performance, maintanance and reliability
681 - some updates for future code
682
683 * videodev/CaosFilter.h, videodev/FilterLed.h, videodev/PixClient.h,
684 videodev/PixGetter.h, videodev/Writer.h, candrv/sdolist.h:
685 - added virtual destructor as suggested by gcc 4
686
687 * devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc], candrv/canopen.[h,cc],
688 candrv/network.[h,cc], candrv/nodedrv.[h,cc]:
689 - replaced timeval_t* by a const reference in all arguments of
690 member functions
691
692 * gui/MGEmbeddedCanvas.cc:
693 - replaced C-style includes (iostream.h) with C++ style (iostream)
694
695 * videodev/FilterLed.cc:
696 - initialized fImg as suggested by valgrind
697
698 * candrv/canopen.cc, candrv/network.cc, main/MTracking.cc,
699 main/MPpointing.cc, tcpip/MTcpIpIO.cc:
700 - replaced the lout-logging by gLog
701
702 * candrv/canopen.[h,cc]:
703 - derive from a generalized base class (Interface) now instead of
704 the specialized VmodIcan interface class
705 - added member function to start and stop the underlaying interface
706 - moved the RawCan handling function from VModIcan here
707 (HandleMessage)
708
709 * candrv/network.[h,cc]:
710 - start interface via CanOpen::Start and stop it via CanOpen::Stop
711 - removed obsolete arguments from constructor
712 - initialize fNodes and fNodeInitialized as suggested by valgrind
713
714 * gui/MGCoordinate.cc:
715 - SetOwner of fList to make sure that all gui object are properly deleted
716 - initialize the "label"-pointer as suggested by valgrind
717
718 * gui/MGCosy.h:
719 - removed obsolete forward class declaration of TGMenuBar
720
721 * gui/MGCoordinate.cc, gui/MGPngReader.cc
722 - SetOwner of fList to make sure that all gui object are properly deleted
723
724 * main/MTracking.[h,cc]:
725 - use new threading model (uses RunThread and CancelThread instead of
726 Start Stop)
727 - changed return code of Thread from void* to Int_t#
728 - replaced chacking the HasStopFlag by TThread::CancelPoint calls
729 - renamed MPointing to MSlewing to get rid of a namespace conflic
730 with Mars' MPointing
731
732 * main/MainLinkDef.h:
733 - added the missing + for MCosy and MTracking
734 - replaced MPointing by MSlewing
735
736 * main/MPointing.[h,cc]:
737 - renamed class to MSlewing
738 - removed
739
740 * main/MSlewing.[h,cc]:
741 - added
742
743 * tcpip/MTcpIpIO.[h,cc]:
744 - splitted MTcpIpIO into two base classes, one for input, one for output
745 - made the ports an argument
746 - derived from new threading class
747 - also added a static function to send a frame over a exclusively
748 opened port
749 - replaced old HasStopFlag by new IsThreadCanceled (this is used
750 instead of a CancelPoint to ensure correct cleanup)
751
752 * tcpip/MDriveCom.h:
753 - updated constructor
754
755
756
757 2008/01/14 Thomas Bretz
758
759 * tpoint/gui.C:
760 - added individual reset buttons
761
762
763
764 2008/01/09 Thomas Bretz
765
766 * tpoint/gui.C:
767 - some small improvements
768
769
770
771 2007/06/06 Thomas Bretz
772
773 * tpoint/*:
774 - added new tpoint files
775 - added starguider tpoint files
776 - cleaned up the tpoints from errorneous detections
777
778 * tpoint/gui.C:
779 - added option to read collections
780 - added new button to reread tpoints
781
782
783
784 2007/06/06 Markus Meyer
785
786 * tpoint/:
787 - added tpoint files from Jan. 2007 to June 2007
788
789
790
791 2007/03/14 Thomas Bretz
792
793 * bend.cc, cosy.cc, starg.cc, testse.cc, base/MStarList.cc,
794 base/MThread.cc, base/log.h, base/msgqueue.cc, candrv/nodedrv.cc,
795 candrv/sdolist.cc, catalog/SlaPlanets.cc, catalog/Slalib.cc,
796 catalog/StarCatalog.cc, gui/MGAccuracy.cc, gui/MGCoordinate.cc,
797 gui/MGCoordinates.cc, gui/MGCosy.cc, gui/MGNumStars.cc,
798 gui/MGSkyPosition.cc, main/MBending.cc, main/MStargHistograms.cc,
799 base/coord.h, main/MCaos.cc, main/MCosy.cc, main/MPointing.cc,
800 main/MStarguider.cc, main/MTracking.cc, videodev/FilterLed.cc,
801 videodev/PixClient.cc, videodev/PngReader.cc, videodev/Writer.cc:
802 - replaced obsolete .h by C++ headers
803 - added namespace std
804
805 * base/MStarList.h:
806 - fixed warnings about overwriting of Delete
807
808 * base/MStopwatch.h, gui/MGCoordinate.h, gui/MGCoordinates.h,
809 main/MStarguider.h:
810 - fixed warning about overwriting of Print()
811
812 * base/MTimeout.cc, candrv/nodedrv.cc, devdrv/macs.cc,
813 tcpip/MCeCoCom.cc:
814 - fixed default argument in declaration
815
816 * catalog/StarCatalog.cc, gui/MGAccuracy.cc, main/MCaos.[h,cc],
817 main/MCosy.cc, main/MPointing.cc, main/MStarguider.cc,
818 main/MTracking.cc:
819 - fixed a type problem (int instead of double)
820
821 * gui/MGCoordinate.cc, gui/MGCosy.cc:
822 - fixed a warning about double declaration
823
824 * tcpip/MCeCoCom.h:
825 - renamed Send to SendRep
826
827 * tcpip/MDriveCom.cc:
828 - replaced Send by SendRep
829
830 * tcpip/MTcpIpIO.cc:
831 - added missing return
832
833
834
835 2006/11/01 Thomas Bretz
836
837 * tpoint/gui.C:
838 - added the horizon
839 - got rid of a warning about a TGraph with 0 points in case
840 the tpoint-file didn't contain magnitudes.
841
842
843
844 2006/07/18 Thomas Bretz
845
846 * base/MStar.h:
847 - fixed a really stupid bug in the constructor, which automatically
848 converted the magnitudes into ints.
849
850
851
852 2006/07/16 Thomas Bretz
853
854 * leds.txt:
855 - new values
856
857 * gui/MGCoordinate.cc:
858 - increased size of output text to display sign
859
860 * gui/MGCosy.cc:
861 - named MACS correctly MACS
862
863 * gui/MGNumStars.cc:
864 - changed color for correlated stars from magenta to cyan
865
866 * main/MStarguider.cc:
867 - changed starguider angle to -0.2
868 - changed pixsize to 48.9
869 - update num stars only if starguider is switched on
870 - removed bug which caused the rotation angle in fact to
871 be always 0
872 - reimplemented the algorithm which only takes the n-th brightest
873 stars from the catalog if n is the number of detected stars
874 (otherwise the catalog might be so crowded with stars that
875 one spot is correlated with many catalog stars)
876 - decreased the search region for the LEDs
877 - some things are not done anymore if not necesarry
878
879 * videodev/FilterLed.[h,cc]:
880 - cleaned up
881 - changed the interface of the ClusterFinder slightly to
882 allow it beeing used for the TPoint spot of the star
883
884
885
886 2006/07/16 Daniela Dorner
887
888 * main/MStarguider.[h,cc]:
889 - improvement in showing/hiding of parts of the display in the starguider
890 window
891
892
893
894 * main/MStarguider.cc:
895 - fixed bug in setting menu entry for limiting magnitude
896
897
898
899 2006/07/14 Thomas Bretz (La Palma)
900
901 * stargleds.txt:
902 - changed positions slightly
903
904 * gui/GuiLinkDef.h, gui/Makefile:
905 - added MGNumStars
906
907 * gui/MGStars.[h,cc]:
908 - addde
909
910 * gui/MGAccuracy.[h,cc], gui/MGStarg.[h,cc]:
911 - unified
912 - slight changes to layout
913
914 * gui/MGCoordinate.[h,cc], MGCoordinated.[h,cc]:
915 - added a new mode which allows to suppress the title
916
917 * gui/MGCosy.[h,cc]:
918 - added new status box (armed) currently switched on by default
919 - adapted to changes in MGAccuracy
920 - disallow changing the size of the window
921
922 * main/MCaos.cc:
923 - removed an obsolete Print()
924
925 * main/MCosy.cc:
926 - fixed the name of the log-files (2006 instead of 06)
927
928 * main/MStarguider.[h,cc]:
929 - implemented new socket to send triggers to Amc (port 7307)
930 - changed standard limiting magnitude from 7.0 to 9.0
931 - changed layout of display to implement new canvas
932 displaying the number of detected and correlated stars
933 - adapted to changes in MGStarg
934 - added box to change cleaning level of starguider window
935 - set default rotation angle to -0.4deg
936 - disallow changing of window size
937 - CalcTrackingError: check first the number of detected spots
938 and afterwards the number of found catalog stars
939 - CalcTrackingError: just try to correlate all spots with all stars
940 - decreased box size of LED box in starguider mode
941 - replaced circles around starguider pointing position by
942 camara size hexagons
943 - do not show the starguider pointing position if less than three
944 stars could be correlated
945
946 * tcpip/MTcpIpIO.cc:
947 - fixed a comparison between "signed and unsigned"
948
949 * videodev/FilterLed.[h,cc]:
950 - implemented DrawHexagon based on MGMap::DrawHexagon
951 - renamed *Circle to *Box
952 - replaced old algorithm to find stars in starguider mode (and
953 LEDs) by a new ClusterFinder class
954 - needs more maintanance!
955
956
957
958 2006/07/11 Thomas Bretz (La Palma)
959
960 * Makefile:
961 - changed to support linking with the libmars.so instead
962 of compiling a lot of stuff itself
963
964 * Makefile.conf.general:
965 - added -DMARSVER
966
967 * base/BaseLinkDef.h:
968 - removed the now obsolete pragma
969
970 * base/Makefile
971 - removed the now obsolete files
972
973 * candrv/Makefile, caos/Makefile, catalog/Makefile,
974 videodev/Makefile, devdrv/Makefile, gui/Makefile,
975 main/Makefile, tcpip/Makefile:
976 - added the new mars include directory
977
978 * caos/Leds.h, caos/Rings.h:
979 - added an overwrite for Print to make the compiler happy
980
981 * catalog/StarCatalog.cc:
982 - small improvements to determination of image border
983 by using min- and max-functions
984
985 * gui/MGCoordinate.cc:
986 - small improvement to layout
987
988 * gui/MGImage.cc:
989 - fixed 16bit-color mode. The encoding was just wrong
990
991 * videodev/Camera.cc:
992 - unlock the tread after the broadcast. The reason why it
993 is neccessary in root 4.04/02g to make cosy work is
994 unknown. Anyhow it makes switching the cameras more robust
995
996 * cosy.cc:
997 - updated writing log-files
998 - implemented sanity check for batch mode
999
1000 * gui/MGAccuracy.cc, gui/MGStarg.cc:
1001 - use GetabsDev from MAstro
1002 - scale azimuth deviation to real distance on the sky
1003
1004 * main/MCosy.[h,cc]:
1005 - updated writing log-files
1006 - do no perfect position in case of move'n'track
1007 - implemented WM_PREPS for predefined positions
1008 - unified WM_TRACK and WM_GRB
1009 - updated GetFileName
1010
1011 * main/MStarguider.cc:
1012 - undef EXPERT
1013 - some layout changes
1014 - set rotation angle of starguider camera to -0.4deg
1015 - unified FindStar and FindStarCircle
1016 - updated writing log-files
1017 - to calc skycenter the X-offset must be subtracted
1018
1019 * tcpip/MDriveCom.[h,cc]:
1020 - implemented CommandPREPS
1021 - implemented CommandARM
1022
1023 * videodev/FilterLed.[h,cc]:
1024 - unified FindStar and FindStarCircle
1025 - fixed algorithm FindStarCircle (it was not working for
1026 bright stars and didn't take care of the edge of the
1027 image!)
1028 - fixed a long outstanding bug which accessed some memory
1029 outside the image due to a wrong logical condition
1030
1031
1032
1033 2006/07/11 Daniela Dorner
1034
1035 * main/MStarguider.[h,cc]:
1036 - implemented function to disable and uncheck an entry in the menu
1037
1038 * main/MStarguider.cc:
1039 - fixed bugs in (un)checking and en/disabeling items
1040 - removed not needed if-clauses
1041 - rearranged menu
1042
1043
1044
1045 2006/07/10 Thomas Bretz (La Palma)
1046
1047 * slalib/dat.c:
1048 - added leap second from 1st January 2006
1049
1050
1051
1052 2006/06/29 Thomas Bretz
1053
1054 * main/MStarguider.cc:
1055 - fixed a bug which gave a starguider mispointing which was wrong
1056 by the pointing position.
1057 - fixed also the position of the displayed rings wrt to the catalog
1058 sky
1059
1060 * catalog/StarCatalog.cc:
1061 - replaced some Float_t by Int_t
1062
1063
1064
1065 2006/06/28 Thomas Bretz
1066
1067 * main/MStargHistograms.[h,cc]:
1068 - removed Center in units of Zd, Az
1069
1070 * main/MStarguider.cc:
1071 - removed obsolete and dangerous sgcenterzdaz
1072 - do not display the sky-centered rings if sky-center is invalid
1073 (LEDs not detected)
1074 - rais error in this case and send error state to CC
1075 - added lower brighness limit of 30
1076 - do not write pointingpos.txt and tracking_error.txt anymore
1077
1078 * caos/Ring.h:
1079 - added Setter SetXY
1080
1081 * catalog/StarCatalog.cc:
1082 - fixed that when checking for the region in which stars will
1083 be searched only the y- but not the x-offset has been taken into
1084 account
1085 - added a small region around the region of interest because
1086 the catalog position of visible stars might be out of the
1087 search region
1088 - commented out an obsolete function
1089
1090
1091
1092 2006/05/10 Thomas Bretz
1093
1094 * main/MStarguider.cc:
1095 - fixed an error returning the correct value in CalcTrackingError
1096 - added new value to Starguider report
1097
1098 * tcpip/MDriveCom.[h,cc]:
1099 - added new value to starguider report
1100
1101
1102
1103 2006/03/23 - Daniela Dorner, Thomas Bretz
1104
1105 * main/MStarguider.[h,cc]:
1106 - changed starguider algorithm
1107
1108
1109
1110 2006/03/19 - Daniela Dorner
1111
1112 * main/MStargHistograms.cc:
1113 - changed name of tree from CaOs to Starg
1114
1115 * leds.txt, stargleds.txt:
1116 - added new leds
1117
1118 * main/MCosy.cc:
1119 - changed name of tpoint-files, which are written from Cosy, from
1120 tpoint*.txt to old-tpoint*.txt
1121
1122 * main/MStarguider.[h,cc]:
1123 - added StarguiderTpoint Button
1124 - included 2 new variables to allow for the implementation of
1125 StarguiderTpoints
1126 - added writing of StarguiderTpoints to the function CalcTrackingError
1127 - StarguiderTpoints are written to tpoint/starg_*.txt
1128 - Tpoints are wriiten to tpoint/tpoint_*.txt
1129 - added pulldown Mode to Menu
1130 - cleaned Menu (removed not needed items, rearanged place of items
1131 - removed expertmode
1132 - implemented Tpoint- and Starguider-Mode (switches all needed item)
1133 put some code into functions therefor
1134 - implemented releasing of button, if no tpoint can be taken
1135 - fixed small bugs in (un)checking items
1136 - removed starguider analyis (writing root-files) from starguider mode to
1137 stabilize the code
1138 - added 'fGetter->ExitLoop()' before each 'delete fGetter'
1139 - added SetDirectory(0) for histogram in starguider
1140
1141
1142
1143 2006/03/11 - Daniela Dorner
1144
1145 * tpoint/bending051124.txt:
1146 - added
1147
1148
1149
1150 2005/08/29 - Daniela Dorner
1151
1152 * main/MStarguider.cc, tcpip/MDriveCom.[h,cc]:
1153 - added to variables to the Starguider report
1154
1155
1156
1157 2005/08/22 - Thomas Bretz
1158
1159 * candrv/nodedrv.cc, main/MTracking.cc:
1160 - fixed usage of MTime (MTime(-1) instead of MTime())
1161
1162
1163
1164 2005/08/22 - Thomas Bretz
1165
1166 * caos/Ring.[h,cc]:
1167 - added a sanity check for the case a led entry == NULL
1168
1169 * caos/Rings.[h,cc]:
1170 - code cleanup
1171 - added a sanity check to CalcRings
1172
1173 * devdrv/shaftencoder.h:
1174 - added new member function GetPosDirCorrected
1175 - added new member function GetOffsetDirCorrected
1176
1177 * main/MStarguider.cc:
1178 - set number of minimum required LEDs for the ring calculation
1179 to 3. With two LEDs you can NEVER calculate a ring!
1180 - added another sanity check in FindStars
1181
1182 * main/MTracking.cc:
1183 - replaced ?:-operators by new functions Get*DirCorrected
1184 - made sure that if both directions have changed the reset
1185 really causes the correct values to be used immediatly!
1186 - added some code for future use
1187
1188
1189
1190 2005/07/28 - Florian Goebel
1191
1192 * videodev/FilterLed.[cc,h]
1193 - add GetMeanPositionCircle and FindStarCircle
1194
1195 * devdrv/shaftencoder.[cc,h]
1196 - add: fDirHasChanged, fDirChangedPos, fDirChangedOffset,
1197 fDirection, fHysteresisPos, fHysteresisNeg
1198
1199 * main/MCosy.cc
1200 - set faster acceleration and Velocity parameters in TrackPositionGRB
1201
1202 * main/MPointing.cc
1203 - correct bug which always set speed to LO-SPEED
1204
1205 * main/MStarguider.[cc,h]
1206 - add new Popup "Operation" (functionality is not ready yet)
1207 - add new procedure: FindRoqueLamp
1208 - in MStarguider::FindStar now use Leds::FindStarCircle
1209 (instead of Leds::FindStar)
1210
1211 * main/MTracking.cc
1212 - calculate DirHasChanged etc.
1213
1214
1215
1216 2005/04/11 - Thomas Bretz
1217
1218 * main/MTracking.cc:
1219 - allow to send velocity and request position twice
1220 - enhanced some debugging output
1221
1222 * candrv/network.[h,cc]:
1223 - implemented PrintError
1224
1225 * candrv/nodedrv.[h,cc]:
1226 - implemented new argument (zombie) to WaitForSdo which allows
1227 to mark a missing CANbus message as non-critical
1228
1229
1230
1231 2005/03/21 - Thomas Bretz
1232
1233 * tcpip/MDriveCom.[h,cc]:
1234 - added a missing white space behind the brightness and
1235 fixed the wrong units of Zd/Az in the starguider report
1236
1237
1238
1239 2005/03/17 - Thomas Bretz
1240
1241 * main/MCosy.[h,cc]:
1242 - implemented WM_GRB and TrackPositionGRB for GRB mode
1243
1244 * main/MStarguider.cc:
1245 - added 'status' to FINDSTAR-REPORT
1246 - send STARG-REPORT only if Starguider is switched on
1247 - enhanced output in starguider report
1248
1249 * tcpip/MCeCoCom.cc:
1250 - tried to backengineer the CC-REPORT because it is not documented
1251 in the CC TDAS
1252 - changed critical values for windspeed from 10/20/30 to 30/40/50
1253
1254 * tcpip/MDriveCom.[h,cc]:
1255 - implemented handling of GRB command
1256 - enhanced SendStargReport. Starguider Report now:
1257 misszd[%05.3f] missaz[%05.3f]
1258 nomzd[%c %03d %02d %03d] nomaz[%c %03d %02d %03d]
1259 centerx[%05.1f] centery[%05.1f] n[%04d]
1260 bright[%03.1f] mjd[%12.6f]
Note: See TracBrowser for help on using the repository browser.