Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nps_electrical.h File Reference

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

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NpsElectrical


void nps_electrical_init (void)
void nps_electrical_run_step (double time)


struct NpsElectrical nps_electrical

Detailed Description

Electrical status (bat voltage) for NPS.

Definition in file nps_electrical.h.

Data Structure Documentation

◆ NpsElectrical

struct NpsElectrical

Definition at line 30 of file nps_electrical.h.

Data Fields
float supply_voltage

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 1 of file nps_electrical.c.

Referenced by nps_electrical_init(), and nps_electrical_run_step().