Data Structures
DepthData
pydantic-model
¤
IMUData
pydantic-model
¤
Location
pydantic-model
¤
x: float
pydantic-field
required
¤
Distance in meters from origin to spot on X axis
y: float
pydantic-field
required
¤
Distance in meters from origin to spot on Y axis
z: float
pydantic-field
required
¤
Distance in meters from origin to spot on Z axis
__config__
¤
__add__(self, other)
special
¤
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
31 32 33 |
|
__json_encoder__(obj)
special
staticmethod
¤
__str__(self)
special
¤
Return str(self).
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
35 36 |
|
distance(self, other_location)
¤
Euclidean distance between current location and other location
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
24 25 26 27 28 29 |
|
to_array(self)
¤
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
38 39 |
|
RGBData
pydantic-model
¤
Rotation
pydantic-model
¤
pitch: float
pydantic-field
required
¤
Degree around the Y-axis
roll: float
pydantic-field
required
¤
Degree around the X-axis
yaw: float
pydantic-field
required
¤
Degree around the Z-axis
__config__
¤
__json_encoder__(obj)
special
staticmethod
¤
__str__(self)
special
¤
Return str(self).
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
47 48 |
|
to_array(self)
¤
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
50 51 |
|
SensorsData
pydantic-model
¤
Transform
pydantic-model
¤
location: Location
pydantic-field
¤
rotation: Rotation
pydantic-field
¤
__config__
¤
__json_encoder__(obj)
special
staticmethod
¤
get_matrix(self)
¤
Calculate extrinsics matrix with respect to parent object http://planning.cs.uiuc.edu/node104.html
Returns:
Type | Description |
---|---|
ndarray |
Extrinsics matrix |
Source code in ROAR_simulation/roar_autonomous_system/utilities_module/data_structures_models.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
|