astroufsc / chimera

Chimera - Observatory Automation System
http://chimera.sf.net/
GNU General Public License v2.0
36 stars 19 forks source link

Fix #111 - coordinates epoch #114

Closed wschoenell closed 9 years ago

wschoenell commented 9 years ago

This PR fixes #111 by always passing to the telescope the coordinates in the J2000 epoch. On the telescope, it should be always a check on which epoch is the coordinates sent in, and conversion to adequate system depending on the telescope vendor. Also, added to the chimera-tel script information about the epoch on ra/dec coordinates:

$ chimera-tel --info
======================================== 
telescope: /FakeTelescope/fake (/dev/ttyS0). 
current position ra/dec (J2000): 08:28:17.904 -03:00:00.000 
current position alt/az: +09:22:10.850 +93:36:21.655 
tracking: enabled. 
========================================