Skip to content

Fix issues in existing USB-based eye tracker implementation to enable proper functionality.#80

Merged
RedHawk989 merged 4 commits intoEyeTrackVR:HSF-and-new-algos-feature-branchfrom
Blu3u:HSF-and-new-algos-feature-branch
Apr 9, 2023
Merged

Fix issues in existing USB-based eye tracker implementation to enable proper functionality.#80
RedHawk989 merged 4 commits intoEyeTrackVR:HSF-and-new-algos-feature-branchfrom
Blu3u:HSF-and-new-algos-feature-branch

Conversation

@Blu3u
Copy link
Contributor

@Blu3u Blu3u commented Apr 8, 2023

Hi there,

I'm submitting a pull request to fix the existing implementation of the USB-based eye tracker. Addressed latency issues by discarding the serial buffer - potential impact on framerate. Needs a proper solution soon(tm).

I tested the updated implementation on two ESP32S3 boards and I'm happy to report that the eye tracker is now functioning as expected within the app. Not tested with a virtual reality headset and proper camera placement yet.

Further improvements will follow.

etvr_eye_tracker_usb_app

etvr_esp32s3_photo

Blu3u added 4 commits April 8, 2023 18:24
* fix: remove duplicated requests dep
* fix: existing impl always passed None as the port, it never worked
* feat: initial handling of unplugging usb serial device
* feat: check if port exists before trying to open it
* fix: existing impl caused division by zero when calculating fps
* fix: existing impl did not exit when image not found then crashed
* fix: warn logs were marked as info
* feat: serial read no longer drops frames on buffer reset
* fix: fps now calculated properly
* fix: remove unnecessary logs
@RedHawk989 RedHawk989 merged commit e3a932f into EyeTrackVR:HSF-and-new-algos-feature-branch Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants