1997-05-29 00:09:51 +00:00
|
|
|
/***************************************************************************
|
|
|
|
|
1999-04-05 21:32:32 +00:00
|
|
|
TITLE: cherokee_init.c
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
1999-04-05 21:32:32 +00:00
|
|
|
FUNCTION: Initializes cherokee math model
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
MODULE STATUS: developmental
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
1999-04-05 21:32:32 +00:00
|
|
|
GENEALOGY:
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
CURRENT RCS HEADER:
|
|
|
|
|
1999-04-05 21:32:32 +00:00
|
|
|
Well,
|
|
|
|
I do not have vorking RCS here (Sorry)
|
|
|
|
|
1997-05-29 00:09:51 +00:00
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
REFERENCES:
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
CALLED BY:
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
CALLS TO:
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
INPUTS:
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
OUTPUTS:
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------*/
|
|
|
|
#include "ls_types.h"
|
|
|
|
#include "ls_generic.h"
|
|
|
|
#include "ls_cockpit.h"
|
|
|
|
|
1999-04-05 21:32:32 +00:00
|
|
|
void model_init( void )
|
|
|
|
{
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
Throttle[3] = 0.2; Rudder_pedal = 0; Lat_control = 0; Long_control = 0;
|
|
|
|
|
|
|
|
Dx_pilot = 0; Dy_pilot = 0; Dz_pilot = 0;
|
|
|
|
|
1999-04-05 21:32:32 +00:00
|
|
|
Runway_altitude = 0;
|
|
|
|
Runway_latitude = 0;
|
|
|
|
Runway_longitude = 0;
|
|
|
|
Runway_heading = 0;
|
|
|
|
|
1997-05-29 00:09:51 +00:00
|
|
|
}
|