|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/digital_cam/thermal_ctl.h"#include "modules/datalink/downlink.h"#include "modules/datalink/extra_pprz_dl.h"#include <stdio.h>#include <string.h>
Include dependency graph for thermal_ctl.c:Go to the source code of this file.
Data Structures | |
| struct | thermal_spot |
Macros | |
| #define | THERMAL_CTL_NONE 0 |
| #define | THERMAL_CTL_PWR_OFF 1 |
| #define | THERMAL_CTL_REC_ON 2 |
| #define | THERMAL_CTL_REC_OFF 3 |
| #define | NB_SPOTS 3 |
Functions | |
| static void | thermal_send_draw (struct thermal_spot *spot) |
| static void | update_hottests (struct thermal_spot *spot) |
| void | thermal_ctl_thermal_ctl_handler (float value) |
| void | thermal_ctl_thermal_threshold_handler (float value) |
| void | thermal_clusters_cb (uint8_t *buf) |
| void | thermal_cluster_periodic () |
Variables | |
| float | thermal_ctl = 0 |
| float | thermal_threshold = 50 |
| struct thermal_spot | hottest_spots [3] = {0} |
Control a thermal camera connected to a companion computer.
See https://github.com/enacuavlab/thermal_imav2026 for more information about the integration of a MLX90640 thermal camera.
Payload is controlled via PAYLOAD_COMMAND messages. Designed for IMAV2026 competition.
Definition in file thermal_ctl.c.
| struct thermal_spot |
| #define NB_SPOTS 3 |
Definition at line 48 of file thermal_ctl.c.
| #define THERMAL_CTL_NONE 0 |
Definition at line 43 of file thermal_ctl.c.
| #define THERMAL_CTL_PWR_OFF 1 |
Definition at line 44 of file thermal_ctl.c.
| #define THERMAL_CTL_REC_OFF 3 |
Definition at line 46 of file thermal_ctl.c.
| #define THERMAL_CTL_REC_ON 2 |
Definition at line 45 of file thermal_ctl.c.
Definition at line 163 of file thermal_ctl.c.
References thermal_spot::cluster_idx, foo, hottest_spots, NB_SPOTS, and thermal_send_draw().
Here is the call graph for this function:Definition at line 95 of file thermal_ctl.c.
References b, thermal_spot::cluster_idx, foo, thermal_send_draw(), and update_hottests().
Here is the call graph for this function:Definition at line 66 of file thermal_ctl.c.
References extra_pprz_tp, foo, THERMAL_CTL_PWR_OFF, THERMAL_CTL_REC_OFF, THERMAL_CTL_REC_ON, and val.
Definition at line 87 of file thermal_ctl.c.
References extra_pprz_tp, foo, and thermal_threshold.
|
static |
Definition at line 148 of file thermal_ctl.c.
References DefaultChannel, DefaultDevice, foo, and status.
Referenced by thermal_cluster_periodic(), and thermal_clusters_cb().
Here is the caller graph for this function:
|
static |
Definition at line 121 of file thermal_ctl.c.
References foo, hottest_spots, NB_SPOTS, thermal_spot::temp, and thermal_threshold.
Referenced by thermal_clusters_cb().
Here is the caller graph for this function:| struct thermal_spot hottest_spots[3] = {0} |
Definition at line 60 of file thermal_ctl.c.
Referenced by thermal_cluster_periodic(), and update_hottests().
| float thermal_ctl = 0 |
Definition at line 40 of file thermal_ctl.c.
| float thermal_threshold = 50 |
Definition at line 41 of file thermal_ctl.c.
Referenced by thermal_ctl_thermal_threshold_handler(), and update_hottests().