Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nps_electrical.c File Reference

Electrical status (bat voltage) for NPS. More...

#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

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:

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

struct NpsElectrical nps_electrical

Definition at line 31 of file nps_electrical.c.

Referenced by nps_electrical_init(), and nps_electrical_run_step().