Ask Your Question

Arduino 101 (Intel Curie) - IMU rate is low

asked 2019-08-09 14:16:51 -0600

tuandl gravatar image

I am trying to get the IMU measurement from an arduino 101. Even though I am already set the acceleration and gyro rate to 200:


and set the baud rate to 500000, I can only get the IMU output rate around 40 Hz on the host PC running rosserial_python. I directly publish imu messages from the arduino.

I wonder if anyone has encountered this problem before and how to fix it? Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-02 14:19:21 -0600

duck-development gravatar image

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);

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-08-09 14:16:51 -0600

Seen: 70 times

Last updated: Apr 02 '20