Set Pose Quaternions

You are currently viewing the documentation for the latest version (2.2.1). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step is used to set the orientations of poses (in quaternions) by the reference pose input from the second port, or the quaternion set in the parameter.

Usage Scenario

This Step is a general pose quaternion setting Step. If the reference pose list contains multiple poses, only the quaternion of the first pose will be used.

Input and Output

Input

Input port Data type Description

List of original poses

Pose[]

List of poses whose quaternions need to be set is input to this port.

List of reference poses

Pose[]

Reference pose list, optional. The Step uses only the quaternions of the first reference pose to set the original pose.

Output

Output port Data type Description

List of poses after setting Quaternions

Pose[]

List of poses after setting quaternions.

Parameter Description

Quaternions

If the input port "List of reference poses" is connected, the quaternion of the first reference pose takes precedence. The quaternion settings in this parameter group are used only when no List of reference poses is provided.

The quaternions used for setting must be normalized quaternions. A quaternion normalization check will be performed when the Step is executed. If the check fails, an error will be reported.

Parameter Description

W

Parameter description: This parameter is used to set the W component of the quaternions.
Default value: 1.0000.

X

Parameter description: This parameter is used to set the X component of the quaternions.
Default value: 0.0000.

Y

Parameter description: This parameter is used to set the Y component of the quaternions.
Default value: 0.0000.

Z

Parameter description: This parameter is used to set the Z component of the quaternions.
Default value: 0.0000.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.