Skip to content

Fix getCurrentCOM#41

Merged
sanworks merged 2 commits intosanworks:developfrom
ogeesan:fix/test-errors
Oct 30, 2025
Merged

Fix getCurrentCOM#41
sanworks merged 2 commits intosanworks:developfrom
ogeesan:fix/test-errors

Conversation

@ogeesan
Copy link
Contributor

@ogeesan ogeesan commented Oct 26, 2025

#40 introduced changes that broke some tests, namely through a change to BpodLib.utils.getCurrentCOM. The change would cause it to fail to identify the COM, thereby reverting back to 'EMU'. The outcome would be that multi-setups may have configurations that are strangely tied to the 'EMU' setup.

The bug has been fixed, and the test code has been updated to reflect the more robust approach.

Separately, the port array module's calibration file creation has been modified to handle different stages of setup (.nModules) is guaranteed to exist in test contexts.

@ogeesan ogeesan changed the title Fix setting up Fix getCurrentCOM Oct 26, 2025
@sanworks sanworks merged commit 4241670 into sanworks:develop Oct 30, 2025
2 checks 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.

2 participants