Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 1.39 KB

README.rst

File metadata and controls

65 lines (41 loc) · 1.39 KB

LiDAR Data Reception for the Garmin LiDAR-Lite v3HP

Title: lidar-read

Options

Optional arguments:
-h, --help Show help message and exit
--led LED LED Pin. default is 20
-l LOCATION, --location LOCATION
 GPS location. Default is first four letters of hostname (i.e. harv)

Installation

Create virtual environment:

python -m venv --prompt=lidar .venv
source .venv/bin/activate

Inside Virtual Environment:

python setup.py install

How to run

Source Virtual Environment:

source .venv/bin/activate

Run:

lidar-read

Related Files

  • Private key for station must be located in /home/ccaruser/.keys

Author

Adam Dodge

University of Colorado Boulder

Colorado Center for Astrodynamics Research

Jet Propulsion Laboratory

Purpose

This program runs on a raspberry pi and reads data from a Garmin LiDAR-Lite v3HP. It initially configures the LiDAR to the correct settings, and then takes data at a rate close to 200Hz. Every minute it sends a post api request to the web server located on cods.colorado.edu where the data is stored and analyzed. This program also blinks an LED to show someone that it is running just by looking at the system.