Closed HappySamuel closed 2 months ago
Hi @HappySamuel Does gyro stability improve if you set global_time_enabled for the motion module to false, please? Having global time enabled is less important in ROS than it is in the RealSense Viewer because ROS has its own timing sync mechanism.
I would also recommend confirming in the Viewer's Motion Module section the FPS speeds that are supported for your cameras. RealSense cameras with an IMU supported 63 Accel and 200 Gyro prior to mid 2022, and after that the IMU component in the cameras was changed to one that supports 100 Accel and 200 Gyro, with the '63' accel speed no longer supported.
Hi @MartyG-RealSense
I just tried to disable the global_time_enabled
, however the gyro outcome is still dramastically jumping around for all 3 axes.
Besides, i checked my D435i camera for their available FPS for both gyro and accel via realsense-viewer
Gyro: 200 / 400
Accel: 63 / 250
What shall i do next?
How does gyro behave if you set enable_sync to true?
I tried having the enable_sync:=true
, but the gyro outcome is still dramastically jumping around for all 3 axes.
The weird thing is, why would gyro outcome becoming like this ? while the accel still remain normal.
There is a similar sounding ROS case at https://github.com/IntelRealSense/realsense-ros/issues/2745 where the gyro was fluctuating continuously and using motion correction or setting unite_imu_method to copy made no difference.
Eventually they described at https://github.com/IntelRealSense/realsense-ros/issues/2745#issuecomment-1571241211 how they minimized rotation with something called /cmd_vel. Apparently it is a command used with robots such as turtlebots though, so may not be applicable to how you are using the camera.
Hi @HappySamuel Do you require further assistance with this case, please? Thanks!
Hi @MartyG-RealSense
Sorry for the late reply. I will look forward for the next upgrade on the realsense Firmware, perhaps this issue will be resolved when it comes.
It's no problem at all. Thanks very much for the update!
Issue Description
I have the realsense-ros installed following Realsense Camera with CUDA-enabled steps suggested here. However, when i tried to enable both the gyro and accel, and having the
unite_imu_method=1 / 2
, which will output the imu topic/front_cam/imu
. Although the camera is sitting still, for the accelerations portion, they are seems OK, but the angular velocities are awful, keep dramatically jumping around. For your info, the camera is sitting still. I tried both d435i and d455 cameras, both their angular velocities are unsable at all. And this phenomenon only observed in therealsense-ros
, while angular velocities seems just fine in therealsense-viewer
. Here i attached the bagfiles of both 435i and d455 cameras recorded with running realsense-ros.d435i_rs_imu.zip
d455_rs_imu.zip
Here are the config i used for both d435i and d455 cameras. I only enable gyro and accel at the moment with else disabled. I also have enabled the
enable_motion_correction
Any solution for this?
Best, Samuel