-
-typedef struct {
- string callsign;
-
- // can be aircraft, ship, storm, thermal or ballistic
- string m_type;
- string m_class;
- string path;
- string flightplan;
-
- FGAIFlightPlan *fp;
-
- double repeat; // in seconds
- double latitude; // used if no flightplan defined
- double longitude; // used if no flightplan defined
- double altitude; // used if no flightplan defined
- double speed; // used if no flightplan defined
- double heading; // used if no flightplan defined
- double roll; // used if no flightplan defined
- double azimuth; // used by ballistic objects
- double elevation; // used by ballistic objects
- double rudder; // used by ship objects
- double strength; // used by thermal objects
- double diameter; // used by thermal objects
- double height_msl; // used by thermal objects
- double eda; // used by ballistic objects
- double life; // life span in seconds
- double buoyancy; // acceleration in ft per sec2
- double wind_from_east; // in feet per second
- double wind_from_north; // in feet per second
- double cd; // coefficient of drag
- bool wind; // if true, model reacts to parent wind
- double mass; // in slugs
- bool aero_stabilised; // if true, ballistic object aligns with trajectory
- list<string> solid_objects; // List of solid object names
- list<string> wire_objects; // List of wire object names
- list<string> catapult_objects; // List of catapult object names
- double radius; // used by ship ojects, in feet
- double x_offset; // used by ship ojects, in meters
- double y_offset; // used by ship ojects, in meters
- double z_offset; // used by ship ojects, in meters
-} FGAIModelEntity;
-
-
-class FGAIBase {