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

Kalman simplest b field #195

Merged
merged 31 commits into from
Jan 23, 2025
Merged

Kalman simplest b field #195

merged 31 commits into from
Jan 23, 2025

Conversation

xiaoyan1997
Copy link
Member

No description provided.

@xiaoyan1997 xiaoyan1997 requested a review from jdkio January 21, 2025 02:51
src/TMS_Bar.cpp Outdated
@@ -76,11 +79,11 @@ bool TMS_Bar::FindModules(double xval, double yval, double zval) {
// Do a sanity check (CHEATING!)
// Know the bars are 1cm in z and 3.542cm in x
if (zw != 10 || (xw != 35.42 && yw != 35.42)) {
std::cerr << "width of " << NodeName << " not as expected!" << std::endl;
std::cerr << "width of " << NodeName << " not as expected! (1cm deep, 1 3.542cm wide)" << std::endl;
std::cerr << "xwidth: " << xw << std::endl;
std::cerr << "ywidth: " << yw << std::endl;
std::cerr << "zwidth: " << zw << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

This code (everything under the sanity check) was explicitly removed from a previous version. It breaks with any changes to the geometry. See some of the newer code here. I'm confused how this PR is adding this back in, and why it isn't labeled as an addition

@jdkio jdkio requested a review from LiamOS January 21, 2025 04:11
@jdkio
Copy link
Contributor

jdkio commented Jan 21, 2025

@xiaoyan1997, I think you'd need to merge the conflicts before we can properly review. I definitely don't want to reintroduce the old sanity check which we removed. That will cause crashes

@xiaoyan1997 xiaoyan1997 requested a review from jdkio January 21, 2025 20:31
Copy link
Contributor

@jdkio jdkio left a comment

Choose a reason for hiding this comment

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

Thanks, this is perfect

@xiaoyan1997 xiaoyan1997 merged commit 0de691c into main Jan 23, 2025
1 check passed
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