| 1 | /*************************************************************************** |
| 2 | |
| 3 | TITLE: navion_init.c |
| 4 | |
| 5 | ---------------------------------------------------------------------------- |
| 6 | |
| 7 | FUNCTION: Initializes navion math model |
| 8 | |
| 9 | ---------------------------------------------------------------------------- |
| 10 | |
| 11 | MODULE STATUS: developmental |
| 12 | |
| 13 | ---------------------------------------------------------------------------- |
| 14 | |
| 15 | GENEALOGY: Added to navion package 930111 by Bruce Jackson |
| 16 | |
| 17 | ---------------------------------------------------------------------------- |
| 18 | |
| 19 | DESIGNED BY: EBJ |
| 20 | |
| 21 | CODED BY: EBJ |
| 22 | |
| 23 | MAINTAINED BY: EBJ |
| 24 | |
| 25 | ---------------------------------------------------------------------------- |
| 26 | |
| 27 | MODIFICATION HISTORY: |
| 28 | |
| 29 | DATE PURPOSE BY |
| 30 | |
| 31 | 950314 Removed initialization of state variables, since this is |
| 32 | now done (version 1.4b1) in ls_init. EBJ |
| 33 | 950406 Removed #include of "shmdefs.h"; shmdefs.h is a duplicate |
| 34 | of "navion.h". EBJ |
| 35 | |
| 36 | CURRENT RCS HEADER: |
| 37 | |
| 38 | ---------------------------------------------------------------------------- |
| 39 | |
| 40 | REFERENCES: |
| 41 | |
| 42 | ---------------------------------------------------------------------------- |
| 43 | |
| 44 | CALLED BY: |
| 45 | |
| 46 | ---------------------------------------------------------------------------- |
| 47 | |
| 48 | CALLS TO: |
| 49 | |
| 50 | ---------------------------------------------------------------------------- |
| 51 | |
| 52 | INPUTS: |
| 53 | |
| 54 | ---------------------------------------------------------------------------- |
| 55 | |
| 56 | OUTPUTS: |
| 57 | |
| 58 | --------------------------------------------------------------------------*/ |
| 59 | #include "ls_types.h" |
| 60 | #include "ls_generic.h" |
| 61 | #include "ls_cockpit.h" |
| 62 | |
| 63 | void navion_init( void ) { |
| 64 | |
| 65 | Throttle[3] = 0.2; Rudder_pedal = 0; Lat_control = 0; Long_control = 0; |
| 66 | |
| 67 | Dx_pilot = 0; Dy_pilot = 0; Dz_pilot = 0; |
| 68 | |
| 69 | } |