ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You like to be fast then use c++, what is the cpu load while you execute the script. Do you have UIs on the pi? How long does it take to read the i2c suff. I think this is the slowest part. Wjdriting to the console is also a slow process. Remove the raspy.logInfo line. Use the rostopic hz function to measure the refresh rate of you topic as @ravijoshi has written.