63void predict(
float dLocalX,
float dLocalY,
float dTheta,
float dt);
Pose, sensor specs, and the global odometry / pose-estimation API.
Runtime tuning for LightCast (particle filter) and the EKF.
void init(const Pose &initial, MCLConfig cfg={})
Initialize the filter.
void predict(float dLocalX, float dLocalY, float dTheta, float dt)
Propagate mean + covariance one tick forward using local-frame arc deltas.
void updateWheelPose(const Pose &measured, float variance)
bool diverged(float threshold_in_sq)
void updateHeadingIMU(float thetaRad, float variance)
void setConfig(const MCLConfig &cfg)
void updateGPS(float x, float y, float variance)
void reset()
Reset all internal pose state to (0, 0, 0).
Tuning knobs for the LightCast particle filter and the EKF.
2D pose: position (in) and heading (deg).