-
Notifications
You must be signed in to change notification settings - Fork 203
[BUG] {Unable to get IMU data rate > 100 Hz when rotation is enabled} #446
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
Comments
Hey thanks for reporting the issue, does this issue appear on any other device or only on jetpack? |
Hey @danilo-pejovic I've only tried it on Nvidia Jetson Orin Nano with ROS2 running in jetson docker container. With this camera config, I am able to get IMU data rate of ~200 Hz in COPY mode and ~185 Hz in LINEAR_INTERPOLATE_ACCEL mode when rotation is disabled. Haven't try it on PC yet, I shall find one day to try it. |
Hey @danilo-pejovic I've tested on my laptop running on Ubuntu 22.04 ROS2 Humble and got the same result, IMU rate will not get over 100 Hz when rotation is enabled. |
Hi @ehong-tl, could you test this branch and see if that improves the readings? |
Hi @Serafadam I'm able to get more than 100 Hz with this branch, thanks for the fix. |
Describe the bug
Unable to get IMU data rate of more than 100 Hz from OAK-D-PRO-W when rotation is enabled.
Expected behavior
To get IMU data rate as intended in camera.yaml config file.
Screenshots
camera.yaml
ros2 topic hz /oak/imu/data output from default ros2 launch depthai_ros_driver camera.launch.py
Attach system log
Ubuntu 20.04 (Jetpack 5.1.2)
ROS2
ROS2 Humble
depthai-ros
built from source or installed from apt?From source
depthai/depthai-core
library installed from rosdep or manually? For rosdep install, check ifros-<rosdistro>-depthai
package is installed, manual install can be checked withldconfig -p | grep depthai
Installed manually
Additional context
Any reason not to output rotation vector when in COPY sync mode?
https://github.com/luxonis/depthai-ros/blob/4795034f539dbbef7e95168a8579b170fca1538c/depthai_bridge/src/ImuConverter.cpp#L90C6-L90C18
The text was updated successfully, but these errors were encountered: