# Questions tagged [kalman-filter]

A Kalman filter is an optimal estimator for linear dynamical systems with Gaussian noise. Extensions to non-linear systems are included through the Extended KF and Unscented KF.

275 questions
Filter by
Sorted by
Tagged with
57 views

### Sensor fusion with Kalman filter: what should go as "command" in case we have a choice?

Let's say I have a robot with few sensors and dif. drive. And I want to perform sensor fusion using UKF. Dif. drive can take commands, so my first thought was to use command (linear and angular speed) ...
• 239
1 vote
26 views

### Obtaining UAV flight trajectory from accelerometer and gyro data

I have an accelerometer and gyro scope data logged from several drone flights. I want to obtain flight trajectories from this data. I am considerably new to robotics. But from what I read, I ...
• 121
44 views

### Unscented Kalman Filter Implementation for Robot Localization using wheel odometry and IMU

I'm trying to implement an unscented Kalman filter algorithm for differential robot localization. The sensors I'm using are wheel encoders and 9-DOF IMU. I've implemented the part of the filter for ...
1 vote
37 views

### Kalman filter for heading estimation provides oscillating output

I am designing a Kalman filter for heading estimation in 2D using magnetic compass, gyroscope and wheel encoder. The system state is $X = [h, w]$ and the measurements are $Z = [h_{mag}, g_z,d_h]$, ...
• 111
20 views

### (How much) does the Markov assumption holds for odometry alone?

According to the book Probabilistic Robotics, "the Markov assumption postulates that past and future data are independent if one knows the current state $x_t$." This is a central assumption ...
• 1,363
37 views

### What are some resources to learn Probability, Statistics and Stochastic Processes so I can understand Optimal State Estimation?

I went to grad school for Mechanical Engineering almost 7 years ago, where I avoided any probability/stats coursework like plague and stuck to linear algebra and differential equations for my math ...
279 views

### Estimating gyroscope bias for attitude IMU sensor fusion with an unscented Kalman filter

I'm trying to use a UKF as the attitude estimator for a drone with just a gyroscope and accelerometer as sensors. So far, it's going well and after some tuning appears to perform basically as well as ...
286 views

### robot_localization GPS causing large drift/covariance spike

I am trying to implement the dual ekf navsat example on my real-world robot. The local EKF with wheel odometry and IMU works quite well and has no issues. As far as I can tell, my global EKF ...
• 21
230 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?
1 vote
57 views

### Compensate tractor's (vehicle's) tilts in the GNSS-IMU based system

I have the following setup: a tractor with a dual band antenna (from ublox) installed on the vehicle's symmetry axis on the roof (h=3m), approx. 1m ahead of the center of the rear axis (which I ...
• 11
59 views

### The choice of using quaternions and using gyro & accel separately in EKF

I am working on realising the self-navigation of a vehicle. I have already written an extended Kalman filter with a state vector using position, velocity, Euler angle, acceleration, and angular ...
485 views

### What should I use for a Visual+IMU+GPS fusion? A Madgwick or a Kalman?

I am new to robotics, and recently I am involving in a sensor fusion task using visual input (binocular at present), an IMU, and a GPS module. I have searched for related journal papers for a ...
1 vote
138 views

### Omnidirectional kinematic model in robot_localization's EKF

I am looking for a more detailed mathematical background of robot_localization's kinematic model used for nonlinear kalman filtering. From the documentation, the ...
• 271
1 vote
607 views

### How to deal with asynchronous samples in a kalman filter framework multi-sensor fusion?

I have setup a sensor fusion problem to estimate a classical 2d position + orientation of a wheeled mobile robot in an embedded environment. Sensor measurements include: IMU (6axis accl+gyro) @ 40Hz ...
• 271
1 vote
352 views

### Is Luenberger observer applicable in practical systems?

I have tried to find out about this from quite a few sources but it still remains unclear to me. I know that the Luenberger observer is applicable for a deterministic system with known control inputs ...
• 111
1 vote
180 views

### Rotate sensor frame to body frame

I'm working with a lsm303agr from ST. Here is the frame attached to the chip Here is the body frame So I have some doubts about the rotations, before to fuse data ...
• 173
1 vote
187 views

### Questions about sensor fusion with Lidar - Extended Kalman Filter

I am attempting to teach myself sensor fusion as I suspect I'll need to do this down the road with lidar and some other sensors. In all my research so far it sounds like a version of the extended ...
• 111
84 views

• 141
50 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 ...
• 141
102 views

### Simulate GPS IMU With Quadcopter Swarm?

I have multiple drones work in swarm formation, i made the quadcopter model and the swarm one. Until now i have the swarm moving in a formation leader-follower and track a predefined trajectory based ...
583 views

### How to fuse IMU with encoders in EKF

Background I have a car-like mobile robot (4 wheels, where the forward ones are steering wheels) and I want to estimate its pose and velocity assuming 2D planar motion. I'm trying to solve this ...
399 views

### cartesian velocity control loop implementation

