:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** .. _SixDOF_Subobjects_Label: SixDOF Subobjects ================= A SixDOF vehicle type may include one or more subobjects that may represent bombs, missiles, fuel tanks, etc. Subobjects do not have an AFSIM platform until they are jettisoned. At that time, a platform will be created containing a :model:`WSF_RIGID_BODY_SIX_DOF_MOVER` or :model:`WSF_POINT_MASS_SIX_DOF_MOVER` and relevant data for the jettisoned vehicle will be passed into the mover, automatically transferring to the platform its kinematic state. See :command:`map_vehicle_to_platform` for more information. A :model:`WSF_RIGID_BODY_SIX_DOF_MOVER` may contain :model:`WSF_POINT_MASS_SIX_DOF_MOVER` subobjects, and vice versa. This permits use cases where the fidelity of a jettisoned vehicle is more (or less) important than the model fidelity of the launching vehicle. .. command:: subobject ... end_subobject Depending on the defining data, subobjects may effect the performance of their parent platform. For example, a bomb carried on an external pylon may produce additional drag on the parent. It is also possible for a subobject to contribute thrust forces to the parent (such as running Hound Dog missiles on a B-52 during takeoff, or having SRB thrust contribute to the total thrust of a Space Shuttle orbiter). In addition, subobjects will contribute mass properties and inertia to their parent. A subobject is always derived from a previously defined vehicle type. Although any parameter can be overridden, typical use involves setting relative positioning and separation effects for a subobject while using all other characteristics from the object type from which it was derived. .. parsed-literal:: subobject missile1 AIM9L // `Relative Positioning with Parent`_ parent_rel_x_ ... parent_rel_y_ ... parent_rel_z_ ... parent_rel_yaw_ ... parent_rel_pitch_ ... parent_rel_roll_ ... // `Separation Effects`_ separation_vx_ ... separation_vy_ ... separation_vz_ ... separation_omega_x_ ... separation_omega_y_ ... separation_omega_z_ ... end_subobject Relative Positioning with Parent ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The following commands specify how a subobject should be positioned relative to its parent while captive. .. command:: parent_rel_x This specifies the x-location of the object's reference point relative to the parent's reference point using the parent's body coordinate system. **Default**: 0.0 .. command:: parent_rel_y This specifies the y-location of the object's reference point relative to the parent's reference point using the parent's body coordinate system. **Default**: 0.0 .. command:: parent_rel_z This specifies the z-location of the object's reference point relative to the parent's reference point using the parent's body coordinate system. **Default**: 0.0 .. command:: parent_rel_yaw This specifies the yaw of the object about its reference point relative to the parent's body coordinate system. **Default**: 0.0 .. command:: parent_rel_pitch This specifies the pitch of the object about its reference point relative to the parent's body coordinate system. **Default**: 0.0 .. command:: parent_rel_roll This specifies the roll of the object about its reference point relative to the parent's body coordinate system. **Default**: 0.0 Separation Effects ^^^^^^^^^^^^^^^^^^ The following commands specify the perturbation that will be applied to a subobject when it is jettisoned from its parent. .. command:: separation_vx This specifies the x-component of velocity (in parent body coordinates) that is imparted to the subobject when it separates from the parent. **Default**: 0.0 .. command:: separation_vy This specifies the y-component of velocity (in parent body coordinates) that is imparted to the subobject when it separates from the parent. **Default**: 0.0 .. command:: separation_vz This specifies the z-component of velocity (in parent body coordinates) that is imparted to the subobject when it separates from the parent. **Default**: 0.0 .. command:: separation_omega_x This specifies the x-component of angular velocity (in subobject body coordinates) that is imparted to the subobject when it separates from the parent. **Default**: 0.0 .. command:: separation_omega_y This specifies the y-component of angular velocity (in subobject body coordinates) that is imparted to the subobject when it separates from the parent. **Default**: 0.0 .. command:: separation_omega_z This specifies the z-component of angular velocity (in subobject body coordinates) that is imparted to the subobject when it separates from the parent. **Default**: 0.0 Return to :doc:`six_dof_object_types`, :doc:`rigid_body_vehicle_type`, :doc:`point_mass_vehicle_type`