Commit graph

20 commits

Author SHA1 Message Date
TheJackiMonster
4f061d1687
Fix device4 payloads, adjust naming, complete its packet structure and request firmware versions
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-05-01 22:19:00 +02:00
TheJackiMonster
8cf3221944
Correct timeouts and remove broken brightness command
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-30 14:24:13 +02:00
TheJackiMonster
72feaa60b3
Switch from libusb to hidapi
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-30 12:59:34 +02:00
TheJackiMonster
15c2a03944
Correct recalibration step
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-24 23:11:49 +02:00
TheJackiMonster
3ce7044590
Add initial calibration data and comment out using magnetometer
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-24 21:15:18 +02:00
TheJackiMonster
7998de05b7
Align axes with fusion algorithm expectations
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-24 19:59:07 +02:00
TheJackiMonster
d41415b485
Correct reading values from magnetometer and apply z axis flip properly
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-24 17:04:37 +02:00
TheJackiMonster
682e7edb20
Adjust code using calibration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-23 13:55:28 +02:00
TheJackiMonster
2da9cdd4f8
Remove wrong filtering
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-23 02:39:53 +02:00
TheJackiMonster
678c0196ea
Load calibration from device via payload
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-23 02:10:55 +02:00
TheJackiMonster
bacc08e594
Add crc32 for checksums and implement sending proper payloads
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-22 01:58:32 +02:00
TheJackiMonster
e451466633
Remove filter functions
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-21 21:32:57 +02:00
TheJackiMonster
b20a24bf66
Remove wrong filters and correction
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-21 21:30:16 +02:00
TheJackiMonster
43e37b17dd
Adjust temperature values with offset and sensitivity
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-19 00:11:04 +02:00
TheJackiMonster
12819f8d26
RE padding fields to be multipliers and divisors
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-12 00:56:06 +02:00
TheJackiMonster
e2523135a9
Add correction to workaround rejection
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-06 01:39:35 +02:00
TheJackiMonster
3f91741cfa
Add filters for precision loss and reducing potential drift
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-05 23:36:33 +02:00
TheJackiMonster
d3d63a30a4
Adjust magnometer and flip gravity acceleration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-05 02:06:03 +02:00
TheJackiMonster
5aa71fb488
Fix iterative adjustments of calibration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-03 15:33:00 +02:00
TheJackiMonster
2c23021a5e
Add calibration and separate the interface
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-02 23:08:28 +02:00