source: trunk/MagicSoft/Cosy/Changelog@ 9031

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