|
|
|
@ -25,7 +25,7 @@ class CRUSHERsafetycheck():
|
|
|
|
|
print("exiting") |
|
|
|
|
time.sleep(1) |
|
|
|
|
return {} |
|
|
|
|
#os.remove(self.safetycheckfile_path[0]) |
|
|
|
|
os.remove(self.safetycheckfile_path[0]) |
|
|
|
|
|
|
|
|
|
def start_safetycheck_if_file_found(self): |
|
|
|
|
self.check_for_safetycheckfile_raspi() |
|
|
|
@ -45,7 +45,7 @@ class CRUSHERsafetycheck():
|
|
|
|
|
else: |
|
|
|
|
self.safetycheck_results["wave_trough"] = pressure_test.max_waveheight_simple / 2.0 |
|
|
|
|
self.safetycheck_results["waveheight_fft"] = pressure_test.max_waveheight_fft |
|
|
|
|
self.safetycheck_results["waveheigt_simple"] = pressure_test.max_waveheight_simple |
|
|
|
|
self.safetycheck_results["waveheight_simple"] = pressure_test.max_waveheight_simple |
|
|
|
|
self.safetycheck_results["waveperiod_fft"] = pressure_test.max_waveperiod |
|
|
|
|
self.safetycheck_results["waterlevel"] = pressure_test.waterlevel |
|
|
|
|
self.safetycheck_results["wave_conditions_safe"] = True |
|
|
|
|