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 correct signal update #94

Merged
merged 4 commits into from
Apr 11, 2023
Merged

Fix correct signal update #94

merged 4 commits into from
Apr 11, 2023

Conversation

preston-rogers
Copy link
Contributor

Going through the code, we surmised that calibration matrices with number of signals greater than 6 was not supported. Though the documentation (the previous state of the README), coincides with this, Fts should allow for more than 6 input signals.
These changes give a test that show that with a varying 7th signal, updates are now properly reflected by the UpdateSignals function.

Copy link
Contributor

@alex-brinkman alex-brinkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the debug statement, LGTM! Thanks Preston

ERROR("Could not extract signal");
return false;
}
MSG_DEBUG("Signal number %d is value %f", i, signal.value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will hurt performance and not be helpful long-term when debugging full applications.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, my bad! Mostly was using this for my own purposes and thought I removed them. I will do that now. :)

src/fastcat_devices/fts.cc Outdated Show resolved Hide resolved
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