[Flightgear-devel] A320 Autopilot problem
Hi, Over the last few days I have been trying to fly the A320 between some airports, navigating along the way via ndb's, and using the autopilot. I seem to have a problem in that it will only allow me to set one lot of data for the autopilot. When I go back and change a height or speed setting Flightgear just hangs. For example: take off and climb a bit and get on to a rough heading. Select wing leveler, altitude hold, and speed hold with throttle. Once above 10'000 I want to increase the speed say another 100 knots. I type this in under the Autopilot menu, but when I press OK to activate the new speed and exit it just hangs. If I activate the new setting first this sometimes works, but sometimes just freezes as well. Im using the precompiled 0.9.4 windows binaries under win 2000. A possible user request: could there be a user option for the Mach number setting for the autopilot? I have noticed that when climbing through around 10,000 ft that it begins to pitch and oscillate. I have noticed that this happens when trying to climb at high speeds and rates of climb, so I think that the performance Im trying to get is not possible and so the autopilot is struggling. Being able to climb at a constant mach number would be very useful. Tim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] changing model format
Norman, >You can download a time limited version of Rational >Reducer>http://www.sim.no/ I had a look at this. However the demo version doesnt let you save anything! Anything similiar for linux that anyone knows of? Thanks Tim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Changing a model format
Hi guys, I have a general question regarding the creation of a model. I have been working on creating a model of a Learjet 55, using CATIA V5. This is mainly because I used this during my degree and am basically familiar with it. I am also determined to have a model which is as close to the real thing as possible. This means if the fuselage is 2m in diameter, I want the model to have a 2m diameter fuselage as well! CATIA is awesome for this. A screenshot is at http://members.optusnet.com.au/~tjelliffe/Learjet55.jpg The problem is that CATIA works with surfaces, as you can see in the pic, but things like blender and ac3d seem to use nodes. This makes it hard to convert into .ac format. I can save the file as either wrl, stp, igs, or cgr file formats. I have tried saving it as a wrl format, and using this directly in flightgear. The file size is around 2 Mb, and the frame rate drops from ~20 to ~2 fps. I have also tried using the demo version of AC3D, and saving directly into .ac format. This still gives very big files though. Was wondering if anyone has ever done it this way, or if someone can suggest a good way to convert it and still get a reasonably sized model file out. Thanks Tim J ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Re: boeing 747-400 3d cockpit
I have to say, that this looks awesome. Very impressive! Tim J ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] glass cockpit
Hi Jim, 1). Does anyone know what the two "feather wing like" icons are supposed to indicate and what they do if/when they move (look to each side of the 15 degree pitch line in the second picture)? They also adjust depending on the situation. So when at altitude and high speed, they may only be a few degrees above the horizon, so they aren’t always at the 15 degrees or whatever. Someone correct me if that’s wrong, but I seem to remember this from a jumpseat ride a while ago. In fact, if you look at http://www.airliners.net/open.file/123982/L/ this is a 717, and the lines are blue, but you can just see them just above the horizon. Is the stuff you are doing in any way related to OpenGC? For example could their gauges be used straight on to the panel? Just wondering Tim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] next volunteer
Hi, Just read Davids post about volunteers making models of buildings and things. Just something that occured to me the other day, has anyone made an aircraft carrier model for flightgear yet? :) I live in Sydney, Australia, and it would be great to have a model of the Sydney Opera house and other bits around the harbour. Would all these need to be done in Blender? I had a go at using this the other day, and quite frankly I found it very hard to use, even after following a couple of the tutorials. Assuming that I can get the drift of it and make a model of something, is there any documentation on how to actually get this included in the scenery? I had a look at the Scenery Generation for Flight Gear page, but that seems to be just the tiles stuff, not how to stick an object at coordinates x. Thanks Tim J ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Fw: Adding in my code/aircraft data
Hi guys, I have made a few changes to the network code, basically adding in my own class (derived from nmea/opengc) to be able to send my custom data to the serial port for driving analog gauges on my instrument panel with. I have attached the two files here that i have added, and cut and paste the sections of other files where i have added bits. Basically just the parsing on startup bits. Would someone be able to add this to the code base for me? This is not likely to change very much, so i dont think i need write cvs access, as its only for my project and reorders bits that are already there. I have also attached the 2 modified makefiles in the Network directory. If there is a better way of doing this, that would be good, but it will most likely be a oneoff add so that i can keep using future releases. I am also working on getting the data for my universitys aircraft design to be able to add that in as well sometime. Thanks Tim Jelliffe src/Main/fg_io.cxx #include *** at line 155 or so } else if ( protocol == "ray" ) { FGRAY *ray = new FGRAY; io = ray; } else if ( protocol == "rul" ) { FGRUL *rul = new FGRUL; io = rul; } else if ( protocol == "f1serial" ){ FGF1SERIAL *f1serial = new FGF1SERIAL; io = f1serial; } else { return NULL; } add in the f1serial lines, the rest is to show the place src/Main/options.cxx *** at about line 930 or so } else if ( arg.find( "--rul=" ) == 0 ) { add_channel( "rul", arg.substr(6) ); } else if ( arg.find( "--joyclient=" ) == 0 ) { add_channel( "joyclient", arg.substr(12) ); } else if ( arg.find( "--f1serial=" ) == 0 ) { add_channel( "f1serial", arg.substr(11) ); ** --- f1serial.cxx Description: Binary data f1serial.hxx Description: Binary data Makefile.am Description: Binary data Makefile.in Description: Binary data
[Flightgear-devel] Sending flight dynamics data to serial port
Hi all, First a bit of background to this request: I am just starting off a thesis project for my engineering degree, with the task of building a cockpit mockup of a single engine light aircraft that my university has designed. Something in the same sort of class as a cessna 172. The aim is to have a functional cockpit, especially with regards to flight and engine instruments and controls. I was already playing with flightgear, and decided to use this as the basis for the project, especially once i got the openGc addon working and found more about the network broadcast abilities of flightgear. To control all the instruments I will be using either stepper motors ( altimeter etc), or air core meters (from car speedos, for airspeed etc) which are driven by a microcontroller (Mc68Hc11 to be exact). I know this is not the absolute easiest way of doing this, but it appeals to me as being one of the more powerfull ways of controlling a reasonable number of instruments, with all the control done by software. I am looking at two ways of getting the data from the pc running flightgear to the microcontroller. My initial choice is to use a simple network card for the microcontroller, and use flightgear to broadcast udp packets at a set rate, which are then read, interpreted, and the instruments are driven to the right positions. This network card is a self-assemble job, which i have, but have not yet debugged to get it working. The other option which may be easier, is to connect the microcontroller to the serial port, and somehow modify/add to flightgear the ability to transmit that same data directly to the micro. Connecting to the serial port is how I am programming the micro at the moment after all. Some of the details for implementing these would be things like: - finding a way to reduce the frequency at which the data is transmitted. Since things like the airspeed will really only be useful at integer values, there is probably not much value in continually transmitting data when the changes are well below the resolution of the instruments! I know that the rate of broadcast over the network is set by command line during startup, but is it possible or viable to make it only transmit when values have changed by a certain amount? - if using the serial port option, to also receive a reply from the micro with the current values displayed, to be able to keep things in sync. (May not be required?) I noticed in the IO readme, that there is an option for using 'serial' as the medium. Does this work as i assume, or is it only to help show the general form of the startup commands? The only other serial stuff is to do with NMEA, which as far as i understand is the format for gps, and so is not the whole flight dynamics data. Would a hack between the nmea and the fgopengc classes work to enable me to be able to transmit the OpenGC flight dynamics data onto the serial port? Thanks for any comments to do with this. Tim Jelliffe