mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 22:46:36 +00:00
abc26d5c20
docs -> _docs
21 lines
477 B
Python
21 lines
477 B
Python
from datetime import datetime
|
|
from pydantic import BaseModel
|
|
from ..core.gps_point import GPSPoint
|
|
from ..core.camera_parameters import CameraParameters
|
|
from .waypoint import Waypoint
|
|
from .geofences import Geofences
|
|
|
|
|
|
class Flight(BaseModel):
|
|
id: str
|
|
name: str
|
|
description: str
|
|
start_gps: GPSPoint
|
|
waypoints: list[Waypoint]
|
|
geofences: Geofences
|
|
camera_params: CameraParameters
|
|
altitude: float
|
|
created_at: datetime
|
|
updated_at: datetime
|
|
|