source: trunk/MagicSoft/Cosy/Changelog@ 9443

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