source: trunk/MagicSoft/Cosy/Changelog@ 8973

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