Skip to content
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

Refresh Rate only 48Hz not 100Hz #73

Open
PhilShaw852 opened this issue Jun 20, 2024 · 4 comments
Open

Refresh Rate only 48Hz not 100Hz #73

PhilShaw852 opened this issue Jun 20, 2024 · 4 comments

Comments

@PhilShaw852
Copy link

Raspberry Pi Zero 2 W and Pi 3B
Ubuntu 22.04
Ros Humble

Using I2C the topic hz only reaches 48Hz, when set to 100. Can this be improved? With a Pi 5 it reaches 100hz.

Copy link

Thank you for creating your first issue on this repo! Give me some time to review and respond to your problem.

@flynneva
Copy link
Owner

@PhilShaw852 seems to be an issue with clock stretching on the pi3 (someone had the same issue as you it looks like back in 2017)

https://forums.raspberrypi.com/viewtopic.php?p=1231112#p1231112

@PhilShaw852
Copy link
Author

Hi, I have tried using the software i2c and have a similar maximum refresh rate when viewing via ros2 topic hz /bno055/imu.

With the software i2c it looks like the core is the limiting factor as the core running the node shows 100% usage.

@flynneva
Copy link
Owner

@PhilShaw852 oof ok. There might be ways to optimize the code a bit since its so old now 😅 if I can find some time I'll try and see if I can find any places where we can improve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants