source: trunk/Cosy/Changelog@ 10047

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