]> git.mxchange.org Git - flightgear.git/commit
Updated electrical system.
authorcurt <curt>
Tue, 14 Jun 2005 17:57:48 +0000 (17:57 +0000)
committercurt <curt>
Tue, 14 Jun 2005 17:57:48 +0000 (17:57 +0000)
commit6dd82d05028e3019e142db7e56b8d4f829d2235f
tree6d91cb00d02b973b72389add809c1191312c6e7c
parent5fb87df1fbca82817a74c74db840ca60c305ee3a
Updated electrical system.

These changes represent some attempts to bandaid and patch a hopelessly
flawed system to impliment basic battery charging/discharging as well as
provide the ability to model ammeter gauges and draw current from multiple
sources (like load balancing multiple alternators in a multi-engine aircraft.)
The system design forces all these things to be horrible hacks or depend
on extremely subtle system side effects and call ordering so they may or9
may not work to one degree or another.

As mentioned in the mailing list, my recommendation is to move away from
using this system and instead build a procedural electrical system using
nasal.  Sometime in the future we hopefully can impliment a better conceived
data driven electrical system model.
src/Systems/electrical.cxx
src/Systems/electrical.hxx