Merge branch 'dev' of github.com:juliangaal/mpu6050 into restructure-example
This commit is contained in:
commit
0656fe336b
3 changed files with 8 additions and 9 deletions
|
@ -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
|
||||
|
|
4
Makefile
4
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:
|
||||
|
|
11
README.md
11
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` 
|
||||
> 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
|
||||
|
@ -88,8 +85,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
|
||||
|
|
Loading…
Reference in a new issue