mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 22:46:36 +00:00
@@ -330,8 +330,8 @@ ImageMetadata:
|
||||
**Description**: Gets current processing status for a flight.
|
||||
|
||||
**Called By**:
|
||||
- F01 GPS-Denied REST API (status endpoint)
|
||||
- F02 Flight Manager
|
||||
- F01 Flight API (status endpoint)
|
||||
- F02 Flight Processor
|
||||
|
||||
**Input**:
|
||||
```python
|
||||
@@ -349,6 +349,11 @@ ProcessingStatus:
|
||||
processing_rate: float # images/second
|
||||
```
|
||||
|
||||
**Processing Flow**:
|
||||
1. Get flight state via F02 Flight Processor.get_flight_state(flight_id)
|
||||
2. Combine with internal queue status
|
||||
3. Return ProcessingStatus
|
||||
|
||||
**Test Cases**:
|
||||
1. **Get status**: Returns accurate counts
|
||||
2. **During processing**: Updates in real-time
|
||||
@@ -397,7 +402,8 @@ ProcessingStatus:
|
||||
|
||||
### Internal Components
|
||||
- **H08 Batch Validator**: For validation logic
|
||||
- **F17 Database Layer**: For metadata persistence
|
||||
- **F03 Flight Database**: For metadata persistence
|
||||
- **F02 Flight Processor**: For flight state information
|
||||
|
||||
### External Dependencies
|
||||
- **opencv-python**: Image I/O
|
||||
|
||||
Reference in New Issue
Block a user