Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/gps/gps_sim_nps.h"
#include "modules/gps/gps.h"
#include "modules/core/abi.h"
#include "nps_sensors.h"
#include "nps_fdm.h"
#include "modules/datalink/datalink.h"
Go to the source code of this file.
Functions | |
void | gps_feed_value (void) |
void | gps_nps_init (void) |
Variables | |
struct GpsState | gps_nps |
bool | gps_has_fix |
void gps_feed_value | ( | void | ) |
Definition at line 32 of file gps_sim_nps.c.
References LlaCoor_i::alt, GpsState::course, GpsState::ecef_pos, GpsState::ecef_vel, fdm, GpsState::fix, get_sys_time_usec(), GPS_FIX_3D, GPS_FIX_NONE, gps_has_fix, gps_nps, GPS_SIM_ID, GPS_VALID_COURSE_BIT, GPS_VALID_HMSL_BIT, GPS_VALID_POS_ECEF_BIT, GPS_VALID_POS_LLA_BIT, GPS_VALID_VEL_ECEF_BIT, GPS_VALID_VEL_NED_BIT, GpsState::gspeed, GpsState::hacc, GpsState::hmsl, GpsState::last_3dfix_ticks, GpsState::last_3dfix_time, GpsState::last_msg_ticks, GpsState::last_msg_time, LlaCoor_i::lat, GpsState::lla_pos, LlaCoor_i::lon, ltp_def_from_ecef_d(), NpsFdm::ltp_to_body_eulers, sys_time::nb_sec, sys_time::nb_sec_rem, ned_of_ecef_vect_d(), GpsState::ned_vel, GpsState::num_sv, GpsState::pacc, GpsState::pdop, DoubleEulers::psi, GpsState::sacc, sensors, GpsState::speed_3d, NpsFdm::time, GpsState::tow, GpsState::vacc, GpsState::valid_fields, GpsState::week, NedCoor_d::x, EcefCoor_i::x, NedCoor_i::x, NedCoor_d::y, EcefCoor_i::y, NedCoor_i::y, NedCoor_d::z, EcefCoor_i::z, and NedCoor_i::z.
Referenced by nps_autopilot_run_step().
void gps_nps_init | ( | void | ) |
Definition at line 104 of file gps_sim_nps.c.
References gps_has_fix.
bool gps_has_fix |
Definition at line 30 of file gps_sim_nps.c.
Referenced by gps_feed_value(), gps_nps_init(), and on_WORLD_ENV().
struct GpsState gps_nps |
Definition at line 1 of file gps_sim_nps.c.
Referenced by gps_feed_value().