added print
parent
027ea6ec34
commit
56c3953305
|
@ -60,6 +60,13 @@ namespace gtsam {
|
||||||
ExtendedKalmanFilter(T x_initial,
|
ExtendedKalmanFilter(T x_initial,
|
||||||
noiseModel::Gaussian::shared_ptr P_initial);
|
noiseModel::Gaussian::shared_ptr P_initial);
|
||||||
|
|
||||||
|
/// print
|
||||||
|
void print(const std::string& s="") const {
|
||||||
|
std::cout << s << "\n";
|
||||||
|
x_.print(s+"x");
|
||||||
|
priorFactor_->print(s+"density");
|
||||||
|
}
|
||||||
|
|
||||||
T predict(const MotionFactor& motionFactor);
|
T predict(const MotionFactor& motionFactor);
|
||||||
T update(const MeasurementFactor& measurementFactor);
|
T update(const MeasurementFactor& measurementFactor);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue