FlightGear next
ADA.cxx File Reference
#include <cstring>
#include <cstdio>
#include <simgear/io/iochannel.hxx>
#include <simgear/io/sg_socket.hxx>
#include <simgear/constants.h>
#include <Aircraft/controls.hxx>
#include <Scenery/scenery.hxx>
#include <Main/globals.hxx>
#include <Main/fg_props.hxx>
#include "ADA.hxx"

Go to the source code of this file.

Macros

#define numberofbytes   472
 
#define nbytes   8
 
#define ground_elevation   visuals_to_sixdof.ground_elevation
 
#define number_of_bytes   sixdof_to_visuals.number_of_bytes
 
#define U_dot_local   sixdof_to_visuals.U_dot_local
 
#define V_dot_local   sixdof_to_visuals.V_dot_local
 
#define W_dot_local   sixdof_to_visuals.W_dot_local
 
#define U_local   sixdof_to_visuals.U_local
 
#define V_local   sixdof_to_visuals.V_local
 
#define W_local   sixdof_to_visuals.W_local
 
#define throttle   sixdof_to_visuals.throttle
 
#define pstick   sixdof_to_visuals.pstick
 
#define rstick   sixdof_to_visuals.rstick
 
#define rpedal   sixdof_to_visuals.rpedal
 
#define V_north   sixdof_to_visuals.Vnorth
 
#define V_east   sixdof_to_visuals.Veast
 
#define V_down   sixdof_to_visuals.Vdown
 
#define V_calibrated_kts   sixdof_to_visuals.Vcas_kts
 
#define P_body   sixdof_to_visuals.prad
 
#define Q_body   sixdof_to_visuals.qrad
 
#define R_body   sixdof_to_visuals.rrad
 
#define Latitude_dot   sixdof_to_visuals.latitude_dot
 
#define Longitude_dot   sixdof_to_visuals.longitude_dot
 
#define Radius_dot   sixdof_to_visuals.radius_dot
 
#define Latitude   sixdof_to_visuals.latitude
 
#define Longitude   sixdof_to_visuals.longitude
 
#define Lat_geocentric   sixdof_to_visuals.lat_geoc
 
#define Lon_geocentric   sixdof_to_visuals.lon_geoc
 
#define Radius_to_vehicle   sixdof_to_visuals.radius_to_vehicle
 
#define Altitude   sixdof_to_visuals.altitude
 
#define Phi   sixdof_to_visuals.phirad
 
#define Theta   sixdof_to_visuals.thetrad
 
#define Psi   sixdof_to_visuals.psirad
 
#define Alpha   sixdof_to_visuals.alpharad
 
#define Beta   sixdof_to_visuals.betarad
 
#define Sea_level_radius   sixdof_to_visuals.sea_level_radius
 
#define Earth_position_angle   sixdof_to_visuals.earth_posn_angle
 
#define Runway_altitude   sixdof_to_visuals.Runway_altitude
 
#define Gamma_vert_rad   sixdof_to_visuals.Gamma_vert_rad
 
#define Machno   sixdof_to_visuals.Machno
 
#define anxg   sixdof_to_visuals.anxg
 
#define anyg   sixdof_to_visuals.anyg
 
#define anzg   sixdof_to_visuals.anzg
 

Variables

struct { 
 
   double   number_of_bytes 
 
   double   lat_geoc 
 
   double   lon_geoc 
 
   double   altitude 
 
   double   psirad 
 
   double   thetrad 
 
   double   phirad 
 
   double   earth_posn_angle 
 
   double   radius_to_vehicle 
 
   double   sea_level_radius 
 
   double   latitude 
 
   double   longitude 
 
   double   Vnorth 
 
   double   Veast 
 
   double   Vdown 
 
   double   Vcas_kts 
 
   double   prad 
 
   double   qrad 
 
   double   rrad 
 
   double   alpharad 
 
   double   betarad 
 
   double   latitude_dot 
 
   double   longitude_dot 
 
   double   radius_dot 
 
   double   Gamma_vert_rad 
 
   double   Runway_altitude 
 
   double   throttle 
 
   double   pstick 
 
   double   rstick 
 
   double   rpedal 
 
   double   U_local 
 
   double   V_local 
 
   double   W_local 
 
   double   U_dot_local 
 
   double   V_dot_local 
 
