1
0
Fork 0
Commit graph

10320 commits

Author SHA1 Message Date
jimw
693b963bfb Added flag "allow-toggle-cockpit" so that 3d/2d toggle is not attempted for
aircraft that do not have 3d cockpit configured.  Toggling is done with the
"c" key.  Note also that for now, since the 3d models don't have a "small"
panel defined, the "s" key is disabled if "allow-toggle-cockpit" is true.
2002-04-21 15:06:22 +00:00
jimw
db78ac8380 Had to make Z offset 1cm, problem in PilotOffset dialog 2002-04-21 00:46:39 +00:00
jimw
16b81bd59b Adjustments to U3-A model 2002-04-20 20:18:11 +00:00
jimw
f2e52d921a First pass at U3-A 3d cockpit (--aircraft=c310u3a-3d) 2002-04-20 18:30:23 +00:00
j4strngs
9893da939c Added keyboard binding to toggle between 2/3D cockpit 2002-04-19 23:47:16 +00:00
jimw
a16a46af5f In panning fixed left button to return both pitch and heading offset to zero 2002-04-19 01:12:34 +00:00
jimw
6839f957fe fixed paths for goal-heading-offset 2002-04-18 15:29:38 +00:00
curt
f468d9362d Jim Wilson:
These are the updates for the View manager properties.  Removed the last of
items (within the viewer/viewmgr) hard coded to view number.  Added support
for per view configuration of ground level nearplane value.  Tower views look
very nice with little or no z-buffer problem in the models.  Pilot offset
dialog can be used to move eye in all views.
2002-04-18 14:52:32 +00:00
david
bf5ccc342f Latest JSBSim changes. 2002-04-16 11:19:28 +00:00
david
2364ef0d33 Initial 3D cockpit setup for YASim. 2002-04-16 11:19:03 +00:00
david
ad052ca1c3 Patch from Andy Ross:
Try the following patch to c172.xml, which makes the takeoff-rpm
modification I talked about*.  Hopefully things will be more to your
liking; the aircraft maxes out at 2100 RPM while stopped, then the
speed increases to something more like cruise as the airspeed grows.

If you look carefully, you'll actually see the RPM drop very slightly
before it starts increasing.  The physical reason for this is that the
blades are "unstalling".  As the flow attaches to them, they
experience a sharp increase in induced drag.  I was pretty pleased to
notice this little tidbit; it kinda validates the model in an obtuse
way.  That being said, I have *no* idea if this effect is noticeable
in a real aircraft.  Alex?
2002-04-12 10:18:50 +00:00
j4strngs
2e34702365 bound brake indicator to parking brake 2002-04-11 23:47:08 +00:00
david
3e4235114d Add /controls/parking-brake to /controls/brake[0] and
/controls/brake[1] to get effective braking input.
2002-04-11 14:41:04 +00:00
david
a231c3c1ef Rebound 'B' to toggle /controls/parking-brake. 2002-04-11 14:40:27 +00:00
david
b3808605a7 Replaced DOS line endings. 2002-04-11 13:36:19 +00:00
jimw
97c2d0c757 Update to viewmgr. Reference models in views for location data. 2002-04-11 02:40:17 +00:00
david
b1cdcec983 Latest JSBSim changes. 2002-04-10 22:24:26 +00:00
david
564cffd08f Use the C172 3-D model for now, until a C182 3-D model is available. 2002-04-09 10:48:56 +00:00
david
39bfe1a71b Set the default aileron trim for the JSBSim Cessna 172 to -0.055.
This is sufficient to keep the wings level in cruise at 3000 ft, 2200
RPM; the value will have to change as we make changes to the model.

Note that a stock Cessna 172 does not have an aileron-trim wheel
inside the cockpit; to set the trim, you actually bend a sheet of
metal by hand when the plane is on the ground.
2002-04-09 10:48:26 +00:00
david
ea264c688c Add explicit types for all non-string properties. This will help a
lot, since otherwise a property that is never set or tied by
FlightGear itself will always be kept as a string and converted on
each access.  That's why fgGetBool and friends could take up a lot of
processor time sometimes.
2002-04-09 10:45:47 +00:00
david
62f46892a9 Provided some default property values, to use the caching more efficiently. 2002-04-06 21:48:39 +00:00
jimw
d257605a9b added new viewer config stuff 2002-04-05 02:53:08 +00:00
david
75b6d83520 Accidentally deleted. 2002-04-04 22:03:45 +00:00
david
2f38b429f5 Raised the default eyepoint and slanted it down slightly. Previously,
the pilot was peering level just over the top of the panel.

