-
Notifications
You must be signed in to change notification settings - Fork 7
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
hugo/feature/Add Stabilization to MotionKit #1315
base: develop
Are you sure you want to change the base?
Conversation
865de96
to
2e8dd9e
Compare
3088d4a
to
9bd7ea9
Compare
🔖 Version comparison
|
📈 Changes Impact Analysis Report📌 Info
🤖 Firmware impact analysis
Click to show memory sections
🔬 Detailed impact analysisClick to show detailed analysis for all targets
🗺️ Map files diff output
|
📈 Changes Impact Analysis Report📌 Info
🤖 Firmware impact analysis
Click to show memory sections
🔬 Detailed impact analysisClick to show detailed analysis for all targets
🗺️ Map files diff output
|
Codecov Report
@@ Coverage Diff @@
## hugo/feature/Update-MotionKit-Rotation-to-Fusion #1315 +/- ##
====================================================================================
+ Coverage 98.73% 98.75% +0.01%
====================================================================================
Files 145 147 +2
Lines 3728 3765 +37
====================================================================================
+ Hits 3681 3718 +37
Misses 47 47
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
9bd7ea9
to
f60a856
Compare
2e8dd9e
to
8784637
Compare
_euler_angles_target = starting_angle; | ||
} | ||
|
||
auto StabilizationControl::processStabilizationAngle(EulerAngles current_angles) -> std::tuple<float, Rotation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this control really needs a PID to achieve its purpose, but it's ok as is.
mock_imukit.call_angles_ready_callback(angles_quarter_left); | ||
} | ||
|
||
TEST_F(MotionKitTest, startStabilizationAndStop) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider to add the test with TimeOutOver
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Timeout is not yet implemented for stabilization but if is needed, a test will be add in consequence.
f60a856
to
ead1e0d
Compare
ead1e0d
to
9f9fa0c
Compare
8784637
to
4aa661a
Compare
SonarCloud Quality Gate failed. |
b3f6b91
to
4cf6ce9
Compare
Add a yaw stabilization method in MotionKit