ManeuversManager

From SIMboxWiki
Revision as of 19:45, 30 January 2012 by Seanjarvis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The ManeuversManager logic component manages the SLC maneuvers that were added to the Entity.

Type: Logic Object Component
File: ManeuversManager.slc
Version: 450.1000.355.1


back to top

Icon properties.png Properties

Name Description MaxValue MinValue DisplayName UnitType UnitName
PROP_AGL_HEIGHT  Object AGL Height.  AGL Height  Default  Default 
PROP_HEADING  Object heading  360  Heading  Default  Default 
PROP_INITIAL_TRUE_AIR_SPEED  Initial airspeed  1000  TAS (kts)  Default  Default 
PROP_IS_AGL  Indicates if PROP_AGL_HEIGHT should be used.  Use AGL height  Default  Default 
PROP_IS_HELICOPTER  Set to true if it is a helicopter    Default  Default 
PROP_LATITUDE  Object Latitude  Latitude  Default  Default 
PROP_LONGITUDE  Object Longitude  Longitude  Default  Default 
PROP_MANEUVER_DEFAULT_MANEUVER_NAME  The default maneuver to fly    Default  Default 
PROP_MANEUVER_NONE_NAME  The string to describe that no maneuver is being perfromed    Default  Default 
PROP_MANEUVERS_ENERGY_MAP_FILE_NAME  The file from which to read the energy data of the aircraft     File System  File 
PROP_MANEUVERS_GROUND_MANEUVER_NAME1_PROPERTY_NAME  The property name of the 1st on ground permitted maneuver    Default  Default 
PROP_MANEUVERS_GROUND_MANEUVER_NAME2_PROPERTY_NAME  The property name of the 2nd on ground permitted maneuver    Default  Default 
PROP_MANEUVERS_GROUND_MANEUVER_NAME3_PROPERTY_NAME  The property name of the 3rd on ground permitted maneuver    Default  Default 
PROP_MANEUVERS_HEIGHT_CORRECTION  Height correction to set the AC on the ground  20  -20    Default  Default 
PROP_MANEUVERS_ON_GROUND_PITCH_ANGLE  Used for initial pitch angle on the ground  10  -10    Default  Default 
PROP_PARAMS_FILE_NAME  The file name expected.    File System  File 
PROP_XPOSITION  Object X Position    Default  Default 
PROP_YPOSITION  Object Y Position    Default  Default 
PROP_ZPOSITION  Object Z Position  Altitude  Default  Default 
PROP_MANEUVERS_IS_TO_KEEP_TRUE_AIR_SPEED  Is the speed set for the maneuvers to keep is TAS (True airspeed). If not, treated as IAS    Default  Default 

back to top

Icon attributes.png Attributes

