Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_autopilot_fixedwing.c File Reference
#include "nps_autopilot.h"
#include "nps_sensors.h"
#include "nps_radio_control.h"
#include "nps_electrical.h"
#include "nps_fdm.h"
#include "subsystems/radio_control.h"
#include "subsystems/imu.h"
#include "mcu_periph/sys_time.h"
#include "state.h"
#include "subsystems/commands.h"
#include "subsystems/abi.h"
#include "autopilot.h"
#include "subsystems/datalink/datalink.h"
#include <stdio.h>
#include "subsystems/gps.h"
+ Include dependency graph for nps_autopilot_fixedwing.c:

Go to the source code of this file.

Macros

#define Fbw(f)
 
#define Ap(f)
 
#define NPS_BYPASS_AHRS   FALSE
 
#define NPS_BYPASS_INS   FALSE
 

Functions

void nps_autopilot_init (enum NpsRadioControlType type_rc, int num_rc_script, char *rc_dev)
 
void nps_autopilot_run_systime_step (void)
 
void nps_autopilot_run_step (double time)
 
void sim_overwrite_ahrs (void)
 
void sim_overwrite_ins (void)
 

Variables

struct NpsAutopilot nps_autopilot
 
bool nps_bypass_ahrs
 
bool nps_bypass_ins
 

Macro Definition Documentation

◆ Ap

#define Ap (   f)

Definition at line 36 of file nps_autopilot_fixedwing.c.

◆ Fbw

#define Fbw (   f)

Definition at line 29 of file nps_autopilot_fixedwing.c.

◆ NPS_BYPASS_AHRS

#define NPS_BYPASS_AHRS   FALSE

Definition at line 68 of file nps_autopilot_fixedwing.c.

◆ NPS_BYPASS_INS

#define NPS_BYPASS_INS   FALSE

Definition at line 72 of file nps_autopilot_fixedwing.c.

Function Documentation

◆ nps_autopilot_init()

void nps_autopilot_init ( enum NpsRadioControlType  type_rc,
int  num_rc_script,
char *  rc_dev 
)

◆ nps_autopilot_run_step()

◆ nps_autopilot_run_systime_step()

void nps_autopilot_run_systime_step ( void  )

Definition at line 98 of file nps_autopilot_fixedwing.c.

References sys_tick_handler().

+ Here is the call graph for this function:

◆ sim_overwrite_ahrs()

void sim_overwrite_ahrs ( void  )

Definition at line 255 of file nps_autopilot_fixedwing.c.

References NpsFdm::body_ecef_rotvel, fdm, NpsFdm::ltp_to_body_quat, QUAT_COPY, RATES_COPY, stateSetBodyRates_f(), and stateSetNedToBodyQuat_f().

Referenced by nps_autopilot_run_step().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sim_overwrite_ins()

Variable Documentation

◆ nps_autopilot

struct NpsAutopilot nps_autopilot

Definition at line 63 of file nps_autopilot_fixedwing.c.

Referenced by nps_autopilot_init(), and nps_autopilot_run_step().

◆ nps_bypass_ahrs

bool nps_bypass_ahrs

Definition at line 64 of file nps_autopilot_fixedwing.c.

Referenced by nps_autopilot_init(), and nps_autopilot_run_step().

◆ nps_bypass_ins

bool nps_bypass_ins

Definition at line 65 of file nps_autopilot_fixedwing.c.

Referenced by nps_autopilot_init(), and nps_autopilot_run_step().