From e8db6c2423a24bd7600b370d52212acec5998cc4 Mon Sep 17 00:00:00 2001 From: Julian Gaal Date: Mon, 20 May 2019 17:52:29 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af2f02b..9a906e6 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,10 @@ $ cargo build --target=armv7-unknown-linux-gnueabihf ## TODO - [x] init with default settings - [ ] init with custom settings + - [x] custom sensitivity + - [ ] custom device initialization - [x] device verification -- [ ] basic feature support as described [here](https://github.com/Tijndagamer/mpu6050/blob/master/mpu6050/mpu6050.py) +- [x] basic feature support as described [here](https://github.com/Tijndagamer/mpu6050/blob/master/mpu6050/mpu6050.py) - [x] read gyro data - [x] read acc data - [x] software calibration From ef3779db94fc70d1484e6516b2f4e7adbff701f7 Mon Sep 17 00:00:00 2001 From: Julian Gaal Date: Tue, 21 May 2019 08:57:45 +0200 Subject: [PATCH 2/4] add crates.io badge --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9a906e6..98e760b 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,8 @@ -# MPU 6050 Rust Driver - -Platform agnostic driver for [MPU 6050 6-axis IMU](https://www.invensense.com/products/motion-tracking/6-axis/mpu-6500/) using [`embedded_hal`](https://github.com/rust-embedded/embedded-hal). +# `mpu6050` ![crates.io](https://img.shields.io/crates/v/mpu6050.svg) +> no_std driver for the MPU6050 6-axis IMU [Datasheet](https://www.invensense.com/wp-content/uploads/2015/02/MPU-6500-Datasheet2.pdf) | [Register Map Sheet](https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Register-Map1.pdf) -[Docs](https://docs.rs/mpu6050/0.1.2/mpu6050/) | [Crate](https://crates.io/crates/mpu6050) - Visualization options for testing and development in [viz branch](https://github.com/juliangaal/mpu6050/tree/viz/viz) ### Basic usage From aadf2e6c532d1e541b3f5ab11c0d6202a5aa54fa Mon Sep 17 00:00:00 2001 From: juliangaal Date: Tue, 21 May 2019 09:18:27 +0200 Subject: [PATCH 3/4] bump libm version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 47892e5..b06215e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT" [dependencies] embedded-hal = "0.2.2" -libm = "0.1.2" +libm = "0.1.3" [dependencies.nalgebra] default-features = false From 55b07342a02ba6c85f4eda583a013fb9ad6f624b Mon Sep 17 00:00:00 2001 From: juliangaal Date: Tue, 21 May 2019 09:19:06 +0200 Subject: [PATCH 4/4] formatting --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8531891..880b951 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,10 @@ build: cargo build ext: - cd $(home)/example && cargo build --$(mode) --target $(target) + cd $(home)/example && cargo build --$(mode) --target=$(target) viz: - cd $(home)/viz/viz && cargo build --$(mode) --target $(target) + cd $(home)/viz/viz && cargo build --$(mode) --target=$(target) deploy: ext scp $(home)/example/target/$(target)/$(mode)/example pi@192.168.1.136: