Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
autopilot_firmware.c File Reference
#include "firmwares/rover/autopilot_firmware.h"
#include "generated/modules.h"
#include <stdint.h>
#include "subsystems/electrical.h"
#include "subsystems/datalink/telemetry.h"
#include "subsystems/radio_control.h"
#include "subsystems/gps.h"
#include "modules/nav/nav_geofence.h"
+ Include dependency graph for autopilot_firmware.c:

Go to the source code of this file.

Functions

static void send_status (struct transport_tx *trans, struct link_device *dev)
 
static void send_energy (struct transport_tx *trans, struct link_device *dev)
 
static void send_fp (struct transport_tx *trans, struct link_device *dev)
 
static void send_rotorcraft_rc (struct transport_tx *trans, struct link_device *dev)
 
void autopilot_firmware_init (void)
 Init function. More...
 
void autopilot_event (void)
 autopilot event function More...
 

Function Documentation

◆ autopilot_event()

void autopilot_event ( void  )

autopilot event function

Autopilot event check function.

Definition at line 137 of file autopilot_firmware.c.

◆ autopilot_firmware_init()

◆ send_energy()

static void send_energy ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

Definition at line 70 of file autopilot_firmware.c.

References autopilot, Electrical::charge, Electrical::current, dev, electrical, Electrical::energy, MAX_PPRZ, pprz_autopilot::throttle, and Electrical::vsupply.

Referenced by autopilot_firmware_init().

+ Here is the caller graph for this function:

◆ send_fp()

static void send_fp ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

◆ send_rotorcraft_rc()

static void send_rotorcraft_rc ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

Definition at line 105 of file autopilot_firmware.c.

References dev, radio_control, RADIO_KILL_SWITCH, RADIO_MODE, RADIO_PITCH, RADIO_ROLL, RADIO_THROTTLE, RADIO_YAW, RadioControl::status, and RadioControl::values.

Referenced by autopilot_firmware_init().

+ Here is the caller graph for this function:

◆ send_status()

static void send_status ( struct transport_tx *  trans,
struct link_device *  dev 
)
static