Questions tagged [imu]

Use the IMU tag for questions about writing software that interacts with Inertial Measurement Units.

An inertial measurement unit (IMU) is an electronic device that measures and reports a body's specific force, angular rate, and sometimes the magnetic field surrounding the body, using a combination of accelerometers and gyroscopes, sometimes also magnetometers.

IMU Wikipedia page: https://en.wikipedia.org/wiki/Inertial_measurement_unit

154 questions
1
vote
0 answers

Obtaining accuracy of device orientation from Sensor.TYPE_ROTATION_VECTOR

I am currently working on an compass activity on Android. To provide the orientation of the smartphone, I use the Sensor.TYPE_ROTATION_VECTOR sensor and I would like to determine the accuracy of the obtained values. According to the documentation…
RaphINSA
  • 36
  • 2
1
vote
0 answers

Convert IMU Madgwick's quaternion to x,y,z position in Unity3D

I am trying to achieve this and also this, but in Unity3D and using an IMU ICM-20948 9-DOF sensor: So far I was able to use the Madgwick's algorithm and rotate a cube by tilting the sensor in the air. I am not sure now how to make it move like a…
userq
  • 51
  • 2
  • 5
1
vote
1 answer

Noise reduction Filter for acceleration data

I have successfully compensated the gravity from the IMU I am using through the use of madgwick filter. However, the result of linear acceleration comes out rather noisy with a high spike in between readings. Is there any filter or method I can use…
Lxx lxts
  • 11
  • 1
1
vote
1 answer

Setting initial values for pitch and roll for MPU6050 DMP processing

I want to handle case when my MPU6050 is disconnected and reset. Unfortunately, after reinit MPU6050 shows pitch and roll values as 0 and stabilizes after ~1-2s with right values. I would like to hint DMP by writing last read values before reset. Is…
1
vote
0 answers

Error with Adafruit BNO0555 Orientation Sensor in newe Raspberry

I hab a Adafruit BNO055 Orientation sensor, and it ran well on my Raspi Pi 3 B+. I now did an upgrade to Pi 4, and installed all the libraries I had one the B+ 3. The only difference in my system setting now is, that I had Python 3.5 before and now…
haakla321
  • 11
  • 1
1
vote
0 answers

Bluetooth Low Energy data transfer with nRF52840

I am attempting to pass motion data (accelerometer, gyroscope,...) from an IMU to my computer over a Bluetooth Low Energy (BLE) connection. I purchased the FXOS8700 + FXAS21002 to generate motion data and am using a wired I2C connection to pass that…
blobberman
  • 11
  • 2
1
vote
0 answers

How to find the transformation between two IMU measurements?

I am looking at the Clubs Dataset https://clubs.github.io/ for some research into multiway registration of point clouds. I am initially trying to use the ICP registration method in a sequential order adding one point cloud at a time. The dataset has…
Sujoy Rc
  • 11
  • 1
1
vote
0 answers

Using ARCore and IMU sensors to generate world movement and location data

I am trying to work on an Android application that reads sensor data from the phone, and generates world location to a spreadsheet every specific interval. I have read about using double-integration on Linear Acceleration, but I've read a lot of…
sonargeo
  • 11
  • 1
1
vote
0 answers

3D mapping using a 2D LiDar with embedded IMU

I am working on the MRS1104C and I am trying to map an orthogonal box. I am using only 1 of the 4 layers. I have positioned the sensor perpendicular to the floor and I get the measurements of distance, angles and quaternions from the embedded to the…
Dr. Quest
  • 11
  • 4
1
vote
1 answer

IMU fall detection

I am trying to detect a free fall scenario. I have accelerometer and gyroscope. A simple fall I can detect by inspecting a total acceleration of 0g However, my problem is when the IMU falls and rotates at the same time (centrifugal force). Any idea…
vladik pri
  • 11
  • 2
1
vote
1 answer

Car speed measurement using 3-axis accelerometer

Description of the situation I want to use the BOSCH BMI160 sensor to check the speed of the vehicle on the go. GPS is not available in the current situation. Question What is the formula for getting velocity from a 3-axis acceleration sensor? Is…
Jihun Kim
  • 31
  • 7
1
vote
0 answers

Publishing Prerecorded Lidar-PCAP file and IMU-Measurments as ros-bag

I have a prerecorded lidar point-clouds as pcap-file and also IMU and GPS records. All sensors were synchronized over gps-time. I would like to publish them as ROS-messages in real-time, which means I should read each point-cloud frame and…
arash javanmard
  • 1,362
  • 2
  • 17
  • 37
1
vote
0 answers

Format of kitti poses dataset poses and how re-create using imu

I am currently trying to make a monocular visual odometry system for a project. autonomus rc car. I read these blogs- https://avisingh599.github.io/vision/visual-odometry-full/ https://avisingh599.github.io/vision/monocular-vo/ and downloaded this…
Samm Flynn
  • 314
  • 2
  • 13
1
vote
2 answers

obtaining correct IMU values

I am reading data from an AHRS / IMU sensor via USB with Python 2.7. To obtain the acceleration the manufacturer specifies according to the image below: supplier's description IMU My code in python is this, but when the acceleration is negative the…
1
vote
1 answer

Any Kalman Filter implementation in C for GPS + Accelerometer?

I'm trying to rectify GPS readings using Kalman Filter. I already have an IMU with me which has an accelerometer, gyro, and magnetometer. I've tried looking up on Kalman Filters but it's all math and I can't understand anything. Any example codes…
1 2
3
10 11