;this is a comment #this is also a comment ############# SECTION INTERFACESETTINGS ####### ;setting the interface to motors ;default all is no interface ;Interface smc800 with centronics-cable to parallelport ;INTERFACE = PARALLELSMC ;Interface parallelport raw ( for your own constructions ). ;INTERFACE = PARALLELRAW ;settings for the parallel-port, if PARALLELSMC, or PARALLELRAW ;or, if implemented for SERPARPROT ;this you must also set if your keypad is using parallelport ;Don't be shy using the parallelinput for keypadinput, toghether ;with your parallel interface. The input, and outputsignals ;are strictly separated. A very useful handling is a keypad ;connected directly to a smc800-card. ;PARALLELPORT = 0x378 ;PARALLELPORT = 0x278 ;PARALLELPORT = 0x3bc ;Interface el31-board with serial connection INTERFACE = SERIAL ###### settings only for the serial interface ##### ;this must be an cpu-board like the el31board, which ;understands the used protocol. ;(see explanations about the serial protocol ) ;the baudrate is fix 19200 ;SERIALPORT = /dev/ttyS0 SERIALPORT = /dev/ttyS1 ######## SECTION SPEED ###################### ;setting the loopinterval ;for an el31board like cpu-board these are values in the range ( 0- 255) ;for the parallelport a value in microseconds ( 0 - 999999 ) ;(for parallel using, no interrupt ist used, its a timer, which ;splits the complete thread, which handles the three motors. ;The only reason to set this value to 0, if, in case of a very slow ;computer. TIMERINTCTGOTO = 2 TIMERINTCTCORRECTION = 2 ;setting the speeds: ;for SERIAL >cpu-board these are values in the range ( 0 - 255 ) ;a value of 10 means, - all 10 * TIMERINTCT a step will go. ;for the parallelport the same, but value can be in range( 0 - 999999 ) AZGOTOSPEED = 6 ALTGOTOSPEED = 4 FRGOTOSPEED = 4 AZCORRECTIONSPEED = 20 ALTCORRECTIONSPEED = 20 FRCORRECTIONSPEED = 20 ;This is only for internal settings, ;-switches fieldrotator on at startup. ;Default fieldrotator ;rotates right, - with FRLEFT ON the directionflag ;is set to right at startup. ;But genereally the settings of FRUSE, FRLEFT are for ;programms who uses elctr as interface, and needs ;this settings at startup. ;in elctrcamw this can be set during runtime. ;FRUSE = ON ;FRLEFT = ON ############# SECTION KEYPAD ################## ;setting the keypad for the joystickport, or parallelport ;default no keypad is defined ;The joystickport is very usefull for a keypad, but only ;useable if it is not included into a soundcard. ;Perhaps you can test after init sound, if the joystickport ;is available. Use the tool testdefjoystick for that, it must ;return a 0xf0 value if joystickport is reachable. JOYSTICKKEYPAD = ON JOYSTICKPORT = 0x200 ;or setting the keypad for the parallelport ;if this, -you must set PARALLELPORT above. ;It makes no sense to use different parallel ports ;for interface-parallel, and keypad-parallel, because ;interface uses only outputsignals, and keypad the ;separated status bits of port. ;PARALLELKEYPAD = ON ############### SECTION BOUNDARIES ############# AZHS360 = 1296000.0 ALTHS90 = 324000.0 FRHS360 = 1296000.0 ALTHSHORIZONTLIMIT = 0.0 ALTHSZENITLIMIT = 450000.0 ########## SECTION SPECIALS #################### DEBUG = ON ########## SECTION ELCTRCAM #################### ;videodevice for video4linux - default is /dev/video ;VIDEODEVICE = /dev/video ;if snapping of picures is on at startup, default off ;In elctrcamw, this can be changed during runtime. ;SNAP = ON ;directory where snapped pictures will be stored, default ./ ;In elctrcamw, this can be changed during runtime. ;SNAPDIR = ./ ;prefix of automatical numeration of snapped pictures, default "img" ;In elctrcamw, this can be changed during runtime. ;SNAPPREFIX = img ;number of maximal pictures to snap. ;In elctrcamw, this can be changed during runtime, and automatically ;numeration of pictures, is set to 0 ( till maxsnap ) if the prefix, ;or snapdir is changed. ;A value of 0, means no limit, ( this is the default ). ;MAXSNAP = 0 ;Percent of qualtiy of snapped images, where 100 is the best, ( default ), ;and a value of 1 the minimum. ;In elctrcamw, this can be changed during runtime. ;SNAPQUALTIY = 100 ;A numeric value for the size of snapped pictures. ;in elctrcamw, this can be changed during runtime. ;0 means 160x120 ( default ) ;1 means 176x144 ;2 means 320x240 ;3 means 352x288 ;4 means 640x480 -> ( be sure, your webcam, can do this ) ;SNAPSIZE = 0 ;A value in range from 0 to 255. ;In elctrcamw, this can be changed during runtime. ;When testing of pictures is started, the brightest ;koordinate will be searched. The coltolerance means, ;Brightest values - coltolerance, will be used as "light-on", ;and all values less then this, will be set to "dark". ;COLTOLERANCE = 10 ;Give elctrcamrc a number of pictures, to get, before comparing. ;In elctrcamw, this can be changed during runtime, and is ;used every time "start" is done. ;A number of 3, is the minimum, useable for ignoring ;autoadjusting of camera. 255 is the maximum. ;CALCSTART = 10 ;This you can use as additional tolerance, when comparing ;is done. It means the flickering of picture, if air is rough. ;It can be a value between 0, and 19 ( pixels ), where 0 ;is the best. ;In elctrcamw, this can be changed during runtime. ;SEEING = 1; ;Here you can set if steering on, at startup. ;In elctrcam, you must set this, if you need steering. ;In elctrcamw, you can switch this on/off during runtime. ;If FRUSE, and AUTOGUIDE is set, this also takes only effect, ;in the time, this is on. ;CONTROL = ON ;Here you can set if automatically trimming of position ;is on, at startup. ;In elctrcamw, you can switch this on/off during runtime. ;AUTOGUIDE = ON ;If this is set, and steering active, it will not go ;to the interfaces, instead you become some outputs ;to stdout. ;If this is on, steering is completely switched off. ;TEST = ON ;-------------------------------------------------------- ;The following settings are only useable for elctrcamw, ;and can be set also during runtime. ;Default this are all off. ( Better you let this, ;and set it when you need it during runtime ). ;View of picture on, directly when started. ;VIEW = ON ;Shows images not as dark/white, instead grayscaled. ;REAL = ON ;Shows cross where the brightesd koordinate for comparison ;is found. ;SHOWCROSS = ON