source: trunk/MagicSoft/Cosy/Changelog@ 9347

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