Skip to content

Commit

Permalink
hotfix: remove first state camera wait override
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Winter committed Jul 6, 2023
1 parent 666def0 commit b62e7f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions iblrig/base_choice_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ def get_state_machine_trial(self, i):
sma.add_state(
state_name="trial_start",
state_timer=0,
# state_change_conditions={"Port1In": "delay_initiation"},
state_change_conditions={"Tup": "delay_initiation"},
state_change_conditions={"Port1In": "delay_initiation"},
output_actions=[("SoftCode", SOFTCODE.TRIGGER_CAMERA), ("BNC1", 255)],
) # start camera
sma.add_state(
Expand Down
1 change: 1 addition & 0 deletions iblrig/base_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ def softcode_handler(code):
Soft codes should work with resasonable latency considering our limiting
factor is the refresh rate of the screen which should be 16.667ms @ a framerate of 60Hz
"""
print(code)
if code == 0:
self.sound['sd'].stop()
elif code == 1:
Expand Down

0 comments on commit b62e7f7

Please sign in to comment.