fdhwlib  2.0.25
Configuration file

Gpsserver Position Database

The gpsserver can be controlled by an inifile. The section [GpsServer] is searched for the following items.

  • unit Number of the default gpsclock. The unit number can be overwritten by the command line arguments.
        unit = 0   ; Use /dev/oncore.serial.0
        
  • host Host where the master gpsserver is running. Select the virtual unit number 99 to connect to a existing gpsserver (default localhost).
  • maxStartupRetries Number of retries to open the serial device (default 3).
  • startup Defines the startup mode. Known modes are listen and set position name.
        startup = listen | set <name>
        
  • autoinit Automatically initialize the gpsclock after position errors or power cuts (0 off, 1 on; default 1)
  • adjustsec Mode of adjustment for the auger second counter (0 never, 1 once, 2 always; default 1)
  • position1 Entry in the position database. Every position is defined by a coordinate format (gps or wpt), the coordinates and name plus id.
        logging = 0  ; no logging at all
        ;logging = 1  ; log each connect/disconnect
        ;logging = 2  ; log 'gpsset gen ...' commands
        ;logging = 4  ; log 'gpsset input' and 'gpsset lidar' commands
        ;logging = 8  ; log 'gpsset inhibit' and 'gpsset relinhibit' cmds
        ;logging = 16 ; kLogSeconds ???
        
  • logging configure the command logging, this is a bit vector
        position<i> = gps|wps  lat long height name id
        
  • positionRadius Radius around a position that is counted as the same place. Used with the position database to find a position name for a given coordinate. The value is given in degree (default 0.2).

Lidar Frequency Settings

The lidar frequency can be set to a default value with every start of the gpsserver.

  • Startup frequency
        lidar = listen | set <freq>
        

Capture Proxy Server

The capture proxy server is controlled by the configuration parameter in the group [CaptureProxy].

  • enabled Enbale or disable the proxy server (default is enable = 0, means server not active).
  • port The parameter port allows the select the pseudo serial port pair. By default the couple master /dev/ptyc0 and the slave /dev/ttyc0 are used.
  • format The only known format are the capture messages used by the Meinberg GPS clock GPS167.
  • edge Select faling, rising or both edges with the proxy server (0 faling, 1 rising, 2 both).
;
; Data base for Gps Server
;
;
[GpsServer]
; Startup position modes:
;   - listen (do nothing)
;   - set position from data base
;   - site survey
;
; startup =  <listen | set <pos name> | survey <pos name>>
;startup = listen
startup = set Karlsruhe
;startup = set LosLeones
;startup = survey Karlsruhe

nSurvey = 100        ; samples for software survey (== seconds !!)
resetBeforeSurvey = 1; perform reset before survey?
noHwSurvey = 0       ; do not use hardware survey (build-in GPS Clock survey)
;positionRadius = 0.2 ; size of a position in decimal degree


; Coordinates of the southern experiment
; from  http://www.auger.org.ar/survey/images/fd-eyes-LCMN-views-200304.wpt
;
;
;   4,COIHUECO      , -35.114070, -69.599770,37005.59562, 15, 1, 3,         0,
;  14,LEONES        , -35.495870, -69.449760,36801.90648, 15, 1, 3,         0,
;  24,L AMARILL     , -34.916320, -69.164550,37165.53427, 15, 1, 3,         0,
;  83,MORADOS       , -35.292030, -69.012260,37165.43841, 15, 1, 3,         0,

; wpt <latidude [decimal degree]> <longtude [decimal degree]> <height [feet]> <name> <eyeid>
;position1 = wpt -35.495870 -69.449760 0 LosLeones   1
;position2 = wpt -35.114070 -69.599770 0 Coihueco    4
;position3 = wpt -35.292030 -69.012260 0 LosMorados   2
;position4 = wpt -34.916320 -69.164550 0 LomaAmarilla  3


; M- Kleifges, 13.12.2004
; LL: Seriennummer 446700006171
; Position: 35 29' 44.76'' Sd, 69 26' 58.848'' West, 1423 m
;Co: Seriennummer 44670006494
; Position: 35 06' 51.6'' Sd, 69 35' 58.67'' West, 1726 m

; gps <latitude [degree * 3600000]> <longitude [degree * 3600000]> <height [cm]> <name> <eyeid>
;position1 = gps  -127785131 -250019135 139000 LosLeones 1
;position2 = gps  -126410651 -250559172 170000 Coihueco 4

position1 = gps   -127784760 -250018848 142300 LosLeones 1
position2 = gps   -126411600 -250558670 172600 Coihueco  4

; M. Kleifges (26.2.2005):
; Andreas setze folgende Werte: 3517'31.302" S, 6900'43,91" W, H= 1427.5m)
;position3 = gps  -127051307 -248444135 150500 LosMorados 2
position3 = gps   -127051302 -248443910 142750 LosMorados 2
position4 = gps  -125698751 -248992380 136600 LomaAmarilla 3
position5 = gps   176734890   30351606  17559 Karlsruhe 5



[CaptureProxy]
;enable = 1
port = /dev/ptyc0
edge = 1                   ; 0 falling, 1 rising, 2 both





[feshell]
prompt = EyeStation>