Menu

Configuration Files

Andy Stark

Configuration Files

Path: /home/starkox/conf

audio.cfg

  • configures basic audio
  • sh syntax
  • alsa configuration
  • playback volume

blackbox.cfg

  • configures parameters for blackbox
  • sh syntax
  • location of blackbox cache (usually no need to change)
  • location of output for bbx captures (usually no need to change)
  • bbx mirrors

  • definition of

    • bbx cam
    • duration (usually no need to change)
    • history length= duration*keep_files

cams.cfg

  • configures available camera for stream and imaging
  • syntax
  • cam name rec px port url img px device

    • cam: cam1, cam2 ...
    • name: eg front, back ...
    • rec px: resolution for stream, eg 320 240
    • port: port number
    • url: endstring of url
    • img px: resolution for single image, eg 640 480
    • device: unix device name, eg /dev/video0
  • example
    cam2 front-pantilt 320 240 8081 /?action=stream 640 480 /dev/video1

comm.cfg

  • defines mailing recipients, subjects and texts for surveillance, bbx and alert mails
  • sh syntax

congratulate.cfg

  • configures module congratulate
  • syntax
    dd mm text {text ...}

  • example
    24 12 Christmas Eve

hardware.cfg

  • configures handling of hardware components like piface or gpio pins
  • sh syntax
  • functions within this file are all needed for accurate operating

media.env

  • configures parameters for media handling
  • sh syntax
  • configures

    • default volume
    • mount point of media server
    • location of playlists on server
    • location of playlists on workstation
  • equalizer presets at end of file

  • **functions within this file are all needed for accurate operating

pwr.cfg

  • configures parameters related to energy supply
  • sh syntax

sensors.cfg

  • configures access to sensor data
  • sh syntax

serial.txt

  • defines roboters name (Hardware, not software)
  • Syntax
    Modelname [ sub-name ] ... [ ] (Major Version).(Minor Version)

servos.cfg

  • defines available servos
  • syntax
  • servoname usage sub-usage

*example
servo1 cam1 pan

sonar.cfg

  • defines availble sonars

startup.cfg

  • defines startup behavior
  • sh syntax

    • set mode flags
    • set bbx startmode
    • **functions within this file are all needed for accurate operating