-
Notifications
You must be signed in to change notification settings - Fork 9
Utility Modules
Matteo Golin edited this page Nov 20, 2022
·
3 revisions
Sets the number of historical data points that should be stored in the local storage buffer. By default, this number is 10.
Parameters:
-
new_res(integer) The number of historical data points that should be stored.
Returns: Nothing.
Parameters: None.
Returns: The latest telemetry data stored in the buffer.
Writes the latest telemetry data received from the WebSocket to the local storage buffer. When the buffer is full, the oldest piece of data is removed to make room for the newest data.
Parameters:
-
recent_data(JSON object) The most recent telemetry data received from the WebSocket.
Returns: Nothing.
Clears the buffer of telemetry data in local storage.
Parameters: Nothing.
Returns: Nothing.