recently i took a helicopter tour of san francisco, so i decided to
play a little bit more with the helicopter simulation in fgfs. it's a
lot of fun. a couple of things though. i use the keyboard mappings and
a mouse to "fly" and i noticed that the collective is mapped backwards
(up goes down and down goes up). also i find PageUp and PageDown to be
cumbersome, so i mapped the collective to the 1 and 2 keys (so i can
use my left hand). with these changes i managed to hover and even land
on top of the buildings in downtown sf. i've collected some of the
screenshots at http://caliban.lbl.gov/fgfs-heli/index.html. for
comparison (although we didn't land on top of any of the buildings :-(
) the real pictures of sf are at
http://caliban.lbl.gov/sfhelitour/index.html.

attached is the patch:

? bo105.patch
cvs diff: Diffing .
Index: bo105-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/bo105/bo105-set.xml,v
retrieving revision 1.10
diff -u -r1.10 bo105-set.xml
--- bo105-set.xml	6 Aug 2004 11:12:32 -0000	1.10
+++ bo105-set.xml	6 Aug 2004 19:25:11 -0000
@@ -153,6 +153,28 @@
 				</binding>
 			</key>
 
+			<key n="49">
+				<name>1</name>
+				<desc>Collective Down</desc>
+				<binding>
+					<command>nasal</command>
+					<script>
+					controls.incThrottle(-0.01, -1.0)
+					</script>
+				</binding>
+			</key>
+
+                        <key n="50">
+                                <name>2</name>
+                                <desc>Collective Up</desc>
+                                <binding>
+                                        <command>nasal</command>
+                                        <script>
+                                        controls.incThrottle(0.01, 1.0)
+                                        </script>
+                                </binding>
+                        </key>
+
 		</keyboard>
 	</input>
 
Index: bo105.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/bo105/bo105.xml,v
retrieving revision 1.9
diff -u -r1.9 bo105.xml
--- bo105.xml	6 Aug 2004 11:12:33 -0000	1.9
+++ bo105.xml	6 Aug 2004 19:25:11 -0000
@@ -34,7 +34,7 @@
   <control-input axis="/controls/flight/elevator" control="CYCLICELE"
                  src0="-1.0" src1="1.0"
                  dst0="-1.0" dst1="1.0"/>
-  <control-input axis="/controls/engines/engine[1]/throttle" control="COLLECTIVE"
+  <control-input axis="/controls/engines/engine[1]/throttle" control="COLLECTIVE" invert="true"
                  src0="-0.0" src1="1.0"
                  dst0="1.0" dst1="-1.0"/>
   <control-input axis="/controls/engines/engine[0]/magnetos" control="ROTORENGINEON"/>
cvs diff: Diffing Instruments
cvs diff: Diffing Instruments/asi
cvs diff: Diffing Instruments/tach
cvs diff: Diffing Models
--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to