 |
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
35 #include "pprzlink/messages.h"
44 #if PERIODIC_TELEMETRY
53 pprz_msg_send_LIDAR(trans,
dev, AC_ID,
75 #if PERIODIC_TELEMETRY
160 float gain = (float)fabs((
double)(cosf(phi) * cosf(theta)));
#define AGL_LIDAR_TFMINI_ID
void tfmini_init(void)
Initialization function.
static struct FloatEulers * stateGetNedToBodyEulers_f(void)
Get vehicle body attitude euler angles (float).
@ TFMINI_PARSE_STRENGTH_L
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void tfmini_event(void)
Lidar event function Receive bytes from the UART port and parse them.
static const struct usb_device_descriptor dev
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.
Common code for AP and FBW telemetry.
static void tfmini_parse(uint8_t byte)
Parse the lidar bytes 1 by 1.
@ TFMINI_PARSE_STRENGTH_H
struct link_device * device
enum TFMiniParseStatus parse_status
driver for the TFMini lidar
#define DefaultPeriodic
Set default periodic telemetry.
static void tfmini_send_lidar(struct transport_tx *trans, struct link_device *dev)
Downlink message lidar.