Repeat Data and Concatenate Copies
Function Description
Copies the input data according to the set number of times, and outputs after connecting head to tail.
For example: Input [5,10,15], repeat 2 times, output [5,10,15,5,10,15].

Use Cases
Generally used for data copying. It is typically used together with the step Count Elements in Specified Dimension in Data List to make the number of elements in the input data list of subsequent steps the same.
Inputs
N Times: Number of times the data needs to be repeated.
Unnamed: Data to be repeated. Supported data types include: IndexList, PoseList, NumberList, Vector3DList, StringList, BoolList.
Outputs
Unnamed: Data after concatenation.
Parameters
Port Count (1-16): Specifies the number of data input ports, value range [0,16].
Operation Layer: Indicates the dimension where the operated variable is located in the array.
For data structures like NumberList, StringList, Vector3DList, BoolList, IndexList, the operation layer is introduced as follows:
[Layer 1 [Layer 0 xx,xx,xx…],[Layer 0 xx,xx,xx…] ]
For PoseList, the operation layer is introduced as follows:
[Layer 1 [Layer 0[x,y,z,qx,qy,qz,w]],[Layer 0[x,y,z,qx,qy,qz,w]] ]
Examples
Taking NumberList as an example, when the operation layer is set to different values, the outputs are as follows:
Repetition Count (N Times Port) |
NumberList (Unnamed Port) |
Operation Layer |
Output Data |
|---|---|---|---|
2 |
[10,20] |
0 |
[10,20,10,20] |
2 |
[10,20] |
1 |
[[10,20],[10,20]] |