ROBOTIS-GIT / OpenCR

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.
Apache License 2.0
383 stars 238 forks source link

Increasing IMU frequency in turtlebot3 #336

Open TakShimoda opened 5 months ago

TakShimoda commented 5 months ago

Hello,

I'm working with a turtlebot3 burger on ROS2 foxy, and I'm trying to increase the IMU frequency. Right now, when I run the basic bringup script and type ros2 topic hz /imu I get 20Hz, but I want to increase it to > 100Hz.

I tried looking for issues/solutions on both this github page and on the turtlebot3 github and didn't find any queries relevant to my issue. I found a post here where the answer digs into the source code, but it seems to already initialize IMU at 200Hz.

I wanted to know if it's possible to increase the frequency that I get on the topic /imu when I run on ros2.

Thank you.