source: trunk/MagicSoft/Cosy/Changelog@ 9490

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