Board index FlightGear Development Aircraft Systems

<actuator> and gear-pos-norm

Modeling aircraft systems, like electrical stuff, hydraulics, pneumatics? Feel free to ask support.

<actuator> and gear-pos-norm

Postby legoboyvdlp » Fri Nov 02, 2018 10:54 pm

Code: Select all
<actuator name="rubbish/gear-pos-norm">
         <input>gear/gear-cmd-norm</input>
         <rate_limit>fcs/gear-pos-rate</rate_limit>
         <output>gear/gear-pos-norm</output>
      </actuator>



I would expect this to modify gear-pos-norm, however, I get this result when using <actuators>:

Image

Am I missing anything obvious?

A kinematic works fine, but an actuator allows us to adjust the rate runtime.


gear-cmd-norm is written to by:

Code: Select all
<switch name="Gear Command">
         <output>gear/gear-cmd-norm</output>
         <default value="0"/>
         <test logic="OR" value="0">
            /controls/gear/lever-pos eq 0
         </test>
         <test logic="OR" value="1">
            /controls/gear/lever-pos eq 1
         </test>
      </switch>
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: <actuator> and gear-pos-norm

Postby legoboyvdlp » Fri Nov 02, 2018 11:44 pm

Solution:

Do not write to gear-cmd-norm, I made a new property gear-command and used that.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: <actuator> and gear-pos-norm

Postby wildmanjohn » Wed Dec 19, 2018 3:00 pm

Not a programmer; but notification about the gear stays down on the F14 aircraft. It has been this way for months. This happen after the last aircraft update. Any suggestions?
wildmanjohn
 
Posts: 1
Joined: Fri Sep 21, 2018 4:23 pm
Callsign: wildmanjohn
OS: Linux

Re: <actuator> and gear-pos-norm

Postby wlbragg » Wed Dec 19, 2018 3:57 pm

Notify the author if you can find out who it is.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070


Return to Systems

Who is online

Users browsing this forum: No registered users and 2 guests