source: trunk/MagicSoft/Cosy/Changelog@ 9437

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