Re: [Flightgear-devel] electrical systems...

2007-04-06 Thread Curtis Olson

Hi Syd,

I'm pretty sure the purpose of the serviceable flag is so that we can fail
the entire subsystem.  Generally it's more realistic to fail an alternator
or battery or some component of the electrical system, but it seems like
people want to be able to just fail the entire thing once it a while too.

Curt.


On 4/5/07, syd&sandy wrote:


Hi all,
if anyone remembers , what was the purpose  of the serviceable
property ?
Was it meant as an on/off switch , instrument fault , or just instrument
state ?

The reason I'm asking is I have redone the Aerostar  electrical system ,
so that one can create a battery / alternator with parameters ... such as
:

var alternator = Alternator.new("rpm-source",rpm_threshold,volts,amps);

Now while setting power outputs , Ive been going through the instrument
source and noticed most only check for a serviceable = true before
continuing ...
very few check for electrical input. Autopilot appears to ignore power
outputs ...

If I set serviceable (false) when updating the electrical system to
prevent instruments from working when no power available, it will not be
settable from the menuwhich defeats the purpose of the  faults menu.

SO , should each electrical instrument be updated to check for voltage ()
?

Another idea I would prefer , is to set normalized electrical outputs ,
proper volts and amps can be set in /systems/electrical/volts and amps ,
it might make lighting factors simpler for gauge lights , etc...

Just some thoughts I had , and am curious on other opinions about the
subject.
Cheers,
Happy Easter ,
Syd



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel





--
Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/  http://www.humanfirst.umn.edu/
http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] electrical systems...

2007-04-05 Thread

> I can't remember because I am fairly new to flightgear. But I'd say it
> should be an instrument fault.
>
>   
Thats what I assumed too ...
> In the C++ sources under Instrumentation, quite a few implementations
> (counted 14) check for proper power.
>
>   
not bad,  out of 31 , i guess :)
>> SO , should each electrical instrument be updated to check for voltage () ?
>> 
>
> Should, yes ;)
>   
Shouldn't break anything , but I'm not touching that unless I get more 
input from the authors...
>   
>> Another idea I would prefer , is to set normalized electrical outputs ,
>> proper volts and amps can be set in /systems/electrical/volts and amps ,
>> it might make lighting factors simpler for gauge lights , etc...
>> 
> In the interest of realism, I say keep the volts and amps.
>
> Greets,
> Csaba
>
>   
like i said proper amps and volts could be stored in 
/systems/electric/volts ( they already are ) and  could be factored with 
the outputs if need be , but point noted ...

Just an idea anyway :)

Cheers,
Syd

> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] electrical systems...

2007-04-05 Thread Csaba Halász
On 4/6/07, syd&sandy <[EMAIL PROTECTED]> wrote:
> Hi all,
> if anyone remembers , what was the purpose  of the serviceable
> property ?
> Was it meant as an on/off switch , instrument fault , or just instrument
> state ?

I can't remember because I am fairly new to flightgear. But I'd say it
should be an instrument fault.

> Now while setting power outputs , Ive been going through the instrument
> source and noticed most only check for a serviceable = true before
> continuing ...
>  very few check for electrical input. Autopilot appears to ignore power
> outputs ...

In the C++ sources under Instrumentation, quite a few implementations
(counted 14) check for proper power.

> If I set serviceable (false) when updating the electrical system to
> prevent instruments from working when no power available, it will not be
> settable from the menuwhich defeats the purpose of the  faults menu.
>
> SO , should each electrical instrument be updated to check for voltage () ?

Should, yes ;)

> Another idea I would prefer , is to set normalized electrical outputs ,
> proper volts and amps can be set in /systems/electrical/volts and amps ,
> it might make lighting factors simpler for gauge lights , etc...

In the interest of realism, I say keep the volts and amps.

Greets,
Csaba

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel