Convert Data Type

You are currently viewing the documentation for a pre-release version (2.2.0). To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Function

This Step is used to convert the input data type to the specified output data type by customizing the data types of the input and output ports.

Usage Scenario

This Step is a general data conversion Step, with no fixed usage scenarios. It can be connected with other Steps according to actual data-type conversion requirements.

Data Conversion Relationship

The conversion relationships between input data types and output data types are shown in the table below. You can configure the input data type and output data type according to the actual requirement.

Bool[]

Number[]

Index[]

JsonValue[]

Matrix4D[]

Pose[]

Pose2D[]

Quaternion[]

Shape2D[]

Shape3D[]

Size3D[]

String[]

Vector3D[]

Bool[]

-

Number[]

-

Index[]

-

JsonValue[]

-

Matrix4D[]

-

Pose[]

-

Pose2D[]

-

Quaternion[]

-

Shape2D[]

-

Shape3D[]

-

Size3D[]

-

String[]

-

Vector3D[]

-

Parameter Description

Parameter Description

Input Data Type

Parameter description: This parameter specifies the data type of the input port. The corresponding input port is generated based on the selection.
Default value: None
Tuning instructions: Refer to Data Conversion Relationship and select the corresponding data type according to the actual requirement.

Output Data Type

Parameter description: This parameter specifies the data type of the output port. The corresponding output port is generated based on the selection.
Default value: None
Tuning instructions: Refer to Data Conversion Relationship and select the corresponding data type according to the actual requirement.

You should pay attention to the dependency relationship between input port and output port while using this Step:

  • When you change the data type of either the input or the output port, if the new data type cannot be converted to/from the data type of the other port, the data type of this other port is reset.

  • If the data type of a port is changed (including the reset mentioned above), connection(s) to this port is deleted, and you will need to reconnect the Steps.

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.