Paparazzi UAS  v5.18.0_stable
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


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


struct TeraRanger teraranger

Detailed Description

Gautier Hattenberger 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

Definition at line 90 of file teraranger_one.c.

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