SubsonicMotionModel

From SIMboxWiki
Jump to navigation Jump to search

The SubsonicMotionModel logic component handles the motion model of subsonic objects.

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


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_AGL_HEIGHT  Object AGL Height.  AGL Height  Default  Default 
PROP_AIRCRAFT_PARAMS_FILENAME  The file of the aircraft params    File System  File 
PROP_FRONT_SUSPENSION_CLOSE_H  The front gear suspension height when close  -5    Default  Default 
PROP_FRONT_SUSPENSION_OPEN_H  The front gear suspension height when open  -5    Default  Default 
PROP_HEADING  Object heading  360  Heading  Default  Default 
PROP_INITIAL_TRUE_AIR_SPEED  Initial airspeed  TAS (kts)  Default  Default 
PROP_IS_AGL  Indicates if PROP_AGL_HEIGHT should be used.  Use AGL height  Default  Default 
PROP_IS_AUTO_RUDDER  Is auto rudder on?    Default  Default 
PROP_LATITUDE  Object Latitude  Latitude  Default  Default 
PROP_LONGITUDE  Object Longitude  Longitude  Default  Default 
PROP_MAIN_SUSPENSION_CLOSE_H  The main gear suspension height when close  -5    Default  Default 
PROP_MAIN_SUSPENSION_OPEN_H  The main gear suspension height when open  -5    Default  Default 
PROP_MAX_UPDATE_DT  If dt is higher nothing happens on update    Default  Default 
PROP_XPOSITION  Object X Position    Default  Default 
PROP_YPOSITION  Object Y Position    Default  Default 
PROP_ZPOSITION  Object Z Position  Altitude  Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_ABS_VELOCITY  Absolute velocity  float &      Speed  Meter Per Second 
ATT_AGL_ALT  The altitude above ground level  float &      Length  Meter 
ATT_AIR_REFUELING_CMD  The command of air-refueling [% of max rate]  const int  float &    Default  Default 
ATT_AIR_REFUELING_DESTS  The tanks that are the dests when air refueling: 01 means tanks 0 & 1  const int  string &    Default  Default 
ATT_AIR_REFUELING_MAX_RATES  The maximal air refueling fuel flow [Gal./Hr.]  const int  float &    Volume Flow  Gallon Per Hour 
ATT_AIRBREAK_DEFLECTION  The airbreak deflection  float &      Angle  Degree 
ATT_AIRCRAFT_WEIGHT  The weight of the aircraft  float &      Mass  KG 
ATT_ALTIMETER_ALT  The altitude of the aircraft  float &      Length  Meter 
ATT_ALTIMETER_BARO_PRESSURE  The baro pressure on the altimeter  float &      Pressure  InHG 
ATT_ANG_ACCELERATION  ATT_ANG_ACCELERATION  AngularVec &      Default  Default 
ATT_ANG_VELOCITY  ATT_ANG_VELOCITY  AngularVec &      Default  Default 
ATT_ARE_LANDING_GEAR_RETRACTABLE  Are the gears retractable?  bool &      Default  Default 
ATT_ARE_LANDING_GEARS_OPEN  true - extracted  bool &      Default  Default 
ATT_BODY_ACCELERATION  The acceleration in body coordinates  LinearVec &      Acceleration  Meter Per Second Squared 
ATT_BODY_AOA  The aircraft body angle of attack  float &      Angle  Degree 
ATT_BODY_BETA  The aircraft body bank angle  float &      Angle  Degree 
ATT_BODY_VELOCITY  The velocity in body coordinates  LinearVec &      Speed  Meter Per Second 
ATT_CG  The velocity in body coordinates  LinearVec &      Length  Meter 
ATT_CROSS_FEED_CMD  The command to perform cross feed [% of max rate]  const int  float &    Default  Default 
ATT_CROSS_FEED_DESTS  The dests of cross feed 13 are tanks 1 & 3  const int  string &    Default  Default 
ATT_CROSS_FEED_MAX_RATES  The maximal rates for performing cross feed according to the sources & dests arrays  const int  float &    Volume Flow  Gallon Per Hour 
ATT_CROSS_FEED_SOURCES  The source tanks for x-feed 02 are tanks 0 & 2  const int  string &    Default  Default 
ATT_CURR_FUEL_QUANTITIES  The current fuel quantity in each tank [Gal.]  const int  float &    Mass  Metric Ton 
ATT_DEBUG_PARAM  Debugging  const int  float &    Default  Default 
ATT_ELEVATOR_CMD  The elevator cmd (-100 to 100)  int &      Default  Default 
ATT_ELEVATOR_FINE_CMD  1/100 of the elevator cmd - for the AP  int &      Default  Default 
ATT_ELEVATOR_TRIM_CMD  The elevator trim (-100 to 100)  int &      Default  Default 
ATT_ENGINE_MAGNETO_LEFT_STATE  For the magneto view  const int  float &    Default  Default 
ATT_ENGINE_MAGNETO_RIGHT_STATE  For the magneto view  const int  float &    Default  Default 
ATT_ENGINE_MIXTURE_LEVER_POS  For the mixture view  const int  float &    Default  Default 
ATT_ENGINE_THROTTLE_LEVER_POS  For the throttle view  const int  float &    Default  Default 
ATT_ENGINES_NUMBER  The number of identical engines on the aircraft  int &      Default  Default 
ATT_FEED_ORDER  The feed order : 012 means tanks 0 & 1 & 2 are first  const int  string &    Default  Default 
ATT_FLAPS_DEFLECTION  The flaps deflection  float &      Angle  Degree 
ATT_FLAPS_REQUIRED_STAGE  Flaps required stage  int &      Default  Default 
ATT_FLIGHT_MODEL_EXISTS  To Indicate that a flight model exists  bool &      Default  Default 
ATT_FRONT_SUSPENSION_PCT  The front gear suspension percentage (0 - close, 100 full open)  int &      Default  Default 
ATT_FUEL_DUMP_CMD  The command to perform fuel dump [% of max rate]  const int  float &    Default  Default 
ATT_FUEL_DUMP_MAX_RATES  The maximal fuel flow for fuel dump  const int  float &    Volume Flow  Gallon Per Hour 
ATT_FUEL_DUMP_SOURCES  The tanks that are sources for fuel dump  const int  string &    Default  Default 
ATT_FUEL_TANKS_CAPACITY  The fuel tanks capacities [Gal.]  const int  float &    Mass  Metric Ton 
ATT_FUEL_TANKS_NO  The number of fuel tanks in the fuel system  int &      Default  Default 
ATT_GROUND_VEL_IN_BODY  The aircraft ground vel in body coordinates  LinearVec &      Speed  Meter Per Second 
ATT_INDICATED_AIRSPEED  Indicated air velocity  float &      Speed  Meter Per Second 
ATT_INDICATED_AIRSPEED_KNOTS  Indicated air velocity [knots]  float &      Speed  Knots 
ATT_IS_FLAPERON  Are the flaps part of the aileron mechanism?  bool &      Default  Default 
ATT_IS_IN_MANEUVER_MODE  true if the aircraft is in maneuver mode  bool &      Default  Default 
ATT_IS_IN_MOTION  Is in motion? Boolean answer.  bool &      Default  Default 
ATT_IS_LANDING_GEARS_HANDLE_UP  The landing gear handle position  bool &      Default  Default 
ATT_IS_MOTION_MODEL_UNIT  Is this SLC a part of the object's motion model?  bool &      Default  Default 
ATT_IS_WHEEL_STEER_ENABLED  Is the ground steering wheel enabled?  bool &      Default  Default 
ATT_LATITUDE  Entity Latitude [rad]  double &      Angle  Radian 
ATT_LIN_ACCELERATION  The velocity in world coordinates  LinearVec &      Acceleration  Meter Per Second Squared 
ATT_LIN_VELOCITY  The velocity in world coordinates  LinearVec &      Speed  Meter Per Second 
ATT_LMAIN_SUSPENSION_PCT  The left main gear suspension percentage (0 - close, 100 full open)  int &      Default  Default 
ATT_LOAD_FACTOR  The aircraft load factor (g)  float &      Default  Default 
ATT_LOCATION  Location (x,y,z,pitch,roll,yaw)  Location &      Coordinate System  Local 
ATT_LONGITUDE  Entity Longitude [rad]  double &      Angle  Radian 
ATT_MACH_NO  The aircraft much number  float &      Default  Default 
ATT_ORIENTATION  Orientation (pitch,roll,yaw)  AngularVec &      Default  Default 
ATT_ORIENTATION_DOT  Orientation dot (pitch,roll,yaw)  AngularVec &      Default  Default 
ATT_OUT_OF_FUEL  Is out of fuel?  bool &      Default  Default 
ATT_OUTSIDE_AIR_TEMPERATURE  The outside air temperature [oC]  float &      Temperature  Celsius 
ATT_POSITION  Position (x,y,z)  LinearVec &      Coordinate System  Local 
ATT_RMAIN_SUSPENSION_PCT  The right main gear suspension percentage (0 - close, 100 full open)  int &      Default  Default 
ATT_ROLL_CMD  The roll comand (ailerons) (-100 to 100)  int &      Default  Default 
ATT_ROLL_FINE_CMD  1/100 of the roll comand - for the AP  int &      Default  Default 
ATT_RUDDER_CMD  The rudder cmd (-100 to 100)  int &      Default  Default 
ATT_RUDDER_FINE_CMD  1/100 of the rudder cmd - for the AP  int &      Default  Default 
ATT_SIDESLIP_ANGLE_RAD  Sideslip  float &      Angle  Radian 
ATT_SUBPART_ANG_AIRBRAKE  The angle of the airbrake subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_FLAPS  The angle of the flaps subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_LEFT_AILRON  The angle of the left ailron subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_LEFT_ELEVATORS  The angle of the left elevators subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_RIGHT_AILRON  The angle of the right aillron subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_RIGHT_ELEVATORS  The angle of the right elevators subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_RIGHT_RUDDER  The angle of the rudder subpart  float &      Angle  Radian 
ATT_SUBPART_ANG_STEERING_WHEEL  The angle of the steering wheel subpart  float &      Angle  Radian 
ATT_SUBPART_FRONTGEARZ_ABOVE_GROUND  - for inside the ground  float &      Length  Meter 
ATT_SUBPART_GROUND_STEER_ANG  The steering wheel deflection  float &      Angle  Radian 
ATT_SUBPART_LMAINGEARZ_ABOVE_GROUND  - for inside the ground  float &      Length  Meter 
ATT_SUBPART_RMAINGEARZ_ABOVE_GROUND  - for inside the ground  float &      Length  Meter 
ATT_TRUE_AIRSPEED_KNOTS  True air velocity  float &      Speed  Knots 
ATT_TRUE_HEADING  True heading  float &      Angle  Degree 
ATT_TURN_RATE  The turn rate [Deg / Sec]  float &      Angular Velocity  Degree Per Second 
ATT_VERTICAL_VELOCITY  Vertical Velocity  float &      Speed  Meter Per Second 
ATT_WHEEL_BREAK_CMD  The wheel break cmd (0 to 100)  int &      Default  Default 
ATT_WIND_DRIFT_ANGLE  The wind drift angle   float &      Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_ENABLE_WHEEL_STEER  Enables / disables the ground steering  const bool      Default  Default 
ACTION_ENGINE_START_STATUS_CHANGE  The aircraft shoud know when the engine started  const int  const bool    Default  Default 
ACTION_FLAPS_DOWN_ONE_STEP  Lower the flaps one step         Default  Default 
ACTION_FLAPS_UP_ONE_STEP  Retract the flaps one step         Default  Default 
ACTION_MODEL_MOTION_ENABLE  Enable model motion  const bool      Default  Default 
ACTION_START_FLIGHT_MOTION_MODEL  Start model motion  const Location &  const LinearVec &    Default  Default 
INPUT_ADD_MIX_CMD_FROM_MOUSE  Add mix from mouse  const int  const int    Default  Default 
INPUT_AIRBREAK_IN_CMD  Retract airbreak  const int  const int    Default  Default 
INPUT_AIRBREAK_OUT_CMD  Extend airbreak  const int  const int    Default  Default 
INPUT_ELEVTOR_TRIM_CMD_ADD  Nose up  const int  const int    Default  Default 
INPUT_ELEVTOR_TRIM_CMD_REDUCE  Nose down  const int  const int    Default  Default 
INPUT_FLAP_DOWN_CMD  Flaps position change down  const int  const int    Default  Default 
INPUT_FLAP_UP_CMD  Flaps position change up  const int  const int    Default  Default 
INPUT_GEARS_IN_CMD  Retract gears  const int  const int    Default  Default 
INPUT_GEARS_OUT_CMD  Extend gears  const int  const int    Default  Default 
INPUT_LEFT_WHEEL_BREAK_2|INPUT_LEFT_WHEEL_BREAK  Left wheel break_2  const int  const int    Default  Default 
INPUT_MIXTURE_CMD_ADD|INPUT_MIXTURE_CMD_REDUCE  Add mixture  const int  const int    Default  Default 
INPUT_PARKING_BREAK_CMD_TOGGLE  Parking break  const int  const int    Default  Default 
INPUT_REDUCE_MIX_CMD_FROM_MOUSE  Reduce mix from mouse  const int  const int    Default  Default 
INPUT_RIGHT_WHEEL_BREAK_2|INPUT_RIGHT_WHEEL_BREAK  Right wheel break 2  const int  const int    Default  Default 
INPUT_STARTER-MAGNETO_ADD_CMD  Magneto switch left  const int  const int    Default  Default 
INPUT_STARTER-MAGNETO_REDUCE_CMD  Magneto switch left  const int  const int    Default  Default 
INPUT_WHEEL_STEER_DISABLE  Disables the ground steering  const int  const int    Default  Default 
INPUT_WHEEL_STEER_ENABLE  Enables the ground steering  const int  const int    Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_3D_OBJECT_HANDLE 
ATT_AP_ENGAGEMENT_STATUS 
ATT_ARE_LANDING_GEARS_DOWN 
ATT_ELCT_IS_FLAPS_POWER_ON 
ATT_ELCT_IS_SPEEDBRAKE_POWER_ON 
ATT_ENGINE_PROPELLER_PLANE_NORMAL_VELOCITY 
ATT_ENGINE_STARTER_STATE 
ATT_ENGINE_THRUST 
ATT_HYDRAULIC_ACCUMALATOR_ON 
ATT_HYDRAULIC_PRESSURE 
ATT_IS_ON_GROUND 
ATT_MAGNETO_STATE 
ATT_MANUEVER_ACTIVE_MANUEVER_STACK 
ATT_MIXTURE_CMD 
ATT_PROPELLER_RPM 
ATT_STEER_IS_PITCH_AUTO_TRIM_ON 

back to top

Icon actions.png Required Actions

Name
ACTION_EXTRACT_GEARS 
ACTION_RETRACT_GEARS 
ACTION_SET_DAMAGE 
ACTION_SOUNDLOGIC_PLAY_FLAPS_SOUND 

back to top,