On Sat, 2007-01-13 at 01:33 -0500, John Denker wrote:
> Hey, it looks like we've got a 182rg in the fleet!

Cool

> On 01/13/2007 12:08 AM, Ron Jensen wrote:
> 
> 
> > 
> > I made the knob 2.5 cm thick and 5 cm in diameter.  The lever is 12.5 cm
> > in diameter
> 
> more likely 12.5 mm ;-)

whatever 1/2 inch is...

> > and ~15 cm long.  Probably too long even though I embedded
> > about 1/3 of it in the panel.  Can you get actual dimensions?
> 
> Soon.  In the meantime a 2x scale-down has got to be pretty close.
> That would make the shiny shaft 1/4" in diameter, which is a very
> plausible value, and consistent with my recollections.  The black
> knob can't be much more than 1" in diameter.

Now you switch to inches :)

> ======================
> 
> If you're looking for one more touch of realism, you can implement
> the squat switch.  I suspect the relevant property is:
>   /gear/gear/wow
> (where wow stands for Weight on Wheel).

This would be overly complex for little gain.  Putting the gear handle
up on the ground and trusting the squat switch to keep them from
retracting is a very bad thing to do.  Just pretend the switch is
mis-rigged! :)

If _you_ wanted to do it, I would probably:

create a new property like controls/gear/gear-handle-down for the gear
handle.

Write a nasal script like: (see attach)


 

> Another touch of realism would be cowl flaps.

Do cowl flaps affect overall drag?  Should they have an effect on engine
guages?

> That raises a whole set of keyboard / user-interface questions that
> are not airplane-specific and would be best discussed in a different
> thread.

# squatswitch.nas version 0.1 by Ron Jensen (GLP 2.0)
# Implement a squat switch by watching left main gear weight on wheels 

gearwowlistener=nil;

GearDownListen = func {
    handle = getprop("controls/gear/gear-handle-down");
    gear   = getprop("controls/gear/gear-down");
    if (gear != handle){
        if(handle==1){
            setprop("controls/gear/gear-down", 1);
            gear=1; #make sure gearwowlistener is removed
        }
        if(handle==0){
            wow=getprop("gear/gear[1]/wow");
            if( wow == 1 ){
                setlistener("gear/gear[1]/wow", GearWowListen );
            }
            if( wow == 0 ){
                setprop("controls/gear/gear-down", 0);
                gear=0; #make sure gearwowlistener is removed
            }
        }
    }
    if (gear == handle){
        if(gearwowlistener){
            removelister(gearlistner);
            gearwowlistener=nil;
        }
    }
}
 

GearWowListen = func {
    GearDownListen(); # wow has changes so revist squat logic
}
 
init = func {
    setlistener("controls/gear/gear-handle-down", GearDownListen );
}

init();
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to