Lsb-server
From University of Washington - Ubicomp Research Page
Jump to navigationJump to search
lsb-server
- msp/src/lsb/lsb-main.c
- linux download (xscale)
- linux download (x86)
- currently not available for windows
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