Lsb-server

From University of Washington - Ubicomp Research Page
Revision as of 01:31, 11 August 2007 by Karl Koscher (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

lsb-server

The lsb-server is a program which interfaces with the LSB via the serial port and handles transmission of the sensor data over IPC and other shared memory mechanisms. Unlike msb-server, it cannot write UWAR files directly.

usage

    Typical Usage

      lsb-server -ini lsb.ini
      

      where lsb.ini will typically contain:

      SERIAL_DEVICE                   /dev/ttyS2
      BAUD_RATE                       921600
      HARDWARE_FLOW_CONTROL           0
      SCHEDULE_INTERRUPT_COUNT        5120
      SCHEDULE_GYRO                   640
      SCHEDULE_MAGNETOMETER          	320
      IPC_PUBLISH_STREAM              0
      SHM_PUBLISH_STREAM              1
      

    Available Commands

      In addition the lsb-server also supports the following switch commands:
      -sync-rtc   Set the system time with the RTC on the LSB (LSB RTC --> System Time)
      -show-rtc   Retrieve the RTC time from the LSB
      -set-to-rtc Set the LSB RTC with the time specified in the following format: year-month-day hour:min:seconds (e.g. 2007-1-1 2:32:01)
      -use-rtc