mirror of
https://github.com/azaion/gps-denied-desktop.git
synced 2026-04-22 10:36:36 +00:00
abc26d5c20
docs -> _docs
18 lines
397 B
Python
18 lines
397 B
Python
from typing import Optional
|
|
import numpy as np
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class RelativePose(BaseModel):
|
|
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
|
|
translation: np.ndarray
|
|
rotation: np.ndarray
|
|
confidence: float
|
|
inlier_count: int
|
|
total_matches: int
|
|
tracking_good: bool
|
|
scale_ambiguous: bool = True
|
|
chunk_id: Optional[str] = None
|
|
|