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

Using the razor_imu_9dof package with the sparkfun IMU (14001)

asked 2017-11-29 05:42:00 -0500

I'm just wondering if anyone has had any success getting the new version of the Sparkfun 9DoF Razor IMU M0 Board working with the razor_imu_9dof node? I've been trying to get this working for a while now and although I've made some progress it's not quite working properly.

The firmware provided in the ROS package only supports the old (now discontinued) versions of the board, so I hunted around for any ports to the newer version, I've managed to find this repository by user lebarsfa that works with the new version of the board (as well as the older ones).

However using the board I've got and this firmware the sensor orientation is not being correctly calculated, sometimes the firmware outputs nothing but NAN values and at other times they're real numbers but drifting wildly. This if after going through the calibration procedure.

Has anyone managed to get the new 14001 board working properly?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-12-01 19:53:04 -0500

freelancer22 gravatar image

A solution I found that helped fix the reporting of NaN values was to change the DMP_SAMPLE_RATE value in the Arduino code, under the Sensors.ino file from 100 to 50. It became much more stable and have not seen NaN values being printed out on the serial monitor. I'm not sure on the reason why this would fix it, but it worked after I tinkered around with the code.

edit flag offensive delete link more


Thanks, I'll give this a go on Monday ane let you know how it goes.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2017-12-02 05:25:43 -0500 )edit

Question Tools



Asked: 2017-11-29 05:42:00 -0500

Seen: 531 times

Last updated: Nov 29 '17