Name Description Param1 Param2 DisplayName UnitType UnitName
ATT_ABS_VELOCITY  Absolute velocity [m/s]  float &      Speed  Meter Per Second 
ATT_AFTERBURNER_STATUS  Indicates the afterburner status so the external can activate the afterburner effect accordingly  int &      Default  Default 
ATT_AGL_ALT  The altitude above ground level [m]  float &      Length  Meter 
ATT_AIRBREAK_DEFLECTION  The airbreak deflection [Deg]  float &      Angle  Degree 
ATT_AIRCRAFT_WEIGHT  ATT_AIRCRAFT_WEIGHT [KG]  float &      Mass  KG 
ATT_ALTIMETER_ALT  The current altitude of the aircraft [m]  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_GEARS_OPEN  Are the landing gears opened?  bool &      Default  Default 
ATT_BODY_ACC  The acceleration in body coordinates [m/s²]  LinearVec &      Acceleration  Meter Per Second Squared 
ATT_BODY_AOA  The aircraft body angle of attack [Deg]  float &      Angle  Degree 
ATT_BODY_BETA  The aircraft body bank angle [Deg]  float &      Angle  Degree 
ATT_BODY_VELOCITY  The velocity in body coordinates [m/s]  LinearVec &      Speed  Meter Per Second 
ATT_CG  The velocity in body coordinates [m]  LinearVec &      Length  Meter 
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 left magneto view  const int  float &    Default  Default 
ATT_ENGINE_MAGNETO_RIGHT_STATE  For the right magneto view  const int  float &    Default  Default 
ATT_ENGINE_MIXTURE_LEVER_POS  For the mixture view  const int  float &    Default  Default 
ATT_ENGINE_PROPELLER_RPM  The engine propeller RPM  const int  float &    Angular Velocity  RPM 
ATT_ENGINE_THROTTLE_LEVER_POS  For the throttle view  const int  float &    Default  Default 
ATT_FLAPS_CURRENT_STAGE  The current stage of the flaps  int &      Default  Default 
ATT_FLAPS_DEFLECTION  The flaps deflection [Deg]  float &      Angle  Degree 
ATT_FLAPS_TRANSITION_TIME  The flaps transition time  float &      Time  Seconds 
ATT_FRONT_WHEELS_STEER_ANGLE  The front wheel steer angle [deg]  float &      Angle  Degree 
ATT_GROUND_VEL_IN_BODY  The aircraft ground vel in body coordinates [m/s]  LinearVec &      Speed  Meter Per Second 
ATT_HEADING_DOT  The heading changing rate [deg/sec]  float &      Angular Velocity  Degree Per Second 
ATT_HEIGHT_ABOVE_GROUND  Returns the height above ground [m]  float &      Length  Meter 
ATT_INDICATED_AIRSPEED  The indicated air velocity [m/s]  float &      Speed  Meter Per Second 
ATT_INDICATED_AIRSPEED_KNOTS  The 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  Is the aircraft 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_TO_STOP_HIGH_LEVEL_MODEL  Is the maneuver has to stop the detailed model from working?  bool &      Default  Default 
ATT_LATITUDE  Entity Latitude [rad]  double &      Angle  Radian 
ATT_LIN_VELOCITY  The velocity in world coordinates [m/s]  LinearVec &      Speed  Meter Per Second 
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  Returns the aircraft mach number [N/A]  float &      Default  Default 
ATT_MACH_NO  The aircraft mach number  float &      Default  Default 
ATT_MANEUVER_NOSE_WHEEL_ANGLE  The steering wheel angle  float &      Angle  Degree 
ATT_MANEUVERS_CURRENT_MAX_ACCEL  The maximal acceleration based on the enrgy map file  float &      Acceleration  Meter Per Second Squared 
ATT_MANEUVERS_CURRENT_MIN_ACCEL  The minimal acceleration based on the enrgy map file  float &      Acceleration  Meter Per Second Squared 
ATT_MANEUVERS_DFLT_TURN_RADIUS  The turn radius for the default flight speed and maximum bank angle [m]  float &      Length  Meter 
ATT_MANEUVERS_DFLT_VVI  The VVI used for altitude changes [ft / min]. Use negative value to ignore, and to use the parameter in the parameters file.  float &      Speed  Feet Per Minute 
ATT_MANEUVERS_END_OF_RUNWAY_NET_POSITION  The end of runway net position. default value is the opposite zebra  LinearVec &      Length  Meter 
ATT_MANEUVERS_END_OF_RUNWAY_NET_STATUS  True if the end-of-runway net is up  bool &      Default  Default 
ATT_MANEUVERS_EXIST  Indicates that all maneuvers exists on the entity  bool &      Default  Default 
ATT_MANEUVERS_HAS_ENGAGED_CABLE  Has the aircraft engaged into the cable?  bool &      Default  Default 
ATT_MANEUVERS_HAS_ENGAGED_NET  Has the aircraft engaged the end-of-runway net?  bool &      Default  Default 
ATT_MANEUVERS_HAS_PASSED_END_OF_RUNWAY  Has the aircraft passed the end of runway, and still on ground?  bool &      Default  Default 
ATT_MANEUVERS_HEIGHT_CORRECTION  The maneuvers height correction  float &      Length  Meter 
ATT_MANEUVERS_IS_TO_ENGAGE_NEXT_CABLE  Is to engage next runway cable?  bool &      Default  Default 
ATT_MANEUVERS_IS_TO_START_FROM_SCENARIO_BUILDER  Tells the other maneuvers if to load data from the scenario builder  bool &      Default  Default 
ATT_MANEUVERS_IS_USE_HIGH_LEVEL_MODEL  A list of the maneuvers that uses / not uses the high level flight model.A maneuver that is missing from the list, is assumed not to use the high level model.  const string &  bool &    Default  Default 
ATT_MANEUVERS_MAIN_MANEUVER_NAME  The main maneuver currently being performed  string &      Default  Default 
ATT_MANEUVERS_MAX_VERTICAL_VELOCITY  The maximal vertical velocity for the maneuvers  float &      Speed  Feet Per Minute 
ATT_MANEUVERS_NEXT_CABLE_POSITION  The next on runway cable position  LinearVec &      Length  Meter 
ATT_MANEUVERS_NUMBER_IN_FORMATION  The number of aircrafts in the formation  int &      Default  Default 
ATT_MANEUVERS_REQUIRED_G_LIMIT  Sets positiive G limit  float &      Acceleration 
ATT_MANEUVERS_REQUIRED_LOAD_FACTOR  The required load factor  float &      Acceleration 
ATT_MANEUVERS_ROLL_OFF_RUNWAY  Indicates if an action to roll off the runway was called. 0 - to continue on runway, 1 - to the left of the runway, 2 - to the right of the runway.  int &      Default  Default 
ATT_MANEUVERS_SPEED_ORIENTATION  The speed vector orientaion  AngularVec &      Default  Default 
ATT_MANEUVERS_STACK_POINTER  The top most cell in the stack, which is not empty  int &      Default  Default 
ATT_MANEUVERS_START_MOTION_MODEL_NOTIFY_TOGGLE  When changed, indicates that a start motion model action was perfromed  bool &      Default  Default 
ATT_MANEUVERS_TAKEOFF_SPEED  The required take - off speed [Knots]  float &      Speed  Knots 
ATT_MANUEVER_ACTIVE_MANUEVER_NAME  The current maneuver that is being performed  string &      Default  Default 
ATT_MANUEVER_ACTIVE_MANUEVER_STACK  The active maneuver stack  const int  string &    Default  Default 
ATT_MANUEVER_PREV_ACTIVE_MANUEVER_NAME  The previous maneuver that was performed  string &      Default  Default 
ATT_MANUEVER_USED_MANUEVER_NAME  The current maneuver that is being used by another maneuver  string &      Default  Default 
ATT_MANUEVERS_DIST_TO_OPPOSITE_ZEBRA  The distance to the opposite zebra - for takeoff and landing [m]  float &      Length  Meter 
ATT_NUMBER_OF_ENGINES  Returns the number of engines of the aircraft  int &      Default  Default 
ATT_ORIENTATION  Orientation (pitch,roll,yaw)  AngularVec &      Default  Default 
ATT_ORIENTATION_DOT  Orientation dot (pitch,roll,yaw)  AngularVec &      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_REQUIRED_ALT  The required altitude  float &      Length  Feet 
ATT_REQUIRED_FLAPS_ANGLE  The flaps required angle  float &      Angle  Degree 
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 angle [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_AIRBRAKE  The angle of the airbrake subpart [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_FLAPS  The angle of the flaps subpart [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_LEFT_AILRON  The angle of the left ailron subpart [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_LEFT_ELEVATORS  The angle of the left elevators [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_RIGHT_AILRON  The angle of the right ailron subpart [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_RIGHT_ELEVATORS  The angle of the right elevators [rad]  float &      Angle  Radian 
ATT_SUBPART_ANG_RIGHT_RUDDER  The angle of the right rudder [rad]  float &      Angle  Radian 
ATT_SUBPART_FRONTGEARZ_ABOVE_GROUND  - for inside the ground [m]  float &      Length  Meter 
ATT_SUBPART_GROUND_STEER_ANG  The steering wheel deflection [rad]  float &      Angle  Radian 
ATT_SUBPART_LMAINGEARZ_ABOVE_GROUND  - for inside the ground [m]  float &      Length  Meter 
ATT_SUBPART_RMAINGEARZ_ABOVE_GROUND  - for inside the ground [m]  float &      Length  Meter 
ATT_TRUE_AIR_SPEED_KNOTS  Return entity velocity - TAS [knots]  float &      Speed  Knots 
ATT_TRUE_AIRSPEED_KNOTS  The true air velocity  float &      Speed  Knots 
ATT_TRUE_HEADING  True heading [deg]  float &      Angle  Degree 
ATT_TURN_RATE  The turn rate [Deg / Sec]  float &      Angular Velocity  Degree Per Second 
ATT_VERTICAL_VELOCITY  Vertical Velocity [m/s]  float &      Speed  Meter Per Second 
ATT_WHEEL_BREAK_CMD  The wheel break cmd (0 to 100)  int &      Default  Default 

back to top

Icon actions.png Actions

Name Description Param1 Param2 DisplayName UnitType UnitName
ACTION_CLEAR_USED_MANEUVER  Pops the used maneuver from the active maneuver stack        Default  Default 
ACTION_MANEUVERS_CLEAR_ALL_MANEUVERS  Clears the maneuvers stack so no maneuver is performed        Default  Default 
ACTION_MANEUVERS_FORMATION_BROKEN  Brakes the formation till the end of the mission        Default  Default 
ACTION_MANEUVERS_IS_TO_ENGAGE_NEXT_CABLE  Is to engage the next runway cable  const bool      Default  Default 
ACTION_MANEUVERS_LAND_IN_NEAREST_AP  Lands in the nearest airport        Default  Default 
ACTION_MANEUVERS_LIMIT_BANK_ANGLE  Limits the bank angle to the value set [deg]. Set negative value to ignore.  const float      Default  Default 
ACTION_MANEUVERS_REGROUP_FORMATION  Regroups the formation        Default  Default 
ACTION_MANEUVERS_ROLL_OFF_THE_RUNWAY  0 - not to roll off. 1 - to the left side, 2 - to the right side.  const int      Default  Default 
ACTION_MANEUVERS_SET_DEFAULT_MANEUVER  Sets the default maneuver        Default  Default 
ACTION_MANEUVERS_SET_DFLT_VVI  Sets the VVI used for altitude changes [ft / min]  const float      Default  Default 
ACTION_MANEUVERS_SET_END_OF_RUNWAY_NET_POSITION  Sets the position of the end-of-runway net position [m]  const LinearVec &      Length  Meter 
ACTION_MANEUVERS_SET_END_OF_RUNWAY_NET_STATUS  Sets the end of runway net position for cancel take-off or lost braking force   const bool      Default  Default 
ACTION_MANEUVERS_SET_G_LIMIT  Sets current positive G limit  const float      Acceleration 
ACTION_MANEUVERS_SET_IS_USE_HIGH_LEVEL_MODEL  Defines if the maneuver uses the high level flight model  const string &  const bool    Default  Default 
ACTION_MANEUVERS_SET_MAX_VVI  Sets a new maximal vertical velocity   const float      Speed  Feet Per Minute 
ACTION_MANEUVERS_SET_NEXT_CABLE_POSITION  Set the next runway cable position  const LinearVec &      Length  Meter 
ACTION_MANEUVERS_SET_NUMBER_IN_FORMATION  Sets the number in formation  const int      Default  Default 
ACTION_MANEUVERS_SET_PREVIOUS_MAX_VERTICAL_VELOCITY  Restore the previous maximal vertical velocity        Default  Default 
ACTION_MANEUVERS_SET_TAKEOFF_SPEED  Sets required takeoff speed, if it needs to be different from the one in the params file  const float      Default  Default 
ACTION_SET_ACTIVE_MANUEVER_NAME  Starts performing the indicated maneuver  const string &      Default  Default 
ACTION_SET_ACTIVE_MANUEVER_NAME_DELAY  Operate a maneuver in a number of frames delay  const string &  const int    Default  Default 
ACTION_SET_ACTIVE_MANUEVER_NAME_NO_FORMATION  Starts performing the indicated maneuver without calling the formation maneuver  const string &      Default  Default 
ACTION_SET_PS_POINT_MACH  Sets a mach to ps calib   const float      Default  Default 
ACTION_CLEAR_ALL_USED_MANEUVERS  Clear all the used maneuvers        Default  Default 
ACTION_SET_PS_POINT_PS  Sets the ps point to ps  const float      Default  Default 
ACTION_SET_USED_MANEUVER_NAME  A maneuver that is being used by other maneuver  const string &      Default  Default 
ACTION_START_MANEUVERS_MOTION_MODEL  Start model motion  const Location &  const LinearVec &    Default  Default 
INPUT_DISENGAGE_NAV_MANEUVER  Disengages the navigate maneuver  const int  const int    Default  Default 
INPUT_ENGAGE_NAV_MANEUVER  Engages the navigate maneuver. If no waypoints - Engages level flight  const int  const int    Default  Default 
INPUT_LAND_IN_NEAREST_AP  Lands in the nearest airport  const int  const int    Default  Default 
INPUT_MARK_PS  Marks a ps point  const int  const int    Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_3D_OBJECT_HANDLE 
ATT_AC_CD 
ATT_AC_CL 
ATT_AC_DYNAMIC_PRESS 
ATT_AC_SPECIFIC_POWER 
ATT_ENGINE_THRUST 
ATT_FORMATION_LEADER_ID 
ATT_FORMATION_MEMBER_DATA_DIRTY_TRIGGER 
ATT_FORMATION_MEMBER_LEADER_ID 
ATT_FORMATION_MEMBER_NUMBER_IN_FORMATION 
ATT_HEIGHT_FEET 
ATT_IS_MOTION_MODEL_ENABLED 
ATT_IS_ON_GROUND 
ATT_IS_TC 
ATT_TC_RUNWAY_TRACK 
ATT_TC_TAKEOFF_POSITION 
ATT_THROTTLE_CMD 
ATT_WEAPON_ID_LAUNCHED_ON_ME 

back to top

Icon actions.png Required Actions

Name
ACTION_CRASH_DETECTOR_SET_ACTIVE 
ACTION_MANEUVER_BREAK_90_SET_THREAT_ENTITY_ID 
ACTION_MANEUVER_LANDING_SET_LANDING_HDG 
ACTION_MANEUVER_LANDING_SET_LANDING_POINT 
ACTION_MANEUVER_LEVEL_FLIGHT_SET_ALTITUDE 
ACTION_MANEUVER_LEVEL_FLIGHT_SET_HDG 
ACTION_MANEUVER_LEVEL_FLIGHT_SET_SPEED 

back to top,