20 Commits

Author SHA1 Message Date
Eiren Rain
94f61c7ec7 Run CI for new boards with own defines (#443)
* Run CI for new boards with own defines

* Do not redefine board when defined from CI or other places

* Move sensor defaults to the separate file too

* Add comment to sensor offset

* Add a way to ask for raw accel from BNO08X

* Merge fix

* Update from suggestions

* Fix typos

* Move some stuff around and apply suggestions

* Fix formatting

* Add defines for all other boards too

* Make glove buildable

* Make failed build report better
2025-05-23 19:17:30 +03:00
gorbit99
e66a664e48 Tostring fix (#434)
* Add c_str() to toString() calls

* Fix rest of the logging issues

* Formatting
2025-05-02 22:24:13 +03:00
unlogisch04
ee48341c30 Feat BNO085 temp (#417)
* BNO085 add more Features and Readouts to the lib

* BNO085 add
- Experimental compiler flags for disable Calibration
- Temp Readout (all 1 sec)
- Inspection only send when updated
- added conginue as 1 imu.dataAvailable() only reads out 1 packet of data

* BNO085 add source of info
2025-04-17 19:15:47 +03:00
gorbit99
9a6813457d Implement SensorInterfaceManager (#415)
* Implement a sensor interface manager

* Add missed return true

* Formatting
2025-04-07 00:12:05 +03:00
Eiren Rain
cdb6e4b39f Glove (#371)
* Add calibration reading commands for BNO08X

* Disable accelerometer calibration 1 minute after start up on BNO08X

Also save dynamic calibration periodically

* Work on new sensor interface to abstract I2C hardware

* Fix compile errors

* Abstract int pin and add multiplexer libraries

* Update IMU list to use new interfaces

* Make other IMUs definable, not only BNOx

* Fix build for ESP32

* Add TPS tracking code

Rename IMU_DESC_LIST to SENSOR_DESC_LIST
Start work on many-imu glove support

* Add PCA9546A support & glove imus list

* WIP use pointers properly

* I love C++ <3

* c++ is magic

* Fix build error because of typo

* Fix warnings

* Fix pinouts and some other issues

* Fix I2C with multiplexer

* Implement sending bone position

Implement sending flex data,
Minor refactoring

* Add tracker type to the protocol

* Work on analog sensors support

* Fix build errors

* Fix rebase conflict

* Apply formatting

* Update protocol to match server

* Fix thumb bone names

* Add an important comment

* Fix protocol compatibility

* Update defines for default configuration

* Minor comments and cleanups

* Format defines

* Formatting

* Formatting with proper clang

* Fucking clang

* Minor fixes after merge

* Fix formatting

* Remove unnecessary virtual keyword

* Remove delay on I2C clear error so OTA doesn't break

* Address some of the review comments

* Fix formatting

* Minor include imporvement

* Make new defines enums

* Fix build for sfusion
2025-02-06 17:46:09 +02:00
Przemyslaw Romaniak
6144f01799 BNO080: Try to handle reset better (#268) 2023-09-18 17:04:18 +03:00
Eiren Rain
fe6c25316d Minor firmware refactoring (#250) 2023-07-02 14:34:13 +03:00
Ryan
62ee873dfd Adjusted startup sequence of BNO08X sensors to be more flexible regar… (#223) 2023-01-25 13:25:54 +02:00
Eiren Rain
cb188cfd7a Fix tests 2022-12-25 21:21:38 +01:00
Eiren Rain
58638027d2 Report last error for BNO08X if it times out 2022-03-05 20:09:07 +02:00
Eiren Rain
4dda39999b Added gravity reading to BNO08X lib, send accel packet if separate reading of it is enabled 2021-10-13 16:41:57 +03:00
Eiren Rain
5682b50b05 Fix sending wrong magnetometer and tap data 2021-08-10 07:15:02 +03:00
Eiren Rain
2704dac072 Significant protocol refactoring
Replace doubles with floats in math
Added ability to send multiple reports from BNO with multiple sensors
Send magnetometer data from BNO as correction data, added switches to use magnetometer for BNO
2021-08-08 11:56:53 +03:00
Eiren Rain
179b6d766b WIP calibration refactoring, MPU6050 should accept calibration commands properly now
Refactor config load and save
Small logging refactoring
2021-07-27 19:52:44 +03:00
Eiren Rain
553446e897 Support compilation for ESP32 2021-06-23 14:29:37 +03:00
Eiren Rain
a76e9bdb2b Fix I2C clock stretch limit to fix BNO085 resets 2021-05-27 21:27:40 +03:00
Eiren Rain
d4d99f83bb Debugging... debugging... 2021-05-11 05:24:36 +03:00
Eiren Rain
bba36191b1 Minor cleanup, added tap packet 2021-04-05 09:22:25 +03:00
Eiren Rain
ca73b8a6fb Added license to most files 2021-03-07 06:21:32 +03:00
Eiren Rain
7e4f21e603 Major refactoring with classes for each sensor 2021-03-05 05:52:43 +03:00