SMG HumanMotion2

From SIMboxWiki
Jump to navigation Jump to search

The SMG_HumanMotion2 logic component handles the motion model for the humans.

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


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_HUMAN_MOTION_DEFAULT_MOTION_STATE  The default motion state  10    Default  Default 
PROP_HUMAN_MOTION_MAX_FORWARD_SPEEDS  The maximal forward speed values for each motion state [m/sec]     Default  Default 
PROP_HUMAN_MOTION_MAX_REVERSE_SPEED  The maximal reverse speed values for each motion state [m/sec    Default  Default 
PROP_HUMAN_MOTION_MAX_ROTATE_RATE  The maximal rotate rate values for each motion state [degs/sec]    Default  Default 
PROP_HUMAN_MOTION_NUMBER_OF_MOTION_STATES  The number of motion states  10    Default  Default 
PROP_HUMAN_MOTION_TIME_TO_BRAKE_FROM_MAX_SPEED  The time to brake from max speed to zero    Default  Default 
PROP_HUMAN_MOTION_TIME_TO_REACH_HALF_OF_THE_MAX_SPEED  The time to reach half of the maximal speed [Secs]    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_ABS_VELOCITY  Absolute velocity  float &      Speed  Meter Per Second 
ATT_ANG_ACCELERATION  ATT_ANG_ACCELERATION  AngularVec &      Default  Default 
ATT_ANG_VELOCITY  ATT_ANG_VELOCITY  AngularVec &      Default  Default 
ATT_BODY_ACCELERATION  The acceleration in body coordinates  LinearVec &      Acceleration  Meter Per Second Squared 
ATT_BODY_VELOCITY  The velocity in body coordinates  LinearVec &      Speed  Meter Per Second 
ATT_HUMAN_MOTION_CURRENT_MOTION_STATE  The current motion state  int &      Default  Default 
ATT_HUMAN_MOTION_FORWARD_SPEED  The forward speed   float &      Speed  Meter Per Second 
ATT_HUMAN_MOTION_REQUIRED_MOTION_STATE  The required human motion state  int &      Default  Default 
ATT_IS_HIGH_LEVEL_GROUND_MOTION_MODEL_EXISTS  Indicates to the GroundMotionManager that the high level motion model exists  bool &      Default  Default 
ATT_IS_IN_MOTION  Is in motion? Boolean answer.  bool &      Default  Default 
ATT_LATITUDE  Entity Latitude [rad]  double &      Angle  Radian 
ATT_LIN_ACCELERATION  The acceleration in world coordinates  LinearVec &      Acceleration  Meter Per Second Squared 
ATT_LIN_VELOCITY  The velocity in world coordinates  LinearVec &      Speed  Meter Per Second 
ATT_LOCATION  Location (x,y,z,pitch,roll,yaw)  Location &      Coordinate System  Local 
ATT_LONGITUDE  Entity Longitude [rad]  double &      Angle  Radian 
ATT_ORIENTATION  Orientation (pitch,roll,yaw)  AngularVec &      Default  Default 
ATT_POSITION  Position (x,y,z)  LinearVec &      Coordinate System  Local 
ATT_TRUE_HEADING  The velocity vector direction  float &      Angle  Degree 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_HUMAN_MOTION_SET_ACTIVE  Activates / Deactivates the human motion model  const bool      Default  Default 
ACTION_HUMAN_MOTION_SET_MOTION_STATE  Sets the motion state  const int      Default  Default 
ACTION_HUMAN_MOTION_STOP_MOVING  Stops movement of human        Default  Default 
INPUT_BRAKE|INPUT_ACCEL  The acceleration / brake command  const int  const int    Default  Default 
INPUT_ROTATE_LEFT|INPUT_ROTATE_RIGHT  The rotate command  const int  const int    Default  Default 

back to top,