Sparkfun Razor IMU driver

This driver provides support for the Razor IMU, sold by Sparkfun. For this driver to be effective on the Razor IMU, the latest version of the firmware from http://code.google.com/p/sf9domahrs/source/list should be installed on the IMU.

When installing the firmware, the following settings should be configured as true: File: SF9DOF_AHRS.pde #define PRINT_ANALOGS 1 <– must be set to 1.

Compile-time dependencies
  • None
Provides
  • interface_imu
Requires
  • none
Configuration requests
  • PLAYER_IMU_REQ_SET_DATATYPE
  • PLAYER_IMU_REQ_RESET_EULER
  • PLAYER_IMU_REQ_RESET_ORIENTATION
Configuration file options
  • serial_port
    • Default: /dev/ttyUSB0
    • Serial port to connect to the IMU with
  • baud_rate
    • Default: 57600
    • Baud rate for serial connection
  • data_packet_type
    • Default: 4
    • Data packet format from IMU
Example
driver
(
        name "razorimu"
        provides ["imu:0"]
        serial_port "/dev/ttyUSB0"
        baud_rate 57600
        data_packet_type 5
)
Author
Michael F Clarke mfc5@.nosp@m.aber.nosp@m..ac.u.nosp@m.k