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

Fix param set issue #670

Merged
merged 2 commits into from
Feb 14, 2019
Merged

Fix param set issue #670

merged 2 commits into from
Feb 14, 2019

Conversation

julianoes
Copy link
Collaborator

This fixes an issue reported by @douglaswsilva.

As part of this pull request I've also updated to the latest E90 camera definition file.

@Stifael or @potaito maybe you can send me the latest E50, ET, etc. camera definition files, so I can add them here.

When using strncmp over the full char[] length instead of only over
strlen we supposedly read garbage and therefore the comparison actually
failed when the two char[] should have been the same.

I'm assuming that std::string::compare doesn't suffer from these
troubles and we the correct comparison out of the box.
This updates from version 18 to version 20 as contained in
E90 v1.0.56.
@JonasVautherin JonasVautherin merged commit 3ca0ec9 into develop Feb 14, 2019
@JonasVautherin JonasVautherin deleted the fix-camera-params branch February 14, 2019 11:16
@potaito
Copy link
Contributor

potaito commented Feb 18, 2019

@julianoes That would be nice, thanks. But where do I find these definition files and why would they change?

@julianoes
Copy link
Collaborator Author

They change as cameras get new features or fixes.

@julianoes
Copy link
Collaborator Author

Ideally the SDK downloads the files via http but that's currently broken through MFi on ST10C.

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.

3 participants