As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ekf]

the extended Kalman filter, a filter for nonlinear state estimation.

Filter by
Sorted by
Tagged with
0 votes
2 answers
39 views

Odometry into EKF for localization

I want to fuse a Lidar-Odometry into my EKF where I'm already using encoder, IMU, GPS. The odometry has as output a delta pose, how to put that into the filter? How to deal with the covariances?
0 votes
0 answers
59 views

MPU6050 providing gyroscope values for linear acceleration

I am using this ROS2 driver to connect my MPU6050 to RPi 4 running ROS2 humble. It outputs an IMU message containing linear acceleration and angular velocity. The linear acceleration values seem to be ...
0 votes
0 answers
82 views

Extended Kalman Filter Robot Localization Drift

I have implemented an EKF for robot localization in the style of robot_localization using the famous C++ template kalman library....
0 votes
0 answers
65 views

Nonlinear continuous system function of IMU sensor fusion robot

For my robotics course I have to implement the nonlinear continuous system function for a mobile robot that is equipped with a GPS receiver and an IMU consisting of an accelerometer and a gyroscope. ...
2 votes
1 answer
59 views

Confused with EKF Localization

I have been trying to understand EKF localization from Probabilistic Robotics by Thrun Burgard and Fox. There the covariance prediction is given by $$\overline{\Sigma }_t=G_t\Sigma_{t-1}G^T_t+V_tM_{t-...
0 votes
1 answer
65 views

what exactly is 'observation model' for a robot

In my journey to understand the Kalman filter, I understood how a state model representation is derived for a robot and why(to get the robot state for a given input u) it is required. $$ \boldsymbol{...
1 vote
0 answers
505 views

robot_pose_ekf won't publish any messages

I am having trouble getting the robot_pose_ekf package to publish messages. I launch it with this launch file. ...
2 votes
0 answers
47 views

Why is the EKF approximated this way?

I'm a student that recently started taking a course on cognitive robotics. The book I use is Probabilistic Robotics by Thrun Burgard and Fox. In the EKF algorithm, we linearized the action model in ...
0 votes
0 answers
66 views

EKF slam loop closure and landmark location updates

I asked a variation of the question before but I never got an answer. Basically I'm trying to understand how after loop closure the location of prior seen landmarks gets updated and their uncertainty ...
0 votes
1 answer
81 views

Extended Kalman Filter and PID controller

I'm trying to build a model based on tracking an object in 2-D using MATLAB (time-varying system). I built the model using an Extended Kalman Filter and a PID controller. I have a doubt regards the ...
1 vote
1 answer
983 views

EKF implementation on odometry/IMU

I am applying Extended Kalman Filter for a mobile robot with IMU and odometry data. I am running simulation currently. However, I don't have suitable data for odo/IMU measurements to use. Where can I ...
2 votes
1 answer
157 views

Doubt with linearization and discretization process - Ekf

In the paper "State Estimation for Legged Robots - Consistent Fusion of Leg Kinematics and IMU", the authors describe the application of an extended kalman filter to estimate states of a quadruped ...
6 votes
1 answer
534 views

How do you determine EKF process noise for pre-recorded data sets?

I've seen this question, which asks about determining the process noise for an EKF. I don't see anything there about pre-recorded data sets. My thought on how to determine the noise parameters, ...
0 votes
1 answer
56 views

Derivation of EKF slam landmark initialization

I have read a couple posts which gives the formula for initializing a new landmark in EKF slam but the derivation is not given. EKF-SLAM initialize new landmark in covariance matrix Could someone ...
1 vote
0 answers
438 views

robot_localization not fusing imu data

According to the documentation in : http://docs.ros.org/en/noetic/api/robot_localization/html/state_estimation_nodes.html I was able to transform the imu data header fram from "imu_link" ...
0 votes
1 answer
162 views

EKF slam vs global bundle adjustment

How does EKF slam and the covariance matrix interact with global bundle adjustment? In particular the covariance matrix gives you a confidence on location but global bundle adjustment does not. How do ...
1 vote
1 answer
2k views

robot_localization EKF node does not publish on /odometry/filtered (ROS2 Foxy)

I am using ROS2 Foxy and Gazebo 11 in Ubuntu 20.04. I have a URDF description of a mobile robot that uses 4 wheels for mecanum drive. Using the robot_localization package, I am creating an EKF node ...
2 votes
1 answer
304 views

Why innovation equation in Extended Kalman filter is called innovation?

In the Extended Kalman filter for SLAM, why is the innovation equation called so? Is there a reason for using the specific word "innovation" for the difference between the observed ...
1 vote
1 answer
139 views

EKF SLAM Prediction Step

My question relates to the prediction step in EKF SLAM when we get measurements. This is a question I've encountered while implementing EKF SLAM in ROS. At the beginning of the SLAM loop, we predict ...
0 votes
1 answer
361 views

Estimate noise covariance matrix of measurements using a ros-bag

I am facing the following issue, and some hint or orientation would be great. I am working on a project in which I was given a ROS bag, and I have to implement a localization node using SLAM. To do so,...
0 votes
3 answers
1k views

Do I need a camera along with LIDAR for SLAM?

Equipment: Pi 3 B Mega 2x Encoder Motor 12VDC 299RPM MPU 6050 12V bat 2000mAh LIDAR or Kinect ? I want to implement EKF SLAM. I have referred bot NOX ROS wandering robot, Hussarian CORE and Robotics ...
0 votes
1 answer
224 views

Derive the system's dynamics function and the Jacobian Matrix G of Extended Kalman Filter of a differential drive robot on a 2D plane

I have found the following answer on the system's dynamics function and what the Jacobian matrix G of the Extended Kalman Filter look like for a 2D robot with a differential drive. Taken from slides ...
2 votes
2 answers
384 views

Tracking vehicle 6 states extended kalman filter required?

I'm trying to track an accelerating vehicle using a camera, an IMU, and a GPS. I use for the state space equation a constant acceleration model: The states are the position, the velocity, and the ...
3 votes
1 answer
485 views

What's the correct approach to merging of localization and odometry data?

We've got a mobile platform with a source of odometry and an IMU, which are merged in an EKF filter (robot_localization node), producing continuous odom->base_link transform. The robot is also ...
0 votes
1 answer
147 views

Usage of Falkolib(OpenSLAM) for 2D lidar landmark extraction

I am using Falkolib for landmark extraction in a 2D environment. Currently I am using the testKeypointOC executable from the bin directory. I have changed the testKeypointOC.cpp file and the ...
1 vote
1 answer
245 views

No difference between UKF and EKF for SLAM

I built EKF and UKF SLAM algorithms. The problem is that I expected to see a difference because of the more precise approximation of the system in the UKF. Here's a screenshot from the estimated path ...
1 vote
0 answers
49 views

SLAM - Angle calculation failure ?-EKF

i am currently building up a EKF SLAM. I dont know where my mistake is but i think it has something to do with the angle my robot is driving towards but im not completly sure. First i thought it could ...
0 votes
0 answers
75 views

EKF Update Step measurement data doesnt fit state vector

I have an EKF SLAM Algorithm which tries to estimate the robots position (X,Y,Theta) + the X,Y coordinates of several landmarks. Like in the posted algorithm i have a range/bearing sensor. I ...
0 votes
1 answer
277 views

Is the covariance matrix in the extended Kalman filter guaranteed to be positive definite (ignoring numerical errors)?

I understand that due to numerical errors (e.g., round off error and machine precision) that the covariance matrix may not be positive definite, but if computers had infinite precision, is the ...
1 vote
1 answer
602 views

EKF SLAM : SLAM specific Jacobians for new landmarks

I am currently trying to understand the books SLAM for dummies and Simulataneous localization and mapping with the extended Kalman filter to implement slam. I have understood steps 1 and 2 SLAM for ...
0 votes
0 answers
150 views

IMU Vision Fusion using EKF

I am trying to track an object indoors using an IMU (only accel and gyroscope) and a visual marker. This is similar to IMU+GPS fusion, where GPS is effectively replaced by the position that my vision ...
2 votes
1 answer
254 views

2D Visual-Inertial Extended Kalman Filter

I am trying to implement an Extended Kalman filtering for combining IMU data and visual odometry in a simple 2D case where I have a robot that that can only accelerate in its local forward direction ...
1 vote
1 answer
49 views

State propagation from uncertain control input

Consider a nonlinear system $x(k+1)=f(x(k),u(k))$, where $x(k)\in\mathbb{R}^{n}$ is the state, $u(k)\in\mathbb{R}^m$ is the control input. Here $u(k)$ is normally distributed RV with mean $\mu_u(k)$ ...
1 vote
2 answers
108 views

Kalman filter with missing dimension on measurement input

I am exploring the option of using a EKF with my differential drive robot. I do not have any prior experience with kalman filters. The robot that is under consideration has two wheel encoders for ...
0 votes
1 answer
335 views

EKF sensor fusion

What is the standard way to fuse multiple sensor measurements in an EKF framework? Say you have Odometry, IMU and some form of Lidar which can produce landmarks. EKF is normally presented as a ...
0 votes
1 answer
179 views

EKF-SLAM what should the observation model be?

I am implementing an EKF algorithm for a drone localization, and while I was defining the observation model I got a bit confused. This is my situation: I have a drone which is able to give me the ...
0 votes
1 answer
115 views

Kalman filter with a known motion model

I have a robot whose pose $(x, y)$ is defined relative to the global frame. I have a sensor which estimates the robot's current pose in the global frame, and the sensor is known to have Gaussian error....
0 votes
1 answer
239 views

On the covariance matrix of the EKF SLAM

In the covariance matrix of the EKF SLAM, there are components that specifies the correlation between landmarks. Are those values important? Because while we bulding map of landmarks, we only draw the ...
0 votes
0 answers
68 views

EKF landmark-based help needed

I am new in localization algorithms and EKF is new for me as well. I think that I implemented EKF (the whole code of class is here. I have problems in updating bearing angle of the robot. Basically I ...
3 votes
1 answer
263 views

How is the GPS fused with IMU in a kalman filter?

I've been trying to understand how a Kalman filter used in navigation without much success, my questions are: The gps outputs latitude, longitude and velocity. While the IMU outputs acceleration and ...
1 vote
0 answers
70 views

EKF linearization using Taylor expansion and absence of operating point

If we consider the first-order Taylor expansion of a general nonlinear function at the operating point $x=x_0$, then we have the following, $$f(x) \approx f(x_0) + \frac{\partial{f}}{\partial{x}}|_{x=...
4 votes
1 answer
259 views

How to avoid matrix singularity in GraphSLAM

I am trying to implement GraphSLAM from Sebastian Thrun's paper, The GraphSLAM Algorithm with Applications to Large-Scale Mapping of Urban Structures. When I compute the inverse of my information ...
7 votes
3 answers
404 views

Paradox: I can't use accelerometer measurements to obtain information about my states in a quadcopter?

I'm currently developing an EKF to estimate the position and orientation of a quadcopter. My state vector is comprised of 3D position, 3D velocity, 3 euler angles and the angular velocity vector. ...
4 votes
2 answers
358 views

Implementing ESKF

I'm currently struggling with implementing the Multiplicative Kalman Filter or Error State Kalman Filter as described by Landis Markley in Attitude Error Representations for Kalman Filtering. Sadly ...
1 vote
1 answer
74 views

Are Indirekt KFs with non-linear changing statematrix EKFs for the error state?

I'm trying to implement an indirect kalman filter to estimate the pose of a differential drive robot using gyroscope and wheel encoder data. I found a fiew papers (1 - 3) describing this approach but ...
0 votes
0 answers
42 views

Differences between strapdown inertial navigation and motion models

In a state estimation scheme with a simple IMU/GNSS setup using EKF, I have always thought the prediction step would be done using a motion model and all sensor measurements would be incorporated via ...
9 votes
3 answers
5k views

How exactly does sensor fusion work in Kalman filters?

I've been looking into implementations of Extended Kalman filters over the past few days and I'm struggling with the concept of "sensor fusion". Take the fusion of a GPS/IMU combination for example, ...
2 votes
1 answer
60 views

How to perform active search in point feature based monoSLAM?

I am modifying an implementation of SLAM with single camera, MonoSLAM [1]. Instead of image patches, I want to use features points (ORB) to track landmarks. MonoSLAM uses a EKF framework. So for ...
1 vote
0 answers
321 views

How to calculate observation matrix Jacobians in EFK based mono slam? What are projection Jacobians?

I have been trying to understand an implementation of monoSLAM 1. But my question is generic to EKF based single camera SLAM. My Jacobian calculation leads to complex and lengthy expressions while ...
2 votes
1 answer
93 views

extended kalman filters, linearization of output

Say, we are dealing with an odometric localization problem. In the below example, $(x_k, y_k), (x_l, y_l)$ are cartesian coordinates of the sensor and the landmark respectively. Then the output ...