Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/range_finder/laser_range_array.h"
#include "generated/airframe.h"
#include "pprzlink/pprz_transport.h"
#include "pprzlink/intermcu_msg.h"
#include "mcu_periph/uart.h"
#include "subsystems/abi.h"
#include "message_pragmas.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
Go to the source code of this file.
Data Structures | |
struct | laser_range_array_t |
Macros | |
#define | VL53L0_MAX_VAL 8.191f |
Functions | |
void | laser_range_array_init (void) |
static void | laser_range_array_parse_msg (void) |
void | laser_range_array_event (void) |
Variables | |
static struct laser_range_array_t | laser_range_array |
static uint8_t | lra_msg_buf [128] |
The message buffer. More... | |
static float | laser_range_array_orientations [] = LASER_RANGE_ARRAY_ORIENTATIONS |
static uint8_t | agl_id = 255 |
struct laser_range_array_t |
Definition at line 43 of file laser_range_array.c.
Data Fields | ||
---|---|---|
struct link_device * | device | The device which is uses for communication. |
bool | msg_available | If we received a message. |
struct pprz_transport | transport | The transport layer (PPRZ) |
#define VL53L0_MAX_VAL 8.191f |
Definition at line 60 of file laser_range_array.c.
Referenced by laser_range_array_parse_msg().
void laser_range_array_event | ( | void | ) |
Definition at line 106 of file laser_range_array.c.
References laser_range_array_t::device, laser_range_array_parse_msg(), lra_msg_buf, laser_range_array_t::msg_available, and laser_range_array_t::transport.
void laser_range_array_init | ( | void | ) |
Definition at line 62 of file laser_range_array.c.
References laser_range_array_orientations, and laser_range_array_t::transport.
|
static |
Definition at line 79 of file laser_range_array.c.
References AGL_VL53L0_LASER_ARRAY_ID, get_sys_time_usec(), laser_range_array_orientations, lra_msg_buf, OBS_DETECTION_RANGE_ARRAY_ID, and VL53L0_MAX_VAL.
Referenced by laser_range_array_event().
|
static |
Definition at line 58 of file laser_range_array.c.
|
static |
Definition at line 49 of file laser_range_array.c.
|
static |
Definition at line 57 of file laser_range_array.c.
Referenced by laser_range_array_init(), and laser_range_array_parse_msg().
|
static |
The message buffer.
Definition at line 54 of file laser_range_array.c.
Referenced by laser_range_array_event(), and laser_range_array_parse_msg().