Skip to content

Commit

Permalink
fictrac: don't abort if frame is missed, but loudly error
Browse files Browse the repository at this point in the history
  • Loading branch information
nzjrs committed Feb 15, 2021
1 parent 4a77bbb commit 403ccde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flyvr/fictrac/fictrac_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def run(self, options):
_ = flyvr_shared_state.signal_ready(BACKEND_FICTRAC)

if new_frame_count - old_frame_count != 1:
self.fictrac_process.terminate()
self._log.warning("frame counter jumped by more than 1 (%s vs %s)" % (
# self.fictrac_process.terminate()
self._log.error("frame counter jumped by more than 1 (%s vs %s)" % (
old_frame_count, new_frame_count))

old_frame_count = new_frame_count
Expand Down

0 comments on commit 403ccde

Please sign in to comment.