Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
teraranger_one.h File Reference
#include "std.h"
+ Include dependency graph for teraranger_one.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  TeraRanger
 

Functions

void teraranger_init (void)
 
void teraranger_periodic (void)
 
void teraranger_event (void)
 
void teraranger_downlink (void)
 

Variables

struct TeraRanger teraranger
 

Detailed Description

Author
Gautier Hattenberger gauti.nosp@m.er.h.nosp@m.atten.nosp@m.berg.nosp@m.er@en.nosp@m.ac.f.nosp@m.r Driver for the TeraRanger One range finder (I2C)

Definition in file teraranger_one.h.


Data Structure Documentation

◆ TeraRanger

struct TeraRanger

Definition at line 31 of file teraranger_one.h.

Data Fields
bool data_available
float dist scaled distance in m
float offset offset in m
uint16_t raw raw distance in mm

Function Documentation

◆ teraranger_downlink()

void teraranger_downlink ( void  )

◆ teraranger_event()

◆ teraranger_init()

◆ teraranger_periodic()

void teraranger_periodic ( void  )

Definition at line 106 of file teraranger_one.c.

References i2c_receive(), I2CTransDone, i2c_transaction::status, teraranger_i2c_trans, and TERARANGER_ONE_I2C_ADDR.

+ Here is the call graph for this function:

Variable Documentation

◆ teraranger

struct TeraRanger teraranger
extern

Definition at line 76 of file teraranger_one.c.

Referenced by teraranger_downlink(), teraranger_event(), and teraranger_init().