In this section, we will learn how to use a low-cost sensor with the 9 Degrees of Freedom (DoF) Razor IMU M0 with the ROS framework. The SparkFun 9DoF Razor IMU M0 combines a SAMD21 microprocessor with an MPU-9250 9DoF (nine degrees of freedom) sensor to create a tiny, re-programmable, multi-purpose inertial measurement unit (IMU).
The 9DoF Razor IMU M0 incorporates three sensor: an accelerometer, a gyroscope, and a magnetometer, which gives it the ability to sense linear acceleration, angular rotation velocity, and magnetic field vectors.
The onboard microprocessor, Atmel's SAMD21G18A, is an Arduino-compatible, 32-bit ARM Cortex-M0+ microcontroller, which is also featured on the Arduino Zero and SAMD21 Mini Breakout boards. We can update the firmware or develop our own code easily using Arduino IDE. Alternatively, we can also use our...