Skip to content

Commit

Permalink
changes: (1) USGH low power mode OFF, (2) not closing apps upon recor…
Browse files Browse the repository at this point in the history
…ding completion
  • Loading branch information
bartulem committed Jul 20, 2023
1 parent e9ed045 commit 2638fdb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# usv-playpen v0.2.7
# usv-playpen v0.2.8

<br>
<div align="center">
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='usv-playpen',
version='0.2.7',
version='0.2.8',
author='@bartulem',
author_email='mimica.bartul@gmail.com',
classifiers=[
Expand Down
10 changes: 5 additions & 5 deletions src/behavioral_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,11 @@ def conduct_behavioral_recording(self):
_loop_time(delay_time=10000)

# close Avisoft recorder / browser post recording
if self.exp_settings_dict['conduct_audio_recording']:
self.avisoft_recording.terminate()
subprocess.Popen(f'''cmd /c "taskkill /IM rec_usgh.exe /T /F 1>nul 2>&1"''').wait()
if self.exp_settings_dict['video']['general']['monitor_recording']:
subprocess.Popen(f'''cmd /c "taskkill /IM {self.exp_settings_dict['video']['general']['browser']}.exe /T /F 1>nul 2>&1"''').wait()
# if self.exp_settings_dict['conduct_audio_recording']:
# self.avisoft_recording.terminate()
# subprocess.Popen(f'''cmd /c "taskkill /IM rec_usgh.exe /T /F 1>nul 2>&1"''').wait()
# if self.exp_settings_dict['video']['general']['monitor_recording']:
# subprocess.Popen(f'''cmd /c "taskkill /IM {self.exp_settings_dict['video']['general']['browser']}.exe /T /F 1>nul 2>&1"''').wait()

# close sync LED capture
sync_leds_capture.terminate()
Expand Down
2 changes: 1 addition & 1 deletion src/usv_playpen_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def record_two(self):
'delay': '0.0', 'center': '40000', 'bandwidth': '5', 'fd': '5',
'decimation': '-1', 'device': '0', 'mode': '0', 'outfovertaps': '32',
'outfoverabtast': '2000000', 'outformat': '2', 'outfabtast': '-22050', 'outdeviceid': '0',
'outtype': '7', 'usghflags': '1574', 'diff': '0', 'format': '1',
'outtype': '7', 'usghflags': '1590', 'diff': '0', 'format': '1',
'type': '0', 'nbrwavehdr': '32', 'devbuffer': '0.032', 'ntaps': '32',
'filtercutoff': '15.0', 'filter': '0', 'fabtast': '250000', 'y2': '1315',
'x2': '2563', 'y1': '3', 'x1': '1378', 'fftlength': '256',
Expand Down

0 comments on commit 2638fdb

Please sign in to comment.