Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error related to _cam->Timestamp() in src/PGRSource.cpp #1

Open
sgherbst opened this issue Apr 15, 2019 · 3 comments
Open

Error related to _cam->Timestamp() in src/PGRSource.cpp #1

sgherbst opened this issue Apr 15, 2019 · 3 comments
Assignees
Labels

Comments

@sgherbst
Copy link

Hi,

Thanks for the great work on FicTrac! I'm associated with the Clandinin lab and have been helping to set up FicTrac for several experiments there.

After testing the latest version from GitHub, it looks like some cameras fail to run with the attached error message (error-log.txt).

We tracked the error down to line 244 in src/PGRSource.cpp where the _cam->Timestamp() method is called. For now, we can work around the issue by commenting out lines 244-247 and then setting _timestamp equal to ts (patch), but presumably it would be good to use the camera timestamp when it can be acquired properly.

So far we have tested with three cameras and found that Flea3 FL3-U3-13E4M works without this modification, while Blackfly S BFS-U3-04S2M and Flea3 FL3-U3-13Y3M don't work out of the box and require the modification I described.

For completeness, here is the config file that we used with all three cameras: config.txt.

Cheers,
Steven

@sgherbst
Copy link
Author

Sorry, one other thing -- this is related to this reddit post.

@rjdmoore
Copy link
Owner

rjdmoore commented May 5, 2019

Hey, thanks for the report - I've changed slightly the way timestamps are read from the camera (diff) Hopefully this resolves this issue.

@rjdmoore rjdmoore self-assigned this May 5, 2019
@rjdmoore
Copy link
Owner

rjdmoore commented May 5, 2019

@sgherbst are you able to pull the latest develop branch and test whether this fixes the issue?

@rjdmoore rjdmoore added the bug label May 7, 2019
floesche referenced this issue in floesche/fictrac Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants