IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.53k stars 4.81k forks source link

No IMU data. Check connectivity #12900

Open cxychen-hub opened 4 months ago

cxychen-hub commented 4 months ago

Required Info
Camera Model { D435i }
Firmware Version ( RealSense Viewer v2.54.2)
Operating System & Version Win 10
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC
SDK Version { 2.54.2 }
Language { python }
Segment { others }

Issue Description

<Describe your issue / question / feature request / etc..>

When I run the python 'rs-imu-calibration.py ' , there shows

Align to direction: [ 0. -1. 0.] Mounting screw pointing down, device facing out

Error: No IMU data. Check connectivity.

The whole information as follows. image

cxychen-hub commented 4 months ago

Firmware Version: 5.15.1

MartyG-RealSense commented 4 months ago

Hi @cxychen-hub Please check whether the USB cable's connector is moving in the USB port when you are changing the position and angle of the camera. Such movement in the port could cause a disconnection of the camera.

Or does the error message occur even before you have started moving the camera?

cxychen-hub commented 4 months ago

Hi @cxychen-hub Please check whether the USB cable's connector is moving in the USB port when you are changing the position and angle of the camera. Such movement in the port could cause a disconnection of the camera.

Or does the error message occur even before you have started moving the camera?

Thanks. This error occur before I move the camera, it seems that the program reads the camera's parameters but no IMU data. And the camera always connects with the computer. I have tried for many times.

MartyG-RealSense commented 4 months ago

Do you have access to the RealSense Viewer tool? If you do, is the IMU data able to be displayed if you enable the Motion Module option in the Viewer's side-panel?

cxychen-hub commented 4 months ago

Do you have access to the RealSense Viewer tool? If you do, is the IMU data able to be displayed if you enable the Motion Module option in the Viewer's side-panel?

Yes, it can be displayed correctly in RealSence Viewer, Motion Module.

MartyG-RealSense commented 4 months ago

If you are only going to be using the IMU in the RealSense Viewer then you may not need to perform an IMU calibration with the rs-imu-calibration.py script. This is because in Motion Module > Controls an option called 'Enable Motion Correction' is usually enabled by default for RealSense camera models with an IMU, and this feature 'fixes' the raw data to help to correct inaccuracies.

image

cxychen-hub commented 4 months ago

If you are only going to be using the IMU in the RealSense Viewer then you may not need to perform an IMU calibration with the rs-imu-calibration.py script. This is because in Motion Module > Controls an option called 'Enable Motion Correction' is usually enabled by default for RealSense camera models with an IMU, and this feature 'fixes' the raw data to help to correct inaccuracies.

image

Thanks for your answer. I get it.