Welcome, Guest Login


Receiving Raw IMU Data From Piksi Multi

Piksi® Multi includes a Bosch BMI160 IMU and a Bosch BMM150 Magnetometer on the OEM module.  As of firmware release v1.0.11, it is possible to stream raw IMU values from the BMI160.  It is very important to note that this IMU data is raw, unfiltered, and unaligned IMU information directly from the MEMS IMU chip.  This feature is NOT a blended GNSS/INS position or attitude solution.  

In order to enable the IMU data, it is necessary to configure the following firmware settings.  

Settings Group Setting Name Description Notes
imu imu_raw_output Enable/Disable raw imu output  
imu imu_rate The rate of IMU raw measurements A max of 25 Hz is recommended for UART communication at 115200 bps.  Use only USB or Ethernet interfaces for higher data rates.
imu gyro_range gyroscope scaling  
imu acc_range accelerometer scaling  

Consult the firmware settings document for more information and the IMU datasheet for more information.

When the "imu_raw_output" setting is set to True, Swift Binary Protocol (SBP) messages with the IMU information are sent from the device through any interface configured to transmit these messages.  The messages that are sent include MSG_IMU_RAW (sbp message type 0x0900 hex or 2304 decimal) and MSG_IMU_AUX (sbp message type 0x0901 hex or 2305 decimal).  Consult the sbp message protocol documentation for more information.  

To output IMU messages from the UART0 port a default enabled_sbp_messages settings needs to be changed as shown below:

Viewing IMU Data In The Console:

The Swift Console reads IMU messages and displays on a line chart.  Navigate to the advanced >> IMU tab of the console to see the data as shown below.

IMU Orientation:

Consult the axis illustration on the top of Piksi Multi board for a hands on depiction of the IMU orientation with respect to the board.
Last Updated: Nov 02, 2017 01:10PM PDT
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found