mirror of
https://github.com/Lukas0025/YAGS.git
synced 2025-04-10 17:32:17 +01:00
Fixed time
This commit is contained in:
parent
46da4b181a
commit
e90a9bbcf0
@ -1,2 +1,3 @@
|
|||||||
install:
|
install:
|
||||||
cp baseband_spectogram.py /usr/local/bin/
|
cp tools/baseband_spectogram.py /usr/local/bin/
|
||||||
|
chmod +x /usr/local/bin/baseband_spectogram.py
|
@ -1,4 +1,4 @@
|
|||||||
masterUrl = "http://10.0.0.8"
|
masterUrl = "http://10.0.0.8"
|
||||||
apiKey = "a22c1e54-d35c-4058-993d-9f34c0fba428"
|
apiKey = "37c82347-f4fb-4552-950c-7e0767275eb6"
|
||||||
pullInterval = 120 # in sec
|
pullInterval = 120 # in sec
|
||||||
planInterval = 1200 # in sec
|
planInterval = 1200 # in sec
|
@ -48,11 +48,11 @@ class recorder(threading.Thread):
|
|||||||
|
|
||||||
time.sleep(50)
|
time.sleep(50)
|
||||||
|
|
||||||
realStart = datetime.datetime.utcnow().timestamp()
|
realStart = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
|
||||||
|
|
||||||
os.system(f"satdump record {baseband} --source {self.job['receiver']['params']['radio']} --samplerate {fs} --frequency {self.job['transmitter']['centerFrequency']} --gain {self.job['receiver']['params']['gain']} --baseband_format s8 --timeout {recordTime}")
|
os.system(f"satdump record {baseband} --source {self.job['receiver']['params']['radio']} --samplerate {fs} --frequency {self.job['transmitter']['centerFrequency']} --gain {self.job['receiver']['params']['gain']} --baseband_format s8 --timeout {recordTime}")
|
||||||
|
|
||||||
realEnd = datetime.datetime.utcnow().timestamp()
|
realEnd = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
|
||||||
|
|
||||||
print(f"Recorder for job {self.job['target']['name']} stoped")
|
print(f"Recorder for job {self.job['target']['name']} stoped")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user