Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
sensors_hitl.h File Reference
#include "std.h"
+ Include dependency graph for sensors_hitl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRIMARY_GPS   GPS_SIM
 

Functions

void sensors_hitl_init (void)
 
void sensors_hitl_periodic (void)
 
void sensors_hitl_event (void)
 
void sensors_hitl_parse_HITL_IMU (uint8_t *buf)
 
void sensors_hitl_parse_HITL_GPS (uint8_t *buf)
 
void sensors_hitl_parse_HITL_AIR_DATA (uint8_t *buf)
 
void imu_feed_gyro_accel (void)
 
void imu_feed_mag (void)
 
void gps_feed_value (void)
 

Variables

bool gps_has_fix
 

Macro Definition Documentation

◆ PRIMARY_GPS

#define PRIMARY_GPS   GPS_SIM

Definition at line 27 of file sensors_hitl.h.

Function Documentation

◆ gps_feed_value()

◆ imu_feed_gyro_accel()

void imu_feed_gyro_accel ( void  )

Definition at line 65 of file imu_nps.c.

References ImuNps::accel, ImuNps::accel_available, ImuNps::gyro, ImuNps::gyro_available, imu_nps, RATES_ASSIGN, sensors, and VECT3_COPY.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ imu_feed_mag()

void imu_feed_mag ( void  )

Definition at line 76 of file imu_nps.c.

References imu_nps, ImuNps::mag, ImuNps::mag_available, sensors, and VECT3_COPY.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ sensors_hitl_event()

◆ sensors_hitl_init()

◆ sensors_hitl_parse_HITL_AIR_DATA()

void sensors_hitl_parse_HITL_AIR_DATA ( uint8_t buf)

Definition at line 191 of file sensors_hitl.c.

References AIRSPEED_NPS_ID, BARO_SIM_SENDER_ID, get_sys_time_usec(), and INCIDENCE_NPS_ID.

+ Here is the call graph for this function:

◆ sensors_hitl_parse_HITL_GPS()

◆ sensors_hitl_parse_HITL_IMU()

◆ sensors_hitl_periodic()

void sensors_hitl_periodic ( void  )

Definition at line 89 of file sensors_hitl.c.

References electrical, and Electrical::vsupply.

Variable Documentation

◆ gps_has_fix

bool gps_has_fix
extern