You can ingest non-ROS data using the Formant Agent SDK. The Agent SDK is a lightweight Python module that allows you to run scripts on your device to gather custom data and ingest it into Formant. You can then use the full suite of Formant functionality with that data.
Documentation and SDK reference for the Agent SDK, alongside other other APIs and SDKs, can be found in the API/SDK reference section of our site.
This guide will teach you how to configure a data stream using the Agent SDK.
You can find instructions to install the Formant Agent SDK here: Agent SDK installation and overview.
You can find instructions and a simple example for data ingestion here: Ingesting basic datapoints.
For a full reference of the Agent SDK, see Agent SDK Reference.
When you run your application which ingests data to a stream, that stream will be created in the Formant UI automatically. If you don't see this stream, or if you want to configure the stream manually in the Formant UI, proceed to Step 3.
Once your device is ingesting data from the Agent SDK, you'll want to add an API stream to visualize and utilize that data in Formant.
- In Formant, in the upper-left corner, open the menu and click Settings.
- Click Devices, and then click on the device you want to configure.
- Click the Telemetry tab, and then click Add Stream.
- Click API. This will open the New API Stream configuration window:.
|Telemetry stream name||Give the stream a name.|
|On demand||If ON, this stream will store data locally on your device, and only upload data to Formant when you click Retrieve on-demand data. |
If OFF, this stream will ingest periodically.
|Video encoding||Only applicable for |
|Validation schema||Only applicable for JSON and text streams. Choose a configuration schema for this stream.|
|Add tags (e.g. ||Add tags to each datapoint of this stream. For more information on tags, see Configure access levels.|
|Rate limit (Hz) (optional)||If |
The default rate is 0.5 Hz.
Once you've added a stream to your device, your next step is to add it to a view in Formant.
Add the streams you want to visualize, and then move on to Viewing data in Formant.
If you notice an issue with this page or need help, please reach out to us! Use the 'Did this page help you?' buttons below, or get in contact with our Customer Success team via the Intercom messenger in the bottom-right corner of this page, or at [email protected].
Updated 2 months ago