This repository contains a project that leverages a Raspberry Pi to implement an Attitude and Heading Reference System (AHRS) using the MPU9250 sensor. The project includes several Python scripts that handle various aspects of the AHRS system, including sensor data acquisition and processing.
ahrs_mpu9250.py
- Integrates data from the MPU9250 sensor.
- Computes orientation using sensor data.
mpu9250.py
- Interfaces with the MPU9250 sensor.
- Handles sensor data reading and initial processing.
registermap.py
- Provides register map definitions for the MPU9250 sensor.
- Facilitates easier and more readable register access.
-
Connect the MPU9250 sensor to the Raspberry Pi.
-
Run the asrs.py script to start the AHRS system:
python ahrs_mpu9250.py
Here is the related projects