Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
sonar_bebop.h File Reference

Parrot Bebop Sonar driver. More...

#include "std.h"
+ Include dependency graph for sonar_bebop.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SonarBebop
 

Functions

void sonar_bebop_init (void)
 
void sonar_bebop_event (void)
 

Variables

struct SonarBebop sonar_bebop
 

Detailed Description

Parrot Bebop Sonar driver.

Definition in file sonar_bebop.h.


Data Structure Documentation

◆ SonarBebop

struct SonarBebop

Definition at line 32 of file sonar_bebop.h.

Data Fields
bool available New data available.
float distance Distance measured in meters.
uint16_t meas Raw ADC value.
uint16_t offset Sonar offset in ADC units.

Function Documentation

◆ sonar_bebop_event()

void sonar_bebop_event ( void  )

◆ sonar_bebop_init()

Variable Documentation

◆ sonar_bebop

struct SonarBebop sonar_bebop
extern

Definition at line 101 of file sonar_bebop.c.

Referenced by sonar_bebop_event(), sonar_bebop_init(), and sonar_bebop_read().