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
1 answer

collect data from magentometer on a sensehats IMU

I can't find information about how to import and collect data from an IMU on a sensehat connected to my raspberry pi. What do I write to import it and save the data? I have made a code with the same function, however for the accelerometer: import…
Bakkom
  • 57
  • 2
  • 9
1
vote
1 answer

How do I detect an increase in movement then a sudden stop using the device's accelerometer?

I'm trying to detect a motion that you would get from bumping two phones with each other. My question is, is an accelerometer the right sensor for this? If so, how would I implement it? Otherwise, what sensor should I use and in what way should I…
Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117
1
vote
1 answer

How to get images at 60 fps and imu data at 500hz at the same time with zedmini camera?

We know that IMU sampling rate is much higher than image taken from the sensor (FPS), so can I get images at 60FPS and IMU data at 500hz at the same time? Is there an easy way? Or maybe I need to use two threads to achieve my goal ?
guozixing
  • 11
  • 2
1
vote
0 answers

Looking for IMU simulation software

If I am posting this in the wrong place, please let me know (I'll move the question there). I am looking for a program that can generate 6 or 9 DoF IMU data along with its actual path. I am working on implementing Kalman filter and require data.…
wei zeng
  • 21
  • 2
1
vote
1 answer

MPU9250 getting stuck in reset loop with ESP8266 using WOM

I've been experimenting with the sleep options of both the ESP8266 wifi chip and the MPU9250 IMU. The ESP has a deep sleep command which essentially shuts the chip down apart from the real time clock until the RESET pin is pulled low, either by the…
Isaac Middlemiss
  • 208
  • 2
  • 4
  • 13
1
vote
1 answer

3-axis IMU gravity compensation

I have acceleration (x,y,z) and roll, pitch, heading data from a 3-axis IMU. I want to compensate the acceleration data based on the angles (r,p,h) measured by the gyro. For example, when the IMU is flat and stationary (z-axis up), the accelerations…
P3d0r
  • 1,039
  • 3
  • 12
  • 20
1
vote
0 answers

Madgwick IMU algorithm, how to get 360 degree freedom variables?

I'm implementing different IMU methods in a project of mine and I'm currently experimenting with the well known Madgwick's implementation of Mayhony's AHRS algorithm (MahonyAHRS.c) So far it works around as good as my self implemented one which is…
John
  • 7,507
  • 3
  • 52
  • 52
0
votes
1 answer

BNO055 reading incorrect when multi-threading

I'm currently having problems reading incorrect data from the BNO055 sensor when multi-threading on linux. When I run a separate program with one thread, the data reads quite well, but when integrated into a multi-threading program, the data…
datng31
  • 1
  • 2
0
votes
0 answers

ERROR: [Characteristic] 00002a00-0000-1000-8000-00805f9b34fb (Handle: 2): Error: Could not read characteristic handle 2: Unreachable Arduino Nano BLE

I need to measure the accelerations of a moving object. For this, I am using the Arduino Nano 33 BLE, which has the integrated sensor IMU LSM9DS1, so I am trying to read and save the accelerations from the sensor and be able to keep them in the…
0
votes
0 answers

Experiencing Much Higher Data Rate than Timer Interrupt Settings While Reading IMU Data via I2C on Arduino

I am currently using an Arduino MKR ZERO to gather IMU data from three MKR IMU SHIELD boards (BNO055 IMU). I have utilized the library to set a timer interrupt with a period of 10ms. To connect the three IMUs for data reading,…
JING
  • 25
  • 4
0
votes
0 answers

Can I get position and velocity data from an IMU unit? I'm lost :(

I'm not sure if this is the right place to ask this question; I'm from a totally different field and english is not my first language. Nevertheless, I'll give it a shot, any advice will be greatly appreciated(maybe even recommendations of other…
0
votes
0 answers

Raspberry Pi 4: Sensor connection over I2C crashes Pi

I have to use an IMU-Sensor for my Uni final project. I started out with an Raspberry Pi 3B+ 1GB and an MPU-9250. The gyroscope and the accelerometer were having problems, randomly dropping the I2C connection, but the magnetometer part of the MPU…
AKY115
  • 31
  • 3
0
votes
0 answers

micropython qmi8658 exposing the AttitudeEngine quaternion

I'm trying to expose the AttitudeEngine quaternion on the QMIi8658 mentioned in the documentation. It's part of the WaveShare RP2040-Touch-LCD-1.28 module. Their original demo sketch exposes the accelerometer and Gyroscope sensors but the the…
Victor Lazaro
  • 545
  • 2
  • 6
  • 16
0
votes
0 answers

Vector Nav 200 integration with Pixhawk

I was aiming to integrate VN200 with PX2.4.8. So I was reading the online documentation of PX4 which stated, VN200 is already available. The Driver is present in Github repo. However, I am failing to find the setup code. I read through…
0
votes
1 answer

Calibrating MPU6050

I using a MPU 6050 and raspberry pi pico for making an IMU. I have set the range of accelerometer as +- 2 g but there is a .96 g offset this severly limits the sensing range on the positive side. I have written a calibration program which works fine…