User Tools

Site Tools


howto:setup_all-sky_camera_system

Differences

This shows you the differences between two versions of the page.


Previous revision
howto:setup_all-sky_camera_system [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 +====== Required parts ======
  
 +You should have camera driver tested (with rts2-xfocusc). Then you need //rts2-scriptor// to execute scripts on device. Parameters you will most probably need to set are:
 +
 +  * **expand-path** which describes path where images will be stored. Please consult //rts2.ini// man page for expansion string details.
 +  * **script-gen** which is location of script used to generate script. The following script can be used as en example:
 +
 +<code shell>
 +#!/bin/bash
 +
 +case "$1" in
 +        [1,5])
 +                echo "D 36"
 +                ;;
 +        [2,4])
 +                echo "E 1 E 1 E 1"
 +                ;;
 +        3)
 +                echo "E 36"
 +                ;;
 +        *)
 +                echo "sleep 30"
 +                ;;
 +esac
 +</code>.
 +
 +As can be seen, script gets as first parameter current system state. It prints on standard output script which should be used. By modifying this script, you can modify which exposures shall be taken. For RTS2 scrypt syntax (E, D, etc..), please consult //rts2.script// manual page. Important states are:
 +
 +  - evening
 +  - dusk
 +  - night
 +  - dawn
 +  - morning
 +
 +Here is an example of ///etc/rts2/services// file used for all sky system:
 +
 +<code>
 +scriptor        SCASM --expand-path /images/ASM1/%f --script-gen /etc/rts2/scriptor
 +</code>
howto/setup_all-sky_camera_system.txt · Last modified: 2009/03/01 00:00 (external edit)