39void predict(
float dLocalX,
float dLocalY,
float dTheta);
Pose, sensor specs, and the global odometry / pose-estimation API.
Runtime tuning for LightCast (particle filter) and the EKF.
void startTask()
Spawn the 10 Hz LightCast update task.
void predict(float dLocalX, float dLocalY, float dTheta)
Propagate particles by a local-frame arc delta.
void update()
Measurement update: read sensors, weight particles, resample.
std::vector< DistanceSensorSpec > sensors()
void init(const Pose &initial, const std::vector< DistanceSensorSpec > &sensors, MCLConfig cfg={})
Initialize the particle filter.
uint32_t degenerateTickCount()
Number of ticks where the filter saw all-degenerate weights and reset to uniform (motion-model only).
void setConfig(const MCLConfig &cfg)
bool converged(float threshold_in=3.0f)
Tuning knobs for the LightCast particle filter and the EKF.