Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
SonarAdc Struct Reference

#include <sonar_adc.h>

Data Fields

uint16_t meas
 Raw ADC value. More...
 
uint16_t offset
 Sonar offset in ADC units. More...
 
float distance
 Distance measured in meters. More...
 

Detailed Description

Definition at line 32 of file sonar_adc.h.

Field Documentation

float SonarAdc::distance

Distance measured in meters.

Definition at line 35 of file sonar_adc.h.

Referenced by sonar_adc_read().

uint16_t SonarAdc::meas

Raw ADC value.

Definition at line 33 of file sonar_adc.h.

Referenced by sonar_adc_init(), and sonar_adc_read().

uint16_t SonarAdc::offset

Sonar offset in ADC units.

Definition at line 34 of file sonar_adc.h.

Referenced by sonar_adc_init(), and sonar_adc_read().


The documentation for this struct was generated from the following file: