Julian Gaal
11554dee66
Merge pull request #40 from tfx2001/patch-1
...
Fix bug when convert raw gyro data to rad/s
2022-01-10 12:20:26 +01:00
tfx2001
dfeeec0202
fix: get_gyro convert error
2021-08-13 11:44:26 +08:00
Niklas Cathor
98db8a15c6
Make device address configurable
...
The i2c address can be changed by pulling the AD0 pin up (Section 6.4,
Page 15 of datasheet revision 3.2).
This can be necessary to do if there is an address conflict with
another chip.
2021-07-14 20:21:00 +02:00
juliangaal
fc2a503f05
prep for crate version 1.4
2021-02-20 13:13:04 +01:00
juliangaal
d830eebbc6
remove delay when enabling motion detection
2021-02-19 23:03:13 +01:00
juliangaal
597d81dfaa
enable motion detection
2021-02-19 22:58:57 +01:00
juliangaal
5f51ec136e
enable CLK_SEL control
2021-02-19 10:20:28 +01:00
juliangaal
0ab57cadf4
fix temperature sensor enable/disable
2021-02-19 08:50:54 +01:00
juliangaal
f021c88a08
control sleep, temp on/off
2021-02-19 02:15:07 +01:00
juliangaal
ea54b0accf
set range, hpf
2021-02-18 12:27:26 +01:00
juliangaal
f36aa2c73b
implement readbit(s), writebit(s)
2021-02-18 01:30:53 +01:00
juliangaal
e7c0e5ac20
write_bit_n, set_bit_n implemented
2021-02-17 20:32:16 +01:00
juliangaal
16e17ce364
bump dependencies, rm buggy bias calc
2021-02-15 18:45:50 +01:00
timkoning17
290ce95fb7
Update lib.rs
...
Tiny spelling error correction
2020-11-16 16:12:55 +01:00
Julian Gaal
f0fe23b1ab
Update comments to reflect changes to non owning delay
2020-09-24 14:15:07 +02:00
Julian
8b9aee4b00
use delay only non-owning
2019-12-29 20:21:07 +01:00
juliangaal
69d0fd0d0e
documentation tests - fixed
2019-06-07 10:06:17 +02:00
juliangaal
d5138caee3
clean up comments
2019-06-07 09:34:34 +02:00
Julian Gaal
f42bd47882
rm ununsed imports
2019-05-23 08:52:56 +02:00
juliangaal
c1aa3c1f8b
migrate to nalgebra
2019-05-20 16:00:24 +02:00
Julian Gaal
7ab5fc90f4
enable nalgebra with no_std support
2019-05-16 13:09:30 +02:00
Julian Gaal
61b8b62b50
documentation improvements
2019-05-08 19:02:51 +02:00
Julian Gaal
b9dbcf8896
remove unnecessary spaces
2019-05-08 19:02:28 +02:00
Julian Gaal
44a67e8fdd
make registers dedicated enum
2019-05-08 18:50:47 +02:00
Julian Gaal
93521d8f5d
rad/deg conversion, acc/gyro separate type
2019-04-25 13:30:13 +02:00
juliangaal
00cdf79b35
steps struct to calrify filte size
2019-04-24 16:00:48 +02:00
juliangaal
2ed70201e5
support for basic avg/mean filtering
2019-04-24 15:44:37 +02:00
juliangaal
4a277b1ee1
restructure functions to better reflect typical usage
2019-04-23 18:24:02 +02:00
juliangaal
f423a740db
calculate variance from sensor data
2019-04-23 16:28:28 +02:00
juliangaal
02cf4c5799
calculate variance from sensor data
2019-04-23 15:41:13 +02:00
Julian Gaal
930ceac802
delete unnecessary constants file
2019-04-17 19:38:20 +02:00
Julian Gaal
0ada7c9d0f
rename
2019-04-17 16:37:07 +02:00
Julian Gaal
267fb85206
clean, comments
2019-04-16 01:24:20 +02:00
Julian Gaal
5afe9dfbc1
comments
2019-04-16 00:58:12 +02:00
Julian Gaal
97c4ab352d
comments
2019-04-16 00:26:21 +02:00
Julian Gaal
06e1768318
implement temperature support
2019-04-15 23:27:36 +02:00
Julian Gaal
1f76432fa1
roll pitch estimation accelerometer alone
2019-04-15 22:14:45 +02:00
Julian Gaal
8b29b9f2ac
separate constants
2019-04-15 21:59:52 +02:00
Julian Gaal
f349c79791
enable soft calibration
2019-04-15 21:59:12 +02:00
Julian Gaal
717e9e6149
correct gyro readings. Acc and gyrp raw working
2019-04-15 21:14:37 +02:00
Julian Gaal
d230655e43
add TODO
2019-04-08 10:16:41 +02:00
Julian Gaal
58370b79b3
first commit
2019-04-08 10:11:36 +02:00