mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-10-01 03:43:51 +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: 534bf697ee
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