Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 )
extern

Definition at line 50 of file imu_nps.c.

References 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 )
extern

Definition at line 61 of file imu_nps.c.

References imu_nps, sensors, and VECT3_COPY.

Referenced by nps_autopilot_run_step().

Here is the caller graph for this function:

◆ sensors_hitl_event()

void sensors_hitl_event ( void )
extern

Definition at line 201 of file sensors_hitl.c.

References DlCheckAndParse(), get_sys_time_usec(), imu_hitl, IMU_NPS_ID, sensors_hitl_dl_buffer, sensors_hitl_msg_available, and sensors_hitl_tp.

Here is the call graph for this function:

◆ sensors_hitl_init()

void sensors_hitl_init ( void )
extern

◆ sensors_hitl_parse_HITL_AIR_DATA()

void sensors_hitl_parse_HITL_AIR_DATA ( uint8_t * buf)
extern

Definition at line 178 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()

void sensors_hitl_parse_HITL_IMU ( uint8_t * buf)
extern

Definition at line 87 of file sensors_hitl.c.

References imu_hitl, RATES_ASSIGN, and VECT3_ASSIGN.

◆ sensors_hitl_periodic()

void sensors_hitl_periodic ( void )
extern

Definition at line 76 of file sensors_hitl.c.

References electrical.

Variable Documentation

◆ gps_has_fix

bool gps_has_fix
extern