source: trunk/MagicSoft/Cosy/Changelog@ 9439

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