mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-12-17 17:48:02 +00:00
Updated sensors and added empty logger for speedup
This commit is contained in:
@@ -20,6 +20,9 @@ class DataSource(Advanceable):
|
||||
speed = np.linalg.norm(self.get_velocity('global'))
|
||||
|
||||
return speed / self.get_speed_of_sound()
|
||||
|
||||
def get_temperature(self) -> float:
|
||||
return Atmosphere(self.get_altitude()).temperature
|
||||
|
||||
@abstractmethod
|
||||
def get_length(self) -> float:
|
||||
@@ -57,10 +60,6 @@ class DataSource(Advanceable):
|
||||
def get_static_pressure(self) -> float:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_temperature(self) -> float:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_longitude(self) -> float:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user