ENSTABretagneRobotics / razor_imu_9dof

A ROS driver and firmware to connect to Sparkfun OpenLog Artemis, 9DoF Razor IMU M0, 9DOF Razor IMU and 9DOF Sensor Stick. These boards consists of 3 sensors: magnetic, gyro and acceleration sensor.
BSD 3-Clause "New" or "Revised" License
92 stars 114 forks source link

Does this work with the new M0 Razor IMU? #40

Closed Shreeyak closed 6 years ago

Shreeyak commented 6 years ago

Hey, the old razor imu is now a discontinued product and can't be found anywhere. It's been replaced with the new M0 Razor IMU. Does this repo work with it? Are there any plans to make it compatible with the new one?

Also, could I please request you to mention something like this in the readme, and perhaps put an image of the board in the readme? It'd help a lot! Thanks!

Shreeyak commented 6 years ago

Ah, never mind. I guess I didn't notice you've mentioned M0 in the readme. My bad.

subodh-malgonde commented 6 years ago

Even though you might have figured out the answer by now, I will post some additional instructions/clarifications. This is for others who might be wondering about the same question. IMO this is important since the instructions at razor_imu_9dof ROS Wiki are outdated.

Its mentioned in the README that:

you will need to follow the same instructions as for the default firmware on https://learn.sparkfun.com/tutorials/9dof-razor-imu-m0-hookup-guide and use an updated version of SparkFun_MPU-9250-DMP_Arduino_Library from https://github.com/lebarsfa/SparkFun_MPU-9250-DMP_Arduino_Library (an updated version of the default firmware is also available on https://github.com/lebarsfa/9DOF_Razor_IMU).

To summarize this means that, from the Sparkfun hookup guide one needs to follow the instructions from section:

  1. Installing the 9DoF Razor Arduino Core to
  2. Libraries and Example Firmware.

However instead of using the SparkFun MPU-9250 Digital Motion Processing (DMP) library, one needs to use the updated version from the README. So basically the zip file of the latest release from https://github.com/lebarsfa/SparkFun_MPU-9250-DMP_Arduino_Library/releases. And instead of using the example firmware, use the firmware from this repo.