mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 19:26:37 +00:00
initial structure implemented
docs -> _docs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user