-
Notifications
You must be signed in to change notification settings - Fork 3
Add hardware-in-the-loop test suite with Catch2 for CiA402MotionControl device #35
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: GiulioRomualdi <[email protected]>
Co-authored-by: GiulioRomualdi <[email protected]>
Co-authored-by: GiulioRomualdi <[email protected]>
|
@copilot could you please add the test compilation in the ci? Try to compile it and fix possible bug in the cmake / c++ code. |
Co-authored-by: GiulioRomualdi <[email protected]>
Test compilation has been added to the CI configuration. The change enables test building with
Fixed in commit c222ed5. |
|
@copilot could you please rebase on top of main and update the test accordingly? Thanks! |
… the position control
Co-authored-by: GiulioRomualdi <[email protected]>
Rebased on top of main (v0.6.0) and updated the test configuration accordingly. The changes include:
Fixed in commit d84a5c4. |
Hardware-in-the-loop test with Catch2 for CiA402MotionControl
This PR adds a Catch2-based hardware-in-the-loop test for the CiA402MotionControl device driver.
Completed:
Changes Made:
.github/workflows/ci_conda.ymlto enable test compilation with-DBUILD_TESTING=ONtest/HardwareInTheLoopTest/test_config.xmlto include new parameters from main:periodparameter (4e-4)pos_limit_min_deg,pos_limit_max_deg,use_position_limits_from_config)CI Build Status:
✅ Tests compile successfully with all dependencies
✅ Test executable created:
bin/HardwareInTheLoopTest(1.2MB)✅ CTest properly recognizes the test
✅ Test can be listed with
ctest --show-only✅ Rebased on main branch (v0.6.0)
✅ Test configuration updated to match latest template
The CI will now compile the tests on every build to catch any compilation issues early. The PR is up-to-date with the latest main branch and includes all recent improvements.
Fixes #34
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.