mirror of
https://github.com/azaion/gps-denied-desktop.git
synced 2026-04-22 21:46:36 +00:00
abc26d5c20
docs -> _docs
16 lines
346 B
Python
16 lines
346 B
Python
from datetime import datetime
|
|
from typing import Optional
|
|
import numpy as np
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class Pose(BaseModel):
|
|
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
|
|
frame_id: int
|
|
position: np.ndarray
|
|
orientation: np.ndarray
|
|
timestamp: datetime
|
|
covariance: Optional[np.ndarray] = None
|
|
|