mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-23 03:46:37 +00:00
initial structure implemented
docs -> _docs
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
from datetime import datetime
|
||||
from pydantic import BaseModel
|
||||
from ..core.gps_point import GPSPoint
|
||||
|
||||
|
||||
class ObjectLocation(BaseModel):
|
||||
object_id: str
|
||||
pixel: tuple[float, float]
|
||||
gps: GPSPoint
|
||||
class_name: str
|
||||
confidence: float
|
||||
|
||||
|
||||
class FrameResult(BaseModel):
|
||||
frame_id: int
|
||||
gps_center: GPSPoint
|
||||
altitude: float
|
||||
heading: float
|
||||
confidence: float
|
||||
timestamp: datetime
|
||||
refined: bool = False
|
||||
objects: list[ObjectLocation] = []
|
||||
updated_at: datetime
|
||||
|
||||
Reference in New Issue
Block a user