ME 507 Romi++
Cylindrical Differential Drive Robot created for ME 507 at Cal Poly in Spring 2025
|
BNO055 IMU initialization interface. More...
#include "BNO055_STM32.h"
#include "stm32f4xx_hal.h"
#include <stdio.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | Sensor_Init (void) |
Initializes the BNO055 IMU sensor and applies configuration. |
Variables | |
uint8_t | OffsetDatas [22] |
Array storing sensor offset and calibration data. |
BNO055 IMU initialization interface.
Provides function prototype for initializing the BNO055 sensor. Also declares a buffer for storing sensor offset calibration data.
void Sensor_Init | ( | void | ) |
Initializes the BNO055 IMU sensor and applies configuration.
This function sets up sensor mode, units, and optional calibration offsets.
Initializes the BNO055 IMU sensor and applies configuration.
Configures the BNO055 with normal operating mode, Android orientation, and unit settings. Applies hard-coded offset values for faster startup. Optional re-calibration section is provided but commented out.
|
extern |
Array storing sensor offset and calibration data.
Contains 22 bytes used to apply or retrieve sensor calibration.
Array storing sensor offset and calibration data.
Pre-collected sensor offsets to avoid re-calibration on every startup. If initialization parameters change, these offsets may become invalid.