   double   W_dot_local 
 
   double   Machno 
 
   double   anxg 
 
   double   anyg 
 
   double   anzg 
 
   double   aux1 
 
   double   aux2 
 
   double   aux3 
 
   double   aux4 
 
   double   aux5 
 
   double   aux6 
 
   double   aux7 
 
   double   aux8 
 
   int   iaux1 
 
   int   iaux2 
 
   int   iaux3 
 
   int   iaux4 
 
   int   iaux5 
 
   int   iaux6 
 
   int   iaux7 
 
   int   iaux8 
 
   int   iaux9 
 
   int   iaux10 
 
   int   iaux11 
 
   int   iaux12 
 
   float   aux9 
 
   float   aux10 
 
   float   aux11 
 
   float   aux12 
 
   float   aux13 
 
   float   aux14 
 
   float   aux15 
 
   float   aux16 
 
   float   aux17 
 
   float   aux18 
 
sixdof_to_visuals 
 
double view_offset
 
struct { 
 
   double   ground_elevation 
 
visuals_to_sixdof 
 

Macro Definition Documentation

◆ Alpha

#define Alpha   sixdof_to_visuals.alpharad

Definition at line 153 of file ADA.cxx.

◆ Altitude

#define Altitude   sixdof_to_visuals.altitude

Definition at line 149 of file ADA.cxx.

◆ anxg

#define anxg   sixdof_to_visuals.anxg

Definition at line 160 of file ADA.cxx.

◆ anyg

#define anyg   sixdof_to_visuals.anyg

Definition at line 161 of file ADA.cxx.

◆ anzg

#define anzg   sixdof_to_visuals.anzg

Definition at line 162 of file ADA.cxx.

◆ Beta

#define Beta   sixdof_to_visuals.betarad

Definition at line 154 of file ADA.cxx.

◆ Earth_position_angle

#define Earth_position_angle   sixdof_to_visuals.earth_posn_angle

Definition at line 156 of file ADA.cxx.

◆ Gamma_vert_rad

#define Gamma_vert_rad   sixdof_to_visuals.Gamma_vert_rad

Definition at line 158 of file ADA.cxx.

◆ ground_elevation

#define ground_elevation   visuals_to_sixdof.ground_elevation

Definition at line 121 of file ADA.cxx.

◆ Lat_geocentric

#define Lat_geocentric   sixdof_to_visuals.lat_geoc

Definition at line 146 of file ADA.cxx.

◆ Latitude

#define Latitude   sixdof_to_visuals.latitude

Definition at line 144 of file ADA.cxx.

◆ Latitude_dot

#define Latitude_dot   sixdof_to_visuals.latitude_dot

Definition at line 141 of file ADA.cxx.

◆ Lon_geocentric

#define Lon_geocentric   sixdof_to_visuals.lon_geoc

Definition at line 147 of file ADA.cxx.

◆ Longitude

#define Longitude   sixdof_to_visuals.longitude

Definition at line 145 of file ADA.cxx.

◆ Longitude_dot

#define Longitude_dot   sixdof_to_visuals.longitude_dot

Definition at line 142 of file ADA.cxx.

◆ Machno

#define Machno   sixdof_to_visuals.Machno

Definition at line 159 of file ADA.cxx.

◆ nbytes

#define nbytes   8

Definition at line 40 of file ADA.cxx.

◆ number_of_bytes

#define number_of_bytes   sixdof_to_visuals.number_of_bytes

Definition at line 123 of file ADA.cxx.

◆ numberofbytes

#define numberofbytes   472

Definition at line 39 of file ADA.cxx.

◆ P_body

#define P_body   sixdof_to_visuals.prad

Definition at line 138 of file ADA.cxx.

◆ Phi

#define Phi   sixdof_to_visuals.phirad

Definition at line 150 of file ADA.cxx.

◆ Psi

#define Psi   sixdof_to_visuals.psirad

Definition at line 152 of file ADA.cxx.

◆ pstick

#define pstick   sixdof_to_visuals.pstick

Definition at line 131 of file ADA.cxx.

◆ Q_body

#define Q_body   sixdof_to_visuals.qrad

Definition at line 139 of file ADA.cxx.

◆ R_body

#define R_body   sixdof_to_visuals.rrad

Definition at line 140 of file ADA.cxx.

◆ Radius_dot

#define Radius_dot   sixdof_to_visuals.radius_dot

Definition at line 143 of file ADA.cxx.

◆ Radius_to_vehicle

#define Radius_to_vehicle   sixdof_to_visuals.radius_to_vehicle

Definition at line 148 of file ADA.cxx.

◆ rpedal

#define rpedal   sixdof_to_visuals.rpedal

Definition at line 133 of file ADA.cxx.

◆ rstick

#define rstick   sixdof_to_visuals.rstick

Definition at line 132 of file ADA.cxx.

◆ Runway_altitude

#define Runway_altitude   sixdof_to_visuals.Runway_altitude

Definition at line 157 of file ADA.cxx.

◆ Sea_level_radius

#define Sea_level_radius   sixdof_to_visuals.sea_level_radius

Definition at line 155 of file ADA.cxx.

◆ Theta

#define Theta   sixdof_to_visuals.thetrad

Definition at line 151 of file ADA.cxx.

◆ throttle

#define throttle   sixdof_to_visuals.throttle

Definition at line 130 of file ADA.cxx.

◆ U_dot_local

#define U_dot_local   sixdof_to_visuals.U_dot_local

Definition at line 124 of file ADA.cxx.

◆ U_local

#define U_local   sixdof_to_visuals.U_local

Definition at line 127 of file ADA.cxx.

◆ V_calibrated_kts

#define V_calibrated_kts   sixdof_to_visuals.Vcas_kts

Definition at line 137 of file ADA.cxx.

◆ V_dot_local

#define V_dot_local   sixdof_to_visuals.V_dot_local

Definition at line 125 of file ADA.cxx.

◆ V_down

#define V_down   sixdof_to_visuals.Vdown

Definition at line 136 of file ADA.cxx.

◆ V_east

#define V_east   sixdof_to_visuals.Veast

Definition at line 135 of file ADA.cxx.

◆ V_local

#define V_local   sixdof_to_visuals.V_local

Definition at line 128 of file ADA.cxx.

◆ V_north

#define V_north   sixdof_to_visuals.Vnorth

Definition at line 134 of file ADA.cxx.

◆ W_dot_local

#define W_dot_local   sixdof_to_visuals.W_dot_local

Definition at line 126 of file ADA.cxx.

◆ W_local

#define W_local   sixdof_to_visuals.W_local

Definition at line 129 of file ADA.cxx.

Variable Documentation

◆ alpharad

double alpharad

Definition at line 62 of file ADA.cxx.

◆ altitude

double altitude

Definition at line 46 of file ADA.cxx.

◆ anxg

double anxg

Definition at line 80 of file ADA.cxx.

◆ anyg

double anyg

Definition at line 81 of file ADA.cxx.

◆ anzg

double anzg

Definition at line 82 of file ADA.cxx.

◆ aux1

double aux1

Definition at line 83 of file ADA.cxx.

◆ aux10

float aux10

Definition at line 104 of file ADA.cxx.

◆ aux11

float aux11

Definition at line 105 of file ADA.cxx.

◆ aux12

float aux12

Definition at line 106 of file ADA.cxx.

◆ aux13

float aux13

Definition at line 107 of file ADA.cxx.

◆ aux14

float aux14

Definition at line 108 of file ADA.cxx.

◆ aux15

float aux15

Definition at line 109 of file ADA.cxx.

◆ aux16

float aux16

Definition at line 110 of file ADA.cxx.

◆ aux17

float aux17

Definition at line 111 of file ADA.cxx.

◆ aux18

float aux18

Definition at line 112 of file ADA.cxx.

◆ aux2

double aux2

Definition at line 84 of file ADA.cxx.

◆ aux3

double aux3

Definition at line 85 of file ADA.cxx.

◆ aux4

double aux4

Definition at line 86 of file ADA.cxx.

◆ aux5

double aux5

Definition at line 87 of file ADA.cxx.

◆ aux6

double aux6

Definition at line 88 of file ADA.cxx.

◆ aux7

double aux7

Definition at line 89 of file ADA.cxx.

◆ aux8

double aux8

Definition at line 90 of file ADA.cxx.

◆ aux9

float aux9

Definition at line 103 of file ADA.cxx.

◆ betarad

double betarad

Definition at line 63 of file ADA.cxx.

◆ earth_posn_angle

double earth_posn_angle

Definition at line 50 of file ADA.cxx.

◆ Gamma_vert_rad

double Gamma_vert_rad

Definition at line 67 of file ADA.cxx.

◆ ground_elevation

double ground_elevation

Definition at line 118 of file ADA.cxx.

◆ iaux1

int iaux1

Definition at line 91 of file ADA.cxx.

◆ iaux10

int iaux10

Definition at line 100 of file ADA.cxx.

◆ iaux11

int iaux11

Definition at line 101 of file ADA.cxx.

◆ iaux12

int iaux12

Definition at line 102 of file ADA.cxx.

◆ iaux2

int iaux2

Definition at line 92 of file ADA.cxx.

◆ iaux3

int iaux3

Definition at line 93 of file ADA.cxx.

◆ iaux4

int iaux4

Definition at line 94 of file ADA.cxx.

◆ iaux5

int iaux5

Definition at line 95 of file ADA.cxx.

◆ iaux6

int iaux6

Definition at line 96 of file ADA.cxx.

◆ iaux7

int iaux7

Definition at line 97 of file ADA.cxx.

◆ iaux8

int iaux8

Definition at line 98 of file ADA.cxx.

◆ iaux9

int iaux9

Definition at line 99 of file ADA.cxx.

◆ lat_geoc

double lat_geoc

Definition at line 44 of file ADA.cxx.

◆ latitude

double latitude

Definition at line 53 of file ADA.cxx.

◆ latitude_dot

double latitude_dot

Definition at line 64 of file ADA.cxx.

◆ lon_geoc

double lon_geoc

Definition at line 45 of file ADA.cxx.

◆ longitude

double longitude

Definition at line 54 of file ADA.cxx.

◆ longitude_dot

double longitude_dot

Definition at line 65 of file ADA.cxx.

◆ Machno

double Machno

Definition at line 79 of file ADA.cxx.

◆ number_of_bytes

double number_of_bytes

Definition at line 43 of file ADA.cxx.

◆ phirad

double phirad

Definition at line 49 of file ADA.cxx.

◆ prad

double prad

Definition at line 59 of file ADA.cxx.

◆ psirad

double psirad

Definition at line 47 of file ADA.cxx.

◆ pstick

double pstick

Definition at line 70 of file ADA.cxx.

◆ qrad

double qrad

Definition at line 60 of file ADA.cxx.

◆ radius_dot

double radius_dot

Definition at line 66 of file ADA.cxx.

◆ radius_to_vehicle

double radius_to_vehicle

Definition at line 51 of file ADA.cxx.

◆ rpedal

double rpedal

Definition at line 72 of file ADA.cxx.

◆ rrad

double rrad

Definition at line 61 of file ADA.cxx.

◆ rstick

double rstick

Definition at line 71 of file ADA.cxx.

◆ Runway_altitude

double Runway_altitude

Definition at line 68 of file ADA.cxx.

◆ sea_level_radius

double sea_level_radius

Definition at line 52 of file ADA.cxx.

◆ [struct]

struct { ... } sixdof_to_visuals

◆ thetrad

double thetrad

Definition at line 48 of file ADA.cxx.

◆ throttle

double throttle

Definition at line 69 of file ADA.cxx.

◆ U_dot_local

double U_dot_local

Definition at line 76 of file ADA.cxx.

◆ U_local

double U_local

Definition at line 73 of file ADA.cxx.

◆ V_dot_local

double V_dot_local

Definition at line 77 of file ADA.cxx.

◆ V_local

double V_local

Definition at line 74 of file ADA.cxx.

◆ Vcas_kts

double Vcas_kts

Definition at line 58 of file ADA.cxx.

◆ Vdown

double Vdown

Definition at line 57 of file ADA.cxx.

◆ Veast

double Veast

Definition at line 56 of file ADA.cxx.

◆ view_offset

double view_offset

Definition at line 115 of file ADA.cxx.

◆ [struct]

struct { ... } visuals_to_sixdof

◆ Vnorth

double Vnorth

Definition at line 55 of file ADA.cxx.

◆ W_dot_local

double W_dot_local

Definition at line 78 of file ADA.cxx.

◆ W_local

double W_local

Definition at line 75 of file ADA.cxx.