MechanicalSteering

From SIMboxWiki
Jump to navigation Jump to search

The MechanicalSteering logic component defines the relation between the pilot command, and the steering surfaces response

Type: Logic Object Component
File: MechanicalSteering.slc
Version: 450.1000.342.1


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_AUTO_TRIM_GAIN  The gain for the auto-pitch trim system  -0.1  -10000    Default  Default 
PROP_AUTO_TRIM_RATE_GAIN  The pitch rate gain for the auto-trim system   10000  -10000    Default  Default 
PROP_IS_NEGATIVE_THROTTLE_LEVER  Corrects throttle lever values that are negative (-100 to 100) to (0 to 100)    Default  Default 
PROP_IS_TO_USE_PID  Is to use the PID for auto pitch trim system    Default  Default 
PROP_MAXIMAL_AOA  The maximal AOA cmd when auto trim is on and gears are down   60    Default  Default 
PROP_MAXIMAL_PITCH_RATE  The required pitch rate for maximal pitch command when auto trim is used  100    Default  Default 
PROP_PID_PITCH_CONTROL_D_GAIN  The pitch control D gain  100000  -100000    Default  Default 
PROP_PID_PITCH_CONTROL_I_GAIN  The PID I gain  10000    Default  Default 
PROP_PID_PITCH_CONTROL_P_GAIN  the PID pitch gain  1000    Default  Default 
PROP_STEER_IS_TO_HOLD_AOA_WHEN_GEARS_DOWN  Is to keep angle of attack when auto trim is on and gears are down    Default  Default 
PROP_USE_AUTO_PITCH_TRIM  Set to true if you want the pitch command to control the pitch rate (q)    Default  Default 
PROP_ZERO_TRIM_AOA  The AOA to keep when no the stick is at zero position and auto trim is on and landing gear are down   10  -10    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_ENGINE_MIXTURE_LEVER_POS  For the mixture view  const int  float &    Default  Default 
ATT_IS_MOTION_MODEL_UNIT  Is this SLC a part of the object's motion model?  bool &      Default  Default 
ATT_STEER_IS_HOLD_PITCH_RATE  Is holding the pitch rate?  bool &      Default  Default 
ATT_STEER_IS_PITCH_AUTO_TRIM_ON  True if the pitch auto-trim system is on  bool &      Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_STEER_ENABLE_PITCH_CMD  Enables / disables pitch input command from keyboard / joystick  const bool      Default  Default 
ACTION_STEER_ENABLE_ROLL_CMD  Enables / disables roll input command from keyboard / joystick  const bool      Default  Default 
ACTION_STEER_ENABLE_THROTTLE_CMD  Enable / disables throttle input command from keyboard / throttle device  const bool      Default  Default 
ACTION_STEER_ENABLE_YAW_CMD  Enables / disables yaw input command from keyboard / joystick  const bool      Default  Default 
ACTION_STEER_SET_AUTO_TRIM  Engages / disengages the pitch auto-trim system   const bool      Default  Default 
ACTION_STEER_SET_ELEVATOR_CMD  Sets the pitch command  const int      Default  Default 
ACTION_STEER_SET_ENGINE_FUEL_VALVE_STATE  Sets a mixture command for the engine in the index of the 1st parameter. Set negtive value in the first param for all engines.  const int  const bool    Default  Default 
ACTION_STEER_SET_ENGINE_FUEL_VALVE_STATE_ALL_ENGINES  Sets the fuel valve state for all engines  const bool      Default  Default 
ACTION_STEER_SET_ENGINE_MIXTURE_CMD  Sets a mixture command for the engine in the index of the 1st parameter. Set negtive value in the first param for all engines.  const int  const float    Default  Default 
ACTION_STEER_SET_ENGINE_MIXTURE_CMD_ALL_ENGINES  Sets the mixture command for all engines  const float      Default  Default 
ACTION_STEER_SET_PROPELLER_PITCH_CMD_ALL_ENGINES  Sets the propeller pitch command for all engines  const float      Default  Default 
ACTION_STEER_SET_PROPERLLER_PITCH_CMD  Sets a pitch angle command for the engine in the index of the 1st parameter. Set negtive value in the first param for all engines.  const int  const float    Default  Default 
ACTION_STEER_SET_ROLL_CMD  Sets the roll command value  const int      Default  Default 
ACTION_STEER_SET_RUDDER_CMD  Sets the rudder command  const int      Default  Default 
ACTION_STEER_SET_THROTTLE_CMD  Sets the throttle cmd  const int      Default  Default 
INPUT_ADD_MIX_CMD_FROM_MOUSE  Increases engine mixture with mouse click  const int  const int    Default  Default 
INPUT_ADD_PROPELLER_PITCH_CMD_FROM_MOUSE  Adds propeller pitch with mouse click  const int  const int    Default  Default 
INPUT_ADD_THROTTLE_CMD_FROM_MOUSE  Increases the throttle with mouse click  const int  const int    Default  Default 
INPUT_DISENGAGE_PITCH_AUTO_TRIM  Disengages the pitch auto-trim system  const int  const int    Default  Default 
INPUT_ENGAGE_PITCH_AUTO_TRIM  Engages the pitch auto-trim system  const int  const int    Default  Default 
INPUT_ENGINE_MIXTURE_CMD_ADD|INPUT_ENGINE_MIXTURE_CMD_REDUCE  Adds to engine mixture  const int  const int    Default  Default 
INPUT_MAX_ENGINE_MIXTURE_CMD  Full engine mixture  const int  const int    Default  Default 
INPUT_MAX_PROPELLER_PITCH_CMD  Full propeller pitch  const int  const int    Default  Default 
INPUT_MAX_THROTTLE_CMD  Full throttle  const int  const int    Default  Default 
INPUT_MIN_ENGINE_MIXTURE_CMD  Min engine mixture  const int  const int    Default  Default 
INPUT_MIN_PROPELLER_PITCH_CMD  Min propeller pitch  const int  const int    Default  Default 
INPUT_MIN_THROTTLE_CMD  Min throttle  const int  const int    Default  Default 
INPUT_PITCH_CMD_FWD|INPUT_PITCH_CMD_BACK  Fwd stick  const int  const int    Default  Default 
INPUT_PROPELLER_PITCH_CMD_ADD|INPUT_PROPELLER_PITCH_CMD_REDUCE  Add pitch angle  const int  const int    Default  Default 
INPUT_REDUCE_MIX_CMD_FROM_MOUSE  Reduces engine mixture with mouse click  const int  const int    Default  Default 
INPUT_REDUCE_PROPELLER_PITCH_CMD_FROM_MOUSE  Reduces propeller pitch with mouse click  const int  const int    Default  Default 
INPUT_REDUCE_THROTTLE_CMD_FROM_MOUSE  Reduces the throttle with mouse click  const int  const int    Default  Default 
INPUT_ROLL_CMD_LEFT|INPUT_ROLL_CMD_RIGHT  Left stick  const int  const int    Default  Default 
INPUT_RUDDER_CMD_LEFT|INPUT_RUDDER_CMD_RIGHT  Left peddle  const int  const int    Default  Default 
INPUT_THROTTLE_CMD_ADD|INPUT_THROTTLE_CMD_REDUCE  Add power  const int  const int    Default  Default 
INPUT_WHEEL_BREAK_CMD|INPUT_WHEEL_BREAK_CMD_2  wheels break  const int  const int    Default  Default 
MIXTURE_LEVER_SET  Engine mixture lever set  const int  const int    Default  Default 
PROPELLER_PITCH_LEVER_SET  Propeller pitch lever set  const int  const int    Default  Default 
THROTTLE_LEVER_SET  Throttle lever set  const int  const int    Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_AGL_ALT 
ATT_AP_ENGAGEMENT_STATUS 
ATT_AP_STATUS_DIRTY 
ATT_ARE_LANDING_GEARS_DOWN 
ATT_BODY_AOA 
ATT_ELEVATOR_CMD 
ATT_ELEVATOR_FINE_CMD 
ATT_ENGINE_FUEL_VALVE_CMD 
ATT_ENGINE_THROTTLE_LEVER_POS 
ATT_ENGINES_NUMBER 
ATT_INDICATED_AIRSPEED_KNOTS 
ATT_IS_ON_GROUND 
ATT_IS_TO_STOP_HIGH_LEVEL_MODEL 
ATT_MANEUVERS_STACK_POINTER 
ATT_MIXTURE_CMD 
ATT_NUMBER_OF_WAYPOINTS 
ATT_PROPELLER_PITCH_CMD 
ATT_ROLL_CMD 
ATT_RUDDER_CMD 
ATT_THROTTLE_CMD 
ATT_THROTTLE_FINE_CMD 
ATT_WHEEL_BREAK_CMD 

back to top

Icon actions.png Required Actions

Name
ACTION_AC_SET_AILERON_CMD 
ACTION_AC_SET_BOTH_WHEELS_BRAKE_CMD 
ACTION_AC_SET_ELEV_CMD 
ACTION_AC_SET_ELEV_FINE_CMD 
ACTION_AC_SET_RUDDER_CMD 
ACTION_AP_ENGAGE_ALT_HOLD 
ACTION_AP_ENGAGE_HDG_HOLD 
ACTION_AP_ENGAGE_NAV_HOLD 
ACTION_AP_ENGAGE_SPEED_HOLD 
ACTION_AP_SET_ALTITUDE 
ACTION_AP_SET_HDG 
ACTION_AP_SET_ON 
ACTION_AP_SET_SPEED 
ACTION_AP_SET_VVI 

back to top,