|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
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) |
Variables | |
| struct SonarBebop | sonar_bebop |
Parrot Bebop Sonar driver.
Definition in file sonar_bebop.h.
| struct SonarBebop |
Definition at line 32 of file sonar_bebop.h.
| Data Fields | ||
|---|---|---|
| float | distance | Distance measured in meters. |
| uint16_t | meas | Raw ADC value. |
| uint16_t | offset | Sonar offset in ADC units. |
| void sonar_bebop_init | ( | void | ) |
Definition at line 97 of file sonar_bebop.c.
References spi_transaction::dss, init_median_filter_f(), spi_transaction::input_buf, spi_transaction::input_length, SonarBebop::meas, mode, SonarBebop::offset, spi_transaction::output_buf, spi_transaction::output_length, pulse_transition_counter, spi_transaction::select, sonar_bebop, sonar_bebop_read(), sonar_bebop_spi_d, sonar_bebop_spi_t, sonar_filt, SPIDss8bit, SPISelectUnselect, SPITransDone, and spi_transaction::status.
Here is the call graph for this function:| struct SonarBebop sonar_bebop |
Definition at line 89 of file sonar_bebop.c.
Referenced by sonar_bebop_init(), and sonar_bebop_read().