Skip to content

Conversation

@calcmogul
Copy link
Member

@calcmogul calcmogul commented Nov 25, 2025

  • Moved makeWhiteNoiseVector() to random.Normal.normal()
  • Moved isControllable() and isDetectable() to system.LinearSystemUtil
  • Renamed makeCostMatrix() to costMatrix() (Java)
  • Renamed makeCovarianceMatrix() to covarianceMatrix() (Java)
  • Renamed MakeCostMatrix() to CostMatrix() (C++)
  • Renamed MakeCovMatrix() to CovarianceMatrix() (C++)
  • Removed deprecated poseTo3dVector(), poseTo4dVector(), poseToVector()
  • Removed clampInputMaxMagnitude()
    • We don't use it, and Eigen has this functionality built in via u = u.array().min(u_max.array()).max(u_min.array());
  • Simplified implementation of desaturateInputVector()

@calcmogul calcmogul requested review from a team as code owners November 25, 2025 05:23
@calcmogul calcmogul force-pushed the wpimath-refactor-state-space-util-into-separate-files branch 2 times, most recently from b46fcf5 to 3b75ec4 Compare November 25, 2025 05:26
* Moved makeWhiteNoiseVector() to random.Normal.normal()
* Moved isControllable() and isDetectable() to system.LinearSystemUtil
* Renamed makeCostMatrix() to costMatrix() (Java)
* Renamed makeCovarianceMatrix() to covarianceMatrix() (Java)
* Renamed MakeCostMatrix() to CostMatrix() (C++)
* Renamed MakeCovMatrix() to CovarianceMatrix() (C++)
* Removed deprecated poseTo3dVector(), poseTo4dVector(), poseToVector()
* Removed clampInputMaxMagnitude()
  * We don't use it, and Eigen has this functionality built in via
    `u = u.array().min(u_max.array()).max(u_min.array());`
* Simplified implementation of desaturateInputVector()
@calcmogul calcmogul force-pushed the wpimath-refactor-state-space-util-into-separate-files branch from 3b75ec4 to 31ff8a6 Compare November 25, 2025 05:47
Copy link
Contributor

@KangarooKoala KangarooKoala left a comment

Choose a reason for hiding this comment

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

Seems alright to me, for what it's worth.

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.

2 participants