mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
locationd : Acceleration Bias in locationd (#22879)
* add accel bias to filter for offline calculation * bugfix acc bias in live_kf * add no_accel obsertvation * increase initial certainty of acc-bias and reduce PN * increase initial certainty of acc-bias and reduce PN * increase accel bias PN * increase obs noise for no_accel observation * style fixes * update refs old-commit-hash: 534bf697eeb3b72643abc713649ce2eef5f75820
This commit is contained in:
@@ -305,6 +305,7 @@ void Localizer::handle_car_state(double current_time, const cereal::CarState::Re
|
||||
this->car_speed = std::abs(log.getVEgo());
|
||||
if (log.getStandstill()) {
|
||||
this->kf->predict_and_observe(current_time, OBSERVATION_NO_ROT, { Vector3d(0.0, 0.0, 0.0) });
|
||||
this->kf->predict_and_observe(current_time, OBSERVATION_NO_ACCEL, { Vector3d(0.0, 0.0, 0.0) });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user