Hi All, I would like to contribute to coding Flightgear, unfortunately I'm not very experienced in c++ programming, I only did some small projects to make daily work life a little easier.
In FLYII there was a nive goodie-script called "Push-Back". 1. After hitting the hotkey, there was a conversation between the pilot and the ground personnel: "Ground to cockpit: Ready for push-back? - Yes, ready for push back! - Please release parking brakes!" Or something in that style... 2. User has to release parking brakes. Pilot:"Parking brakes released!" 3. Than the plane was pushed back. There were three different hotkeys resuming in three different push-backs (distance / curvature) 4. After push-back: "Ground to cockpit: Set parking brakes" 5. User has to set parking brakes. Pilot:"Parking brakes set!" 6. "Ground for Cockpit: Towing system removed, ready for starting engines, please wait for hand signal on left hand side" I would like to jump into Flightgear with something similar. I already played a little bit with this Nasal scripting with moderate success. My idea was to give the plane a longitudinal velocity and rotate the front wheel after a certain distance to get the 90deg curve. I was able to check the status of the parking brakes. I tried to set the body-u-velocity to some value to get the plane moving, but did not succeed. The FLY-Script pushed the plane for a fixed distance. Maybe it's possible to check the position of the plane relative to the next taxi way and adjust the push-back track in such a way, that the plane is aligned to the center line of the taxi way correctly. Also I would like to implement some kind of check if other planes are passing behind the plane. But this is something really advanced. I would like to start with a simple push back function first. Here are my first questions: 1. Will Nasal scripting give me all options to program the push-back function (incl. playing sound files and checking distances to other planes or to next taxi way)? Or will I have to use c++ (if so, is there anyone who is interessted to give me some beginners support?)? 2. Why does appling a body-u-velocity not work? 3. Can I rotate the front wheel to get a curved movement? Any reply or comment is very welcome.... Carsten _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d