Skip to content

Mtc: Optimal frequency regression#136

Open
maxguy2001 wants to merge 7 commits into
masterfrom
mtc-linear_regression
Open

Mtc: Optimal frequency regression#136
maxguy2001 wants to merge 7 commits into
masterfrom
mtc-linear_regression

Conversation

@maxguy2001
Copy link
Copy Markdown
Member

Implement linear regression to calculate coefficients for f-v curve

Comment thread src/propulsion/rpm_regulator.cpp Outdated
Comment thread src/utils/math/regression.hpp Outdated

class Regression {
public:
Regression();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't like this setup. I may rewrite it for times sake.

 comment out function calls until class properly defined
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 16, 2022

Codecov Report

Merging #136 (56f86c1) into master (b4144b8) will decrease coverage by 0.26%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
- Coverage   34.01%   33.75%   -0.27%     
==========================================
  Files          67       68       +1     
  Lines        3545     3573      +28     
==========================================
  Hits         1206     1206              
- Misses       2339     2367      +28     
Impacted Files Coverage Δ
src/propulsion/main.cpp 19.35% <0.00%> (-2.47%) ⬇️
src/propulsion/rpm_regulator.cpp 0.00% <0.00%> (ø)
src/utils/io/spi.cpp 0.00% <ø> (ø)
src/utils/math/regression.cpp 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4144b8...56f86c1. Read the comment docs.

@maxguy2001 maxguy2001 marked this pull request as ready for review May 22, 2022 04:54
@maxguy2001 maxguy2001 requested a review from TomLonergan03 as a code owner May 22, 2022 04:54
@maxguy2001 maxguy2001 requested a review from mifrandir May 22, 2022 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Motor f-v curve fitting and initialisation checks

3 participants