Moved the panel instruments accordingly.
2002-04-03 22:55:30 +00:00
j4strngs
75fa26ac1c *** empty log message *** 2002-04-03 03:14:01 +00:00
j4strngs
8ba482b160 n preparation for some more extensive
patches to the code
2002-04-03 01:46:05 +00:00
david
16448bb2ef Added conditional bindings for throttle and rudder when mouse is
pressed.
2002-03-27 22:51:13 +00:00
david
fed4db6300 Updates from Norm Vine:
These add a NEW elevator trim marker
along side the elevator position gauge
also adds missing cemterpoint tick marks

FYI
With this you can see what the AutoPilot is doing
when in one of the 'altitude modes'
2002-03-27 19:32:18 +00:00
david
f52a4ccf58 More cleanups. Removed the pui-* commands, and added a pass-through
property to indicate when mouse events should be offset to PUI and the
panel first.
2002-03-27 00:54:34 +00:00
david
20ab2f4779 Added bindings for elevator and ailerons in mode 1, as in current
mouse support.
2002-03-26 13:17:32 +00:00
david
2a7cd47fd5 XML format changes, so that bindings are always mode-specific. Added
support for panning the view, as in the existing mouse view mode.
2002-03-26 12:49:14 +00:00
curt
4d32823265 Hmmm, the version that David generated and committed earlier today
crashed with the newest code changes.  I regenerated this file and it
seems to work for me so I'm committing the re-re-generated file.
2002-03-26 02:12:29 +00:00
david
c3d7c2e116 Freshly regenerated after Melchior's code changes. 2002-03-25 23:04:33 +00:00
david
f1d8a47660 Jim's modified C172 set file. 2002-03-25 16:28:16 +00:00
david
fd3771f264 Added configuration for different modes and cursors. The XML format
is subject to change, and this file is still used only when FlightGear
is configured --with-new-mouse.
2002-03-25 11:59:26 +00:00
david
061cbf9841 Initial mouse configuration support. This will be ignored unless you
configure --with-new-mouse, and there's not much there yet anyway.
2002-03-23 22:30:39 +00:00
j4strngs
27591fed86 New c310u3a panel by Jim Wilson 2002-03-22 01:23:34 +00:00
j4strngs
0d148621bc From Dave Luff
default.tower
2002-03-21 01:25:25 +00:00
david
a615df5d53 A little more detail on the C172 interior, starting to approach
something that's recognizably a panel.
2002-03-16 17:00:30 +00:00
david
d947b64c73 Renamed /cockpit property to /sim/view/internal and made properties
explicitly archivable to help with save/restore (the latter is a
temporary measure).
2002-03-15 20:54:25 +00:00
david
e720339b7c Tweaked view position in 3D cockpit so that the runway is visible
during taxi and takeoff roll.
2002-03-13 23:42:18 +00:00
curt
98b0360c4d Adjust ambient and diffuse lighting tables. 2002-03-11 15:18:56 +00:00
david
0c4eb61e7c C172 with highly experimental, unfinished 3-D cockpit mockup using
Andy's virtual-panel support.  This will give a first taste of flying
with a 3D cockpit, but there are many caveats:

1. Clicking on the instruments doesn't work (waiting for a fix from
Andy).

2. The instruments rotate with the 3D cockpit but they don't tilt with
it (also waiting for a fix from Andy).

3. The orientation is incorrect when the view is not straight-forwards
and the plane is not flying level (waiting for a fix from me, but I
don't understand matrix math well enough).

4. The 3D interior is fairly ugly right now.
2002-03-10 21:09:39 +00:00
david
f5db2c7589 Sound patch from Erik Hofman:
* improved enginse cranking sequence
* good flap support
* removed leading and trailing silence of flaps, gear-up and gear-dn sounds
2002-03-10 18:35:23 +00:00
david
32a2ef488d Explicitly set write-all to false for saving the flight, so that only
archivable properties are written.
2002-03-09 11:18:07 +00:00
j4strngs
a222c7492b Change default model 2002-03-08 05:28:03 +00:00
j4strngs
97ea096701 Marchetti config from Martin Spott 2002-03-08 05:27:16 +00:00
david
20b35dd15a Removed obsolete properties. 2002-03-08 02:29:10 +00:00
j4strngs
755ea63cda c310u3a FGFS'ercized by Jim Wilson from a model by Chris Lampard. Jim has managed to track down Chris, who has graciously allowed us to distribute the model under the GPL 2002-03-07 06:09:21 +00:00
curt
287c9cff27 * Added link to Norman's PPE scenery placement email
* Fixed bug in joystick question
* Fixed bug in adding scenery question
* Fixed old link to BGL site
* Updated 3D models question
* Updated navaid question
* Updated compile question
* Updated aircraft creation question
* Updated other documentation question
* Updated scenery generation question
* Various cosmetic cleanups
2002-03-04 22:59:29 +00:00