wpimath.estimator Package

DifferentialDrivePoseEstimator(*args, **kwargs)

This class wraps an Unscented Kalman Filter to fuse latency-compensated vision measurements with differential drive encoder measurements.

ExtendedKalmanFilter_1_1_1(*args, **kwargs)

A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state.

ExtendedKalmanFilter_2_1_1(*args, **kwargs)

A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state.

ExtendedKalmanFilter_2_2_2(*args, **kwargs)

A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state.

KalmanFilter_1_1_1(plant, stateStdDevs, ...)

A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state.

KalmanFilter_2_1_1(plant, stateStdDevs, ...)

A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state.

KalmanFilter_2_2_2(plant, stateStdDevs, ...)

A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state.

MecanumDrivePoseEstimator(*args, **kwargs)

This class wraps an Unscented Kalman Filter to fuse latency-compensated vision measurements with mecanum drive encoder velocity measurements.

SwerveDrive2PoseEstimator(*args, **kwargs)

This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements.

SwerveDrive3PoseEstimator(*args, **kwargs)

This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements.

SwerveDrive4PoseEstimator(*args, **kwargs)

This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements.

SwerveDrive6PoseEstimator(*args, **kwargs)

This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements.