source: trunk/Cosy/Changelog@ 18892

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