ImageBuffer: Improved logic for slot management

This commit is contained in:
2026-02-28 21:22:58 +01:00
parent c92afa95fb
commit c897008d6e
14 changed files with 242 additions and 57 deletions

View File

@@ -10,6 +10,8 @@ Name | Type | Description | Notes
**image_numbers** | **List[int]** | Image numbers currently present in the buffer. |
**total_slots** | **int** | Number of slots in the image buffer. This number, compared to number of images in data collection and frame rate will determine \"retention\" rate of the image buffer. |
**available_slots** | **int** | Slots available for the data collection |
**in_preparation_slots** | **int** | Number of slots in the image buffer that are currently in preparation for sending. |
**in_sending_slots** | **int** | Number of slots in the image buffer that are currently sending/writing data. |
**current_counter** | **int** | Counter of changes in the image buffer - either new start message or new image added. For optimization one can only load new images/datasets from the HTTP if this value changes. Counter is optional as it was not implemented in older versions to avoid breaking change | [optional]
## Example