source: trunk/MagicSoft/Cosy/Changelog@ 9438

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