Convert Data Type

You are currently viewing the documentation for the latest version (2.2.0). 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 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[]

-

Input Description

Generate input ports based on the selected input data type.

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.

Output Description

Generate output ports based on the selected output data type.

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.