source: trunk/MagicSoft/Cosy/Changelog@ 9495

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