https://github.com/aler9/raspberry-imu-viewer
view IMU estimates in 3D on a Rasberry Pi (MPU6000, MPU6050, MPU6500, ICM20600, ICM20601, ICM20602)
https://github.com/aler9/raspberry-imu-viewer
3d estimation icm20600 icm20601 icm20602 imu mpu6000 mpu6050 mpu6500 opengl-es raspberry raspberry-pi raspberrypi
Last synced: 4 months ago
JSON representation
view IMU estimates in 3D on a Rasberry Pi (MPU6000, MPU6050, MPU6500, ICM20600, ICM20601, ICM20602)
- Host: GitHub
- URL: https://github.com/aler9/raspberry-imu-viewer
- Owner: aler9
- License: mit
- Archived: true
- Created: 2019-06-25T21:01:49.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T16:17:20.000Z (7 months ago)
- Last Synced: 2024-10-22T04:21:26.354Z (7 months ago)
- Topics: 3d, estimation, icm20600, icm20601, icm20602, imu, mpu6000, mpu6050, mpu6500, opengl-es, raspberry, raspberry-pi, raspberrypi
- Language: C
- Homepage:
- Size: 451 KB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# raspberry-imu-viewer
## Deprecation notice
This project makes use of some EGL functions that were unfortunately removed from the Raspberry Pi OS, starting from Bullseye.
Using this on recent Raspberry Pi OS versions requires some manual refactoring.
## Info
[](https://github.com/aler9/raspberry-imu-viewer/actions?query=workflow:lint)
[](https://github.com/aler9/raspberry-imu-viewer/actions?query=workflow:test)
This tool allows to view in 3D the output of various orientation estimation algorithms, fed by a IMU sensor, connected to a Raspberry Pi. Supported sensors are:
* MPU6000 (I2C mode)
* MPU6050 (I2C mode)
* MPU6500 (I2C mode)
* ICM20600 (I2C mode)
* ICM20601 (I2C mode)
* ICM20602 (I2C mode)This tool is intended to:
* provide a zero-dependencies, ready-to-use tool to test IMUs
* provide a starting point to anyone wishing to explore the field of orientation estimation## Build & launch
1. On the Raspberry Pi, enable I2C in fast-speed mode: edit `/boot/config.txt` and add:
```
dtparam=i2c_arm=on
dtparam=i2c_arm_baudrate=400000
```then edit `/etc/modules` and add
```
i2c-dev
```then reboot the system.
2. Install the dependencies:
```
sudo apt install -y git make gcc libc6-dev libi2c-dev libraspberrypi-dev
```3. Clone this repository:
```
git clone https://github.com/aler9/raspberry-imu-viewer
cd raspberry-imu-viewer
```4. Build:
```
make
```5. Launch:
```
./raspberry-imu-viewer
```## Links
* [sensor-imu (IMU library used by this project)](https://github.com/aler9/sensor-imu)