#include "ls_cockpit.h"
#include "ls_interface.h"
#include "../flight.h"
+#include "../../Aircraft/aircraft.h"
/* global variable declarations */
int ls_cockpit() {
+ struct control_params *c;
+
sim_control_.paused = 0;
- Throttle_pct = 0.95;
+ c = ¤t_aircraft.controls;
+
+ Lat_control = FG_Aileron;
+ Long_control = FG_Elevator;
+ Long_trim = FG_Elev_Trim;
+ Rudder_pedal = FG_Rudder;
+ Throttle_pct = FG_Throttle[0];
/* printf("Mach = %.2f ", Mach_number);
printf("%.4f,%.4f,%.2f ", Latitude, Longitude, Altitude);
/* Flight Gear Modification Log
*
* $Log$
+ * Revision 1.8 1997/06/21 17:12:50 curt
+ * Capitalized subdirectory names.
+ *
+ * Revision 1.7 1997/05/31 19:16:28 curt
+ * Elevator trim added.
+ *
+ * Revision 1.6 1997/05/31 04:13:53 curt
+ * WE CAN NOW FLY!!!
+ *
+ * Continuing work on the LaRCsim flight model integration.
+ * Added some MSFS-like keyboard input handling.
+ *
+ * Revision 1.5 1997/05/30 23:26:25 curt
+ * Added elevator/aileron controls.
+ *
* Revision 1.4 1997/05/30 19:30:15 curt
* The LaRCsim flight model is starting to look like it is working.
*