I'm using ROS (noetic) to intuitively control a franka manipulator using the panda_robot package for the simulation. I've set up an extended kalman filter which fuses the following measures: IMU data:...
• 81
37 views

### Would it make sense to use the unscented transform for linear problems too?

I've just learned about the unscented Kalman filter and I have a theoretical question. Suppose our innovation and measurement processes are linear but we know the initial state covariance and/or the ...
60 views

### Motion/System Model for range finder

I have a 1D Time-of-Flight based range finder that returns distance in mm. I am trying to implement a Kalman filter to get outlier-free estimation. The sensor measures the distance to the ground below ...
• 133
103 views

### Localization by comparing current lidar scan with previous lidar scan

I have managed to use an ICP algorithm to produce a relative pose difference between a new lidar range scan and the previous lidar scan. When I tested it on individual scan pairs, the results look ...
15 views

### How to derive the kalman gain with the form of K=Pxz/Pz?

please see the formula and reference in the page https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python/blob/master/10-Unscented-Kalman-Filter.ipynb Traditional formula of gain is expressed ...
75 views

### Kalman filter problem with the output

i want to use kalman filter to estimate my phone position, the measurments data is at this point just the accelerometer and the sampling rate is 3ms, i used the library pykalman, i have also wrote my ...
1 vote
692 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" ...
• 11
140 views

### Does the Bayes-Filter perform a convolution in the prediction step?

I am watching the (fantastic) SLAM lectures of Claus Brenner, where he introduces the Bayes-Filter (Kalman-Filter, Particle-Filter, Histogram-Filter). He says, that the prediction step involves the ...
351 views

I'm trying to combine IMU displacements with the time of flight sensor readings in order to navigate through the indoor environment with a non-linear Kalman filter variant. In the graphic below, I ...
58 views

### How to calculate the covariance and gain in SLAM when only one measurement is available?

I am trying to perform SLAM for cases where only one sensor measurement is available. For example, suppose I want to track the position of a robot moving in a room with multiple known landmarks (2D ...
60 views

### Can an Xbee transceiver module be used for controlling a stable Quadcopter?

I would like to use an Arduino Nano IOT as a flight controller and connect this to a Xbee transceiver module for control. If the Xbee module was set up so that for each packet transmission it included ...
1 vote
827 views

### Sensor fusion with extended Kalman filter for roll and pitch

I'm trying to implement an extended Kalman filter to fuse accelerometer and gyroscope data to estimate roll ($\phi$) and pitch ($\theta$). I've found a lot of kalman filter questions but couldn't find ...
282 views

322 views

### Nonlinear Sensor Fusion with Space-Time Finite Element and Static Condensation?

I have recently implemented an algorithm for the nonlinear fusion of GNSS, barometer, magnetometer, accelerometer and gyroscope data. The algorithm is based on a space-time finite element where the ...
• 31
1 vote
604 views

### How to actually fuse sensor using Extended Kalman Filter

Background I'm working on 4-omniwheel mobile robot. It have encoder on each wheel and MPU 6050 IMU. The robot positioning suffer a great error because slip, so i try to increase the accuracy of ...
• 647
1 vote
73 views

### Drone lost traj recovery

So I am using slam algorithm to localize the drone which is gps denied . The input to the slam algo is imu data and a video . Now after the first run of the slam algorithm it creates the trajectory ...
1 vote
356 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
63 views

### Kalman filter for visual tracking of a ball sliding on a gutter

I'm working on a project where a robot needs to keep a ball at a desired position on a gutter. The gutter is fixed at one end and held at the other end by the robot’s ...
1 vote
78 views

### Fusing cross-correlated measurements for mobile robot's localization using unscented kalman filter (ukf)

I'm currently working on a mobile robot's indoor localization. On the perception side, I can only rely on a 2D lidar and wheel odometry. I have used these sources as input of different localization's ...
• 11
1 vote
666 views

### GPS Course vs IMU Course

Im currently working with Kalman Filter for position and velocity, one of the important parameters that im using is the heading that the sensor fusion of the imu gives me, but i have seen that the GPS ...
1k views

### Kalman Filter with multiple inputs

Let's say I have one laser scanner and a radar device, which I should use to measure a distance to a wall (Fig. 1). Both devices are place on the same support, so... they should measure the same ...
• 702
328 views

### Particle Filter for IMU tilt angle and bias estimation from Kalman Filter models

I understand the functioning of Particle Filters from the book Probabilistic Robotics and the robotics course provided by Cyrill Stachniss. I want to implement, from scratch, a particle filter to ...
218 views

### IMU-Camera Senor Fusion

I am working on fusing IMU and Camera Sensor Fusion for the Drone to precisely land on the target location. With the Camera, I am tracking the April Tag which is on the ground. This gives me the x,y,z ...
118 views

### Kalman Filter Design

I'm new to Kalman filter design and I'm struggling to understand how to apply the Kalman filter methodology to my problem. I've read a research paper which seems to describe what I'm trying to do ...
• 69