source: trunk/MagicSoft/Cosy/Changelog@ 9195

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