Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
nps_sensor_gps.c File Reference
#include "nps_sensor_gps.h"
#include <stdio.h>
#include "generated/airframe.h"
#include "nps_fdm.h"
#include "nps_random.h"
#include "nps_sensors_utils.h"
#include "nps_sensors.h"
Include dependency graph for nps_sensor_gps.c:

Go to the source code of this file.

Functions

void nps_sensor_gps_init (struct NpsSensorGps *gps, double time)
void nps_sensor_gps_run_step (struct NpsSensorGps *gps, double time)

Function Documentation

◆ nps_sensor_gps_init()

void nps_sensor_gps_init ( struct NpsSensorGps * gps,
double time )

Definition at line 10 of file nps_sensor_gps.c.

References FALSE, FLOAT_VECT3_ZERO, gps, and VECT3_ASSIGN.

Referenced by nps_sensors_init().

Here is the caller graph for this function:

◆ nps_sensor_gps_run_step()

void nps_sensor_gps_run_step ( struct NpsSensorGps * gps,
double time )

Definition at line 39 of file nps_sensor_gps.c.

References double_vect3_add_gaussian_noise(), double_vect3_update_random_walk(), fdm, gps, lla_of_ecef_d(), TRUE, UpdateSensorLatency(), UpdateSensorLatency_Single(), VECT3_ADD, and VECT3_COPY.

Referenced by nps_sensors_run_step().

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