-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imu calibration problem about rs-imu-calibration.py #5498
Comments
@lishanggui hello, the symptoms you describe resemble the #5515 so please more details to understand whether there is a connection:
|
@ev-mp thank you! I have slove the problem. |
@lishanggui @ev-mp Hi, I have encountered this problem Status.collect_dataWARNING: MOVING while calibrating the d435i camera. Please help me in this regard. |
@ShoaibAzam Please try to uninstall the software and try to install with librealsense source code. Do not use pip install pyrealsense2 to install python programs. |
When I run the program python3 rs-imu-calibration.py in the first position according to the instructions, the program keeps repeating WARNING: MOVING and Status.wait_to_stable, but cannot perform calibration.as follow,
cti@cti-desktop:~/librealsense/tools/rs-imu-calibration$ python3 rs-imu-calibration.py
Start interactive mode:
FOUND GYRO with fps=200
FOUND ACCEL with fps=63
*** Press ESC to Quit ***
Align to direction: [ 0. -1. 0.] Upright facing out
Status.rotate: [-0.0031 -0.0023 -0.0681]: [ True T Status.collect_dataWARNING: MOVING
Status.rotate: [-0.0052 -0.0021 -0.064 ]: [ True T Status.collect_dataWARNING: MOVING
Status.rotate: [-0.0072 -0.0021 -0.064 ]: [ True T Status.collect_dataWARNING: MOVING
Status.rotate: [-0.0052 -0.0021 -0.0641]: [ True T Status.collect_dataWARNING: MOVING
Status.rotate: [-0.0052 -0.0019 -0.0619]: [ True T
When printing the gyroscope values in the program, I found the gyroscope The value of the meter has always been kept large, and the gyroscope data cannot be collected, which makes it impossible to calibrate. How to solve this problem?
collect gyroscope values code as follow:
if pr.stream_type() == rs.stream.gyro:
self.collected_data_gyro.append(np.append(frame.get_timestamp(), data_np))
is_moving = any(abs(data_np) > self.rotating_threshold)
gyroscope values is about [ 6.98131695e-03 5.67720680e+01 -2.15338726e+01]
The text was updated successfully, but these errors were encountered: