mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-09-29 05:17:33 +00:00
Generated new simulation
This commit is contained in:
@@ -18,17 +18,12 @@ class BMI088(IMU):
|
||||
|
||||
|
||||
class BMI088Gyro(Gyroscope):
|
||||
def __init__(self, dataset: Dataset, logger: Logger, offset: float = 0, transforms: List[Transform] = []):
|
||||
super().__init__(dataset, logger, offset, transforms)
|
||||
def __init__(self, dataset: Dataset, logger: Logger, orientation=np.identity(3), transforms: List[Transform] = []):
|
||||
super().__init__(dataset, logger, orientation, transforms)
|
||||
|
||||
def _get_name(self) -> AnyStr:
|
||||
return 'BMI088'
|
||||
|
||||
def _get_data(self) -> ArrayLike:
|
||||
rots = self._dataset.fetch_values(['roll_l', 'pitch_l', 'yaw_l'])
|
||||
|
||||
return rots
|
||||
|
||||
def _sensor_specific_effects(self, x: ArrayLike) -> ArrayLike:
|
||||
return x
|
||||
|
||||
|
Reference in New Issue
Block a user