Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
scout_detector.c File Reference

Scoutector driver Initially made for IMAV 2026 ! More...

#include "modules/search_and_rescue/scout_detector.h"
#include "string.h"
#include "uavcan/uavcan.h"
#include "uavcan.protocol.debug.KeyValue.h"
#include "modules/datalink/downlink.h"
Include dependency graph for scout_detector.c:

Go to the source code of this file.

Functions

static void scout_detector_uavcan_cb (struct uavcan_iface_t *iface, CanardRxTransfer *transfer)
void scout_detector_init (void)
void scout_detector_report (void)
void scout_detector_sim (void)

Variables

static uavcan_event scout_detector_uavcan_ev
scoutector_t scout_data
struct search_map_t scout_map

Detailed Description

Scoutector driver Initially made for IMAV 2026 !

Definition in file scout_detector.c.

Function Documentation

◆ scout_detector_init()

void scout_detector_init ( void )

Definition at line 65 of file scout_detector.c.

References scout_detector_uavcan_cb(), scout_detector_uavcan_ev, scout_map, search_map_init_from_wp(), and uavcan_bind().

Here is the call graph for this function:

◆ scout_detector_report()

void scout_detector_report ( void )

Definition at line 74 of file scout_detector.c.

References DefaultChannel, DefaultDevice, f, and scout_data.

◆ scout_detector_sim()

void scout_detector_sim ( void )

Definition at line 81 of file scout_detector.c.

References float_vect3_norm(), scout_data, scout_map, search_map_update(), stateGetPositionEnu_f(), stateGetPositionNed_f(), VECT3_DIFF, and waypoint_get_enu_f().

Here is the call graph for this function:

◆ scout_detector_uavcan_cb()

void scout_detector_uavcan_cb ( struct uavcan_iface_t * iface,
CanardRxTransfer * transfer )
static

Definition at line 41 of file scout_detector.c.

References scout_data, scout_map, search_map_update(), stateGetPositionNed_f(), and transfer().

Referenced by scout_detector_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ scout_data

scoutector_t scout_data

◆ scout_detector_uavcan_ev

uavcan_event scout_detector_uavcan_ev
static

Definition at line 36 of file scout_detector.c.

Referenced by scout_detector_init().

◆ scout_map

struct search_map_t scout_map