Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nps_ivy.c File Reference
#include "nps_ivy.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <Ivy/ivy.h>
#include <Ivy/ivyglibloop.h>
#include "generated/airframe.h"
#include "math/pprz_algebra_float.h"
#include "math/pprz_algebra_double.h"
#include "nps_main.h"
#include "nps_autopilot.h"
#include "nps_fdm.h"
#include "nps_sensors.h"
#include "nps_atmosphere.h"
#include "subsystems/gps.h"
#include <NPS_SENSORS_PARAMS>
#include "generated/settings.h"
#include "pprzlink/dl_protocol.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for nps_ivy.c:

Go to the source code of this file.

Functions

static void on_WORLD_ENV (IvyClientPtr app, void *user_data, int argc, char *argv[])
 
static void on_DL_SETTING (IvyClientPtr app, void *user_data, int argc, char *argv[])
 
void nps_ivy_init (char *ivy_bus)
 
void nps_ivy_send_WORLD_ENV_REQ (void)
 
void nps_ivy_display (void)
 

Variables

static MsgRcvPtr ivyPtr = NULL
 
static int seq = 1
 

Function Documentation

void nps_ivy_init ( char *  ivy_bus)

Definition at line 37 of file nps_ivy.c.

References on_DL_SETTING(), and on_WORLD_ENV().

Referenced by nps_main_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void nps_ivy_send_WORLD_ENV_REQ ( void  )

Definition at line 96 of file nps_ivy.c.

References fdm, NpsFdm::hmsl, LlaCoor_d::lat, NpsFdm::lla_pos_pprz, LlaCoor_d::lon, NpsFdm::ltpprz_pos, on_WORLD_ENV(), NedCoor_d::x, NedCoor_d::y, and NedCoor_d::z.

Referenced by nps_atmosphere_update().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void on_DL_SETTING ( IvyClientPtr  app,
void *  user_data,
int  argc,
char *  argv[] 
)
static

Definition at line 123 of file nps_ivy.c.

References DefaultChannel, and DefaultDevice.

Referenced by nps_ivy_init().

+ Here is the caller graph for this function:

static void on_WORLD_ENV ( IvyClientPtr  app,
void *  user_data,
int  argc,
char *  argv[] 
)
static

Definition at line 65 of file nps_ivy.c.

References gps_has_fix, nps_atmosphere_set_wind_ned(), nps_set_time_factor(), FloatVect3::x, FloatVect3::y, and FloatVect3::z.

Referenced by nps_ivy_init(), and nps_ivy_send_WORLD_ENV_REQ().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

MsgRcvPtr ivyPtr = NULL
static

Definition at line 93 of file nps_ivy.c.

int seq = 1
static

Definition at line 94 of file nps_ivy.c.