Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/pydome/pydome-1.0/README
Дата изменения: Tue Jul 24 00:33:17 2012
Дата индексирования: Mon Oct 1 20:26:44 2012
Кодировка:
PyDome
======

Copyright 2008-2012 John Kielkopf, Jeff Hay and Karen Collins
Email: kielkopf@louisville.edu

Distributed under the terms of the General Public License (see LICENSE).


PyDome is an astronomical dome control interface. Although intended for use
with XmTel and XmCCD, it stands by itself and is the software needed to
operate domes remotely if they are

* Controlled by Digital Loggers web switch devices
* Have RFID tag encoding

Pydome is written in Python, and has a dependency on the Phidgets library for
RFID tag reading that is included here. The version here is for Linux,
but Phidgets has a version for Windows so that it would be possible to build
a system for a Windows OS based on this code if you feel adventurous.

Installation is in three steps:

1. Run the installation scripts in the libphidget directory to install the
requisite library and the rules for the RFID tag reader USB device.

2. Run the Python setup script in PhidgetsPython to install
the supporting Phidgets Python files.

3. Copy the Python scripts in rfid to /usr/local/bin/ to enable the RFID
interface.

4. Copy the files in dli to /usr/local/bin/ to enable the switch control and
install the routines that find and set the dome azimuth.

5. Modify and copy the scripts in install to fit your installation. Those in
dk20n are for a northern hemisphere german equatorial. Those in rc24 are for a
northern hemisphere fork mount. The mount geometry determines the dome azimuth
and the parameters that are in the scripts should be edited as needed.

The system depends on files in /usr/local/observatory/status and
/usr/local/observatory/prefs. The status files provide communication between
telescope and dome processes and are updated by XmTel and by PyDome. Check
that the entire directory structure is readable and writable by the user who
is running the observatory.

The file /usr/local/observatory/prefs/dome.prefs contains the map of dome tags
to azimuth angle. This map is made by rotating the dome 360 degrees and writing
the tag numbers to a temporary file as they are sensed. Edit that file and
incorporate the numbers into a new file similar to a prototype provided here.