## LRAUV BACKSEAT HELPER APPLICATION

This repo hosts a Python3 LRAUV backseat application. The helper app should be installed on LRAUV backseat 
computers (BSCs) in support of LRAUV offshore operations.

## Overview

The application is designed to run as a Linux service when the BSC is powered. The app can be configured to communicate
with the LRAUV main vehicle application (MVA) and process telemetry data via Tethys backseat API. If desired, the app 
can be programed to process incoming data to produce local data product and/or issue commands to the LRAUV in return. 

The app can also be configured to:

- Produce a Tethys LCM API heartbeat message.
- Issue Tethys LCM API data requests to the MVA. 
- Log LCM data locally to the BSC's file system via lcm-logger.

See supervisor/ExportLogs.py utility app for exporting LCM binary logs to HDF5 or NetCDF4 formats.  
 
## Usage

See service/README.md for the Linux service installation instructions.

Alternatively, you can run manually by:

```

$ cd lrauv-backseat-helper
$ python3 LrauvBackseat.py

```

## Prerequisites 

- python >= 3.4.2
- LCM >= 1.3.1
- numpy
- PyYAML
- h5py 
- netCDF4
