General Data Save

Description

This operator is a versatile data saving tool that can save any data in the process (such as List, Point Cloud, Image, pose, number, text, etc.) to a local file for debugging, recording, or subsequent analysis.

Overview

Saves data of any type to a specified path.

Scenarios

  • Debugging and Diagnosis: Connecting this operator at any intermediate step of the algorithm flow allows saving its input data, making it convenient for engineers to check if the output of that step meets expectations.

  • Result Archiving: Save the final calculation results, such as final Pick points, Detection box list, etc., as files for review or record.

  • Data Acquisition: Save raw data obtained from cameras or other sources.

Inputs and Outputs

Inputs

Data to be saved: Input data to be saved to a local file or FTP.

Enable Switch: Enables the node function. Default is True. If the input is False, no data will be saved.

Outputs

File Name: The base name of the saved file (excluding extension and timestamp).

Parameters

Initialization Parameters

Save to FTP

Description

Whether to transfer data to the server via FTP.

Parameter Range

Default: False

Delete Local Data

Description

Whether to delete local data after it has been transferred to the server via FTP.

Parameter Range

Default: True

FTP IP Address

Description

FTP server host address.

Parameter Range

Default: 192.168.33.18

FTP Port

Description

FTP server port number.

Parameter Range

Default: 8089

FTP Username

Description

FTP server username.

Parameter Range

Default: admin

FTP Password

Description

FTP server password.

Parameter Range

Default: qy123456

FTP Directory

Description

Target directory on the FTP server.

Parameter Range

Default: data

Run Parameters

Save Path

Description

Specified save path. If not set, defaults to the ATOM graph cache path.

Save Name

Description

Specified save name. File extension should not be included.

Parameter Range

Default: data

Save Single File Only

Description

Whether to save only a single file. If True, saves using the specified file name; if False, appends a timestamp to the specified name.

Parameter Range

Default: False

Max Storage Memory

Description

Maximum storage memory in GB.

Parameter Range

Values/Range: [1e-05, 4000.0]

Default: 10.0

Unit: GB

Save as Binary

Description

Displayed dynamically when the input is a point-cloud type. Specifies whether the point-cloud data should be saved in binary format.

Parameter Range

Default: True

Save Mode

Description

Displayed dynamically when the input is a base data type saved as JSON. It specifies how data is written to a file with the same name. Append adds new data after the existing content and is suitable for accumulating results over time, while Overwrite replaces the original content and is suitable when only the latest result should be kept.

Parameter Range

Values/Range:

  • Append

  • Overwrite

Default: Append

Data Name

Description

Displayed dynamically when the input is a base data type and is saved as JSON. Used to specify the data field name in the JSON file.

Parameter Range

Default: data