mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[wpimath] Clean up member initialization in feedforward classes (#3425)
This commit is contained in:
@@ -51,9 +51,7 @@ class LinearPlantInversionFeedforward {
|
||||
const Eigen::Matrix<double, States, Inputs>& B, units::second_t dt)
|
||||
: m_dt(dt) {
|
||||
DiscretizeAB<States, Inputs>(A, B, dt, &m_A, &m_B);
|
||||
|
||||
m_r.setZero();
|
||||
Reset(m_r);
|
||||
Reset();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user