Skip to content

Gyroscope causes unstable framerate drop #6

@sneakers-the-rat

Description

@sneakers-the-rat

Reported here: https://groups.google.com/g/miniscope/c/ocR43C_1v2Y/m/rigo-1CIAgAJ

We used the published Gerber, BOM and the currently uploaded videodevice.json file during the testing. But only the imaging and focus worked.

On the other hand, when we updated the videodevices file ourselves, we come up with two different results (1) We can make all the functions work - imaging, focus, gyroscope all worked well and we are able to control both LEDs independently. However, this resulted of frame rates drop to an unstable 10 fps which is not ideal. (2) We can make imaging, focus function works with the ideal FPS of 30 and was able to control both LEDs independently. But the gyroscope is still not working.

We would appreciate if you can help us resolve this issue. Also, if you can share the files that you used for successful testing, it would really be a great help!

Looking forward to your response!

Accompanied by this embarassing note on the labmaker page: https://www.labmaker.org/collections/neuroscience/products/miniscope-lfov

Screen Shot 2023-12-13 at 2 58 11 PM

So in summary: everything works when gyro is off, but when gyro is on FPS drops. This seems like a firmware/hardware problem rather than a DAQ software problem to me since the DAQ software seems to be able to handle gyro + imaging on the other scopes.

I am raising this here because this seems to be an LFOV issue, but it could be moved to
https://github.com/Aharoni-Lab/Miniscope-DAQ-Cypress-firmware
or
https://github.com/Aharoni-Lab/Miniscope-DAQ-QT-Software
if that's the right place for it.

I don't know if there are developer docs that would help someone debug this problem somewhere, but this is a perfect case where having a firmware test suite would be helpful to narrow down bugs.

Related to: #7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions