ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
if you look at the
// supported values: 25, 50, 100, 200, 400, 800, 1600, 3200 (Hz)
int getGyroRate();
void setGyroRate(int rate);
// supported values: 12.5, 25, 50, 100, 200, 400, 800, 1600 (Hz)
float getAccelerometerRate();
void setAccelerometerRate(float rate);
https://github.com/arduino/ArduinoCore-arc32/blob/master/libraries/CurieIMU/src/CurieIMU.h
you main loop is may to slow. if you set the rate to 25 is it then 25? or still 40?
is it possible to get you fool loop may isee something
the questen how fast the nh.spinOnce();
is executed
greet Anton