source: trunk/MagicSoft/Cosy/Changelog@ 9432

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