Re: [Flightgear-devel] Instrument headaches

2005-02-23 Thread Paul Surgeon
On Wednesday, 23 February 2005 02:08, Roy Vegard Ovesen wrote: I would like to suggest a different approach. 1. Create a new Variometer instrument module i C++. Actually you might want to create a more generic Total Energy Tube module to add to the systems modules (static, pitot, vacuum,

Re: [Flightgear-devel] Instrument headaches

2005-02-23 Thread Paul Surgeon
On Wednesday, 23 February 2005 00:07, Berndt, Jon S wrote: This is exactly the reason for one of the features being added for JSBSim in the next release: the ability to calculate arbitrary values based on parameters know within the FDM - especially things like you have described here: total

Re: [Flightgear-devel] Instrument headaches

2005-02-23 Thread Roy Vegard Ovesen
On Wednesday 23 February 2005 18:11, Paul Surgeon wrote: Are you now talking about a separate C++ instrument? Yes. So the way I see it is I need two C++ modules that need to be created and hooked into FG. Right. How does one do that? Instrument modules are located in src/Instrumentation.

RE: [Flightgear-devel] Instrument headaches

2005-02-23 Thread Jon Berndt
However I thought JSBSim was just a flight dynamics engine? Even if these features were added to an aircraft config file FG would still have to be modified so that instruments can also have their own separate config files otherwise you end up coding the instrument maths/logic into the

RE: [Flightgear-devel] Instrument headaches

2005-02-22 Thread Giles Robertson
1. Display total energy (using some maths I haven't figured out yet) How precise is this energy going to be? Working out gravitational and kinetic energy is trivial; accounting for energy in the fuel not hard - but I don't think you'll be able to account for elastic energy stored in the

Re: [Flightgear-devel] Instrument headaches

2005-02-22 Thread Andy Ross
Giles Robertson wrote: Working out gravitational and kinetic energy is trivial; accounting for energy in the fuel not hard - but I don't think you'll be able to account for elastic energy stored in the airframe. It's a pilot's tool, not a design thing. It's designed for glider pilots to show

RE: [Flightgear-devel] Instrument headaches

2005-02-22 Thread Berndt, Jon S
I'm busy creating a variometer for FlightGear. My instrument needs to be able to : 1. Display total energy (using some maths I haven't figured out yet) 2. Play sounds (audio cue) 3. Accept user input to its 2 knobs and 3 toggle switches. From what I've seen in FG I would have to

Re: [Flightgear-devel] Instrument headaches

2005-02-22 Thread Roy Vegard Ovesen
On Tuesday 22 February 2005 22:20, Paul Surgeon wrote: Hi guys I'm busy creating a variometer for FlightGear. My instrument needs to be able to : 1. Display total energy (using some maths I haven't figured out yet) 2. Play sounds (audio cue) 3. Accept user input to its 2 knobs and 3 toggle

Re: [Flightgear-devel] Instrument headaches

2005-02-22 Thread Ampere K. Hardraade
On February 22, 2005 04:20 pm, Paul Surgeon wrote: The way I see it is an instrument should be able to have it's own set of animation, input and sound config files as well as nasal scripts. Then only a single include has to be done in an aircraft config file to load the instrument at the right

RE: [Flightgear-devel] Instrument headaches

2005-02-22 Thread Matthew Gong
This is exactly the reason for one of the features being added for JSBSim in the next release: the ability to calculate arbitrary values based on parameters know within the FDM - especially things like you have described here: total energy. Flight management systems and displays are