pose_composeπ
Short descriptionπ
pose_compose β Combine 3D poses given in two tuples.
Signatureπ
pose_compose( pose PoseLeft, pose PoseRight, out pose PoseCompose )
Descriptionπ
pose_compose combines the poses in the tuples, PoseLeft and
PoseRight. If both tuples contain the same number of poses, the
corresponding elements of both tuples are composed. Otherwise, either tuple
PoseLeft or PoseRight must contain only one pose.
In this case, the composition is performed for each pose of the longer tuple
with the single pose of the other tuple. For each composition, the poses are
interpreted as transformations of coordinate systems. The poses in tuple
PoseCompose are therefore the result of applying the corresponding
poses in PoseLeft and PoseRight in sequence.
First, the respective poses in PoseLeft and PoseRight
are transformed into the corresponding homogeneous transformation matrices
\(\mvHomMatrixVar{}{1}\) and \(\mvHomMatrixVar{}{2}\).
\(\mvHomMatrixVar{}{1}\) is then multiplied with
\(\mvHomMatrixVar{}{2}\). The resulting matrix
\(\mvHomMatrixVar{}{1}\cdot\) \(\mvHomMatrixVar{}{2}\) is converted
into a pose and returned at the corresponding index in tuple
PoseCompose.
If the respective poses in PoseLeft and PoseRight have
different types, the default pose type 0 (βRp+Tβ, βgbaβ, βpointβ) is
returned. Otherwise, the returned poses have the same types as the poses
used for their composition.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
PoseLeft (input_control) pose(-array) β (real / integer)
Tuple containing the left poses.
PoseRight (input_control) pose(-array) β (real / integer)
Tuple containing the right poses.
PoseCompose (output_control) pose(-array) β (real / integer)
Tuple containing the returned poses.
Resultπ
pose_compose returns 2 (H_MSG_TRUE) if all parameters are valid.
If necessary, an exception is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
read_pose, hom_mat3d_to_pose, create_pose, convert_pose_type, pose_invert
Possible successors
Alternatives
hom_mat3d_compose, dual_quat_compose
See also
Moduleπ
Foundation