#include <frc/estimator/KalmanFilterLatencyCompensator.h>
|
void | Reset () |
| Clears the observer snapshot buffer. More...
|
|
void | AddObserverState (const KalmanFilterType &observer, Vectord< Inputs > u, Vectord< Outputs > localY, units::second_t timestamp) |
| Add past observer states to the observer snapshots list. More...
|
|
template<int Rows> |
void | ApplyPastGlobalMeasurement (KalmanFilterType *observer, units::second_t nominalDt, Vectord< Rows > y, std::function< void(const Vectord< Inputs > &u, const Vectord< Rows > &y)> globalMeasurementCorrect, units::second_t timestamp) |
| Add past global measurements (such as from vision)to the estimator. More...
|
|
◆ AddObserverState()
template<int States, int Inputs, int Outputs, typename KalmanFilterType >
Add past observer states to the observer snapshots list.
- Parameters
-
observer | The observer. |
u | The input at the timestamp. |
localY | The local output at the timestamp |
timestamp | The timesnap of the state. |
◆ ApplyPastGlobalMeasurement()
template<int States, int Inputs, int Outputs, typename KalmanFilterType >
template<int Rows>
void frc::KalmanFilterLatencyCompensator< States, Inputs, Outputs, KalmanFilterType >::ApplyPastGlobalMeasurement |
( |
KalmanFilterType * |
observer, |
|
|
units::second_t |
nominalDt, |
|
|
Vectord< Rows > |
y, |
|
|
std::function< void(const Vectord< Inputs > &u, const Vectord< Rows > &y)> |
globalMeasurementCorrect, |
|
|
units::second_t |
timestamp |
|
) |
| |
|
inline |
Add past global measurements (such as from vision)to the estimator.
- Parameters
-
observer | The observer to apply the past global measurement. |
nominalDt | The nominal timestep. |
y | The measurement. |
globalMeasurementCorrect | The function take calls correct() on the observer. |
timestamp | The timestamp of the measurement. |
◆ Reset()
template<int States, int Inputs, int Outputs, typename KalmanFilterType >
Clears the observer snapshot buffer.
The documentation for this class was generated from the following file: