Questions tagged [ekf]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 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
0 votes
0 answers
9 views

Why can we perform the following threshold check to see if we are current at zero velocity in Inertial-based Detection?

recently I was working on works using open-vins, which is very helpful for new-comers, but when I'm read docs, some question occurs to me, In this page zero velocity update, under zero velocity ...
  • 1
0 votes
0 answers
25 views

EKF slam Landmark covariance propagation

Is there an intuitive explanation for how loop closure reduces the landmarks of prior observations? In particular the landmarks are connected to each other only through the observer, observing a ...
0 votes
1 answer
36 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
158 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
70 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 ...
0 votes
0 answers
25 views

Fusing two relative measurement sensors using extended kalman filter

I’m trying to fuse data from two wheel encoders and an optical flow sensor to localize a turtlebot. I combine displacement coming from optical flow sensor with imu to form the model for turtlebot. ...
0 votes
0 answers
184 views

Using EKF to fuse wheel encoders, IMU and GPS

I have a robot equipped with: 3D accelerometer measuring $a_x$, $a_y$, $a_z$ 3D gyroscope measuring $ω_x$, $ω_y$, $ω_z$ 3D magnetometer measuring $m_x$, $m_y$, $m_z$ wheel encoders measuring $v_l$, $...
  • 101
1 vote
1 answer
783 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 ...
0 votes
0 answers
29 views

how can i drive the linear state space model of this ackerman steering model

i have an ackerman steering model like so : ...
1 vote
0 answers
258 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. ...
  • 11
0 votes
1 answer
96 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 ...
  • 163
0 votes
0 answers
47 views

Linear Velocity from robot_localization Package after IMU integration and and only one sensor (IMU) as sensor input

Im using the robot_localization robot_localizationto get the linear Velocity of underwater simulated ROV with Gazebo. In order to get the correct orientation of the linear (twist) component of the ...
  • 147
1 vote
1 answer
185 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
42 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
64 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 ...
1 vote
1 answer
115 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 ...
  • 111
2 votes
1 answer
360 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
151 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 ...
  • 325
0 votes
0 answers
102 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 ...
0 votes
1 answer
293 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,...
1 vote
1 answer
43 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)$ ...
2 votes
1 answer
154 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 ...
  • 121
1 vote
2 answers
91 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 ...
  • 53
0 votes
1 answer
248 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
128 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
104 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
168 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
65 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 ...
1 vote
0 answers
64 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=...
0 votes
1 answer
132 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
69 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 ...
  • 41
4 votes
2 answers
287 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 ...
0 votes
0 answers
37 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 ...
  • 1
1 vote
1 answer
507 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
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 ...
  • 1
3 votes
1 answer
217 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 ...
  • 131
2 votes
1 answer
55 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 ...
  • 143
1 vote
0 answers
279 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 ...
  • 143
2 votes
1 answer
86 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 ...
  • 155
2 votes
1 answer
169 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 ...
  • 121
2 votes
1 answer
142 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 ...
0 votes
1 answer
87 views

EKF singularity problem when measurement noise R is zero

my Extended kalman filter (EKF) program works well, my estimated state vector is same as real state vector when I give any positive definite number to measurement noise R. But I want to make ...
  • 1
0 votes
1 answer
173 views

EKF Slam algorithm doubt at observation update

I have some doubt on EKF Slam with known correspondence in the measurement update state. I follow the algorithm from Probabilistic Robotics by Sebastian THRUN. This Algorithm is on Chapter 10 page No:...
  • 409
0 votes
2 answers
84 views

provide world map for ekf global localization problem

I am trying to implement the ekf_localization algorithm in page 217 (Table 7.3) of the probabilistic robotics book by Thrun. From my previous post, I understand that I need to extract observed ...
  • 23
2 votes
1 answer
180 views

EKF localization data association

I am working with ROS indigo and clearpath huskyA200 and wanted to implement the EKF localization with unknown correspondences with my own hokuyo lidar data for a school project. Giving the algorithm ...
  • 23
4 votes
2 answers
327 views

GraphSLAM equation doubt

I have question about GraphSLAM implementation. To find out the path and map using GraphSLAM we rely on this equation: $$\mu=\Omega^{-1}\xi$$ where $\Omega$ is our information matrix which ...
  • 409
1 vote
2 answers
68 views

How to detect loop in robot movement observing odometer data

I have some odometer data. This data are based upon robot movement. I can transfer those raw data to a motion equation from where I get x,y,and theta co-ordinate of a Robot. If I plot those x,y ...
  • 409
8 votes
3 answers
4k 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, ...
4 votes
1 answer
241 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 ...
  • 409