Class Ekf
Defined in File ekf.hpp
Inheritance Relationships
Base Type
public robot_localization::FilterBase(Class FilterBase)
Class Documentation
-
class Ekf : public robot_localization::FilterBase
Extended Kalman filter class.
Implementation of an extended Kalman filter (EKF). This class derives from FilterBase and overrides the predict() and correct() methods in keeping with the discrete time EKF algorithm.
Public Functions
-
virtual void correct(const Measurement &measurement) override
Carries out the correct step in the predict/update cycle.
- Parameters:
measurement – [in] - The measurement to fuse with our estimate
-
virtual void predict(const rclcpp::Time &reference_time, const rclcpp::Duration &delta) override
Carries out the predict step in the predict/update cycle.
Projects the state and error matrices forward using a model of the vehicle’s motion.
- Parameters:
reference_time – [in] - The time at which the prediction is being made
delta – [in] - The time step over which to predict.
-
virtual void correct(const Measurement &measurement) override