Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_electrical.c File Reference
#include "nps_electrical.h"
#include "generated/airframe.h"
#include "subsystems/electrical.h"
+ Include dependency graph for nps_electrical.c:

Go to the source code of this file.

Functions

void nps_electrical_init (void)
 
void nps_electrical_run_step (double time)
 

Variables

struct NpsElectrical nps_electrical
 

Detailed Description

Electrical status (bat voltage) for NPS.

Definition in file nps_electrical.c.

Function Documentation

◆ nps_electrical_init()

void nps_electrical_init ( void  )

Definition at line 33 of file nps_electrical.c.

References nps_electrical, and NpsElectrical::supply_voltage.

Referenced by nps_autopilot_init().

+ Here is the caller graph for this function:

◆ nps_electrical_run_step()

void nps_electrical_run_step ( double  time)

Definition at line 44 of file nps_electrical.c.

References electrical, nps_electrical, NpsElectrical::supply_voltage, and Electrical::vsupply.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

Variable Documentation

◆ nps_electrical

struct NpsElectrical nps_electrical

Definition at line 31 of file nps_electrical.c.

Referenced by nps_electrical_init(), and nps_electrical_run_step().