* Tests
* more changes
* Remove the need for nodejs
* Better preprocessor and ci
* Fix ci maybe
* Fix ci maybe
* Fix ci maybe
* Fix ci maybe + Add way to overide defaults from env vars
* Temp fix for api tests
* Small override fix
* Fix override
* More descriptions
* More descriptions
* Fix led + better typings
* Better format
* Bring back deleted files
* Add all boards in platformio.ini
* Always define Battery Pin and R1, R2 and Resistance
* Checking Boards Default Config:
BOARD_WEMOSD1MINI
BOARD_NODEMCU
BOARD_ESP01
BOARD_TTGO_TBASE
* Format
* Correcting Board Defaults:
- BOARD_WROOM32
- BOARD_LOLIN_C3_MINI
- BOARD_BEETLE32C3
- BOARD_ESP32C3DEVKITM1
- BOARD_ESP32C6DEVKITC1
- BOARD_WEMOSWROOM02
- BOARD_XIAO_ESP32C3
- BOARD_ESP32S3_SUPERMINI
* Change IMU_AUTO to something else on boards that might crash with it.
* remove IMU_UNKNOWN from selection
* Preprocessor fixes
* preprocessor defaults fixes + Make glove not use preprocessor
---------
Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com>
* 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
* Designate all initializer clauses to fix compiler errors with newer
compilers
* ESP32C6 support
* fshelper: fixed ESP8266 regression caused by abstracting FS access #321 (#328)
* fshelper: fixed ESP8266 regression caused by abstracting FS access #321
* Removing not needed ifdef
l0ud spotted that this is not need.
Co-Authored-By: Przemyslaw Romaniak <przemyslaw.romaniak@intel.com>
---------
Co-authored-by: Przemyslaw Romaniak <przemyslaw.romaniak@intel.com>
* Fix enabling motion bias estimation (#325)
* fix pre-processor warning
* add macro for calculating radians (#317)
* feat: add macro for calculating radians
* style: silence unused variable warning
* remove unnecessary float cast in macro
* SoftFusion sensor framework with BMI, ICM, LSM6, MPU sensor implementations (#322)
* Update readme to mention BMI270 support.
* Soft fusion sensor initial code, wip
* Soft fusion ICM-42688-P lazy WIP implementation.
* sfusion: Cleanup, implemented sensor frequency calibration
* icm42688: add more comments, basic driver (no hw filtering) should be working
* sfustion: compilation fix
* sfusion: start calibration when upside down
* cleanup: remove confusing had data flag
* sensor manager: use unique_ptr instead of raw pointers
* sfusion: big refactoring wip
* sfusion: make aux work, at least sfusion sensors should now be functional
* sfusion: lightweight implementation of BMI270 sensor, no sensitivity cal yet
* sfusion: BMI270: added CRT and gyro zx factor. should be functionally equivalent to the old driver
* Added lsm6dsv
* Trying to work around esp32c3 compilation problem, not liking that solution
* sfusion: fix problems found after rebase
* Update README.md
* Bump Arduino core to 3.0 to match GCC12
* Remove fast pin swapping that is no longer compatible with arduino core v3
* Bring back fast pin swapping
* Update platformio-tools.ini
* Fix accel timescale (calibration no longer takes forever)
* Fix non-sfusion sensors
* Added LSM6DSO and DSR support and refactored DSV support
* Removed template float param from the implementation
* sfusion: port MPU6050 driver wip, not expecting to be functional yet
* sfusion: add headers specifying main code owners
* connection: fix warning
* update README.md
* fshelper: fixed ESP8266 regression caused by abstracting FS access
* sfusion: fix error on merge
* bno080: differentiate bno080, bno085, bno086 again
* sfusion: final touches
* restore hadData functionality, implementing it in every sensor, made configured flag bno-only
* fix address supplement in non-sfusion sensors, do i2c bus reset for all sensors
* sfusion: make MPU6050 driver use normal MPU6050 ImuID, change eatSamplesAndReturn function to take ms instead of seconds
* sfusion: hotfix, don't apply sensorOffset, it's applied in sensor base
* Log FIFO overruns on LSMs
* Reset the soft watchdog while eating or collecting calibration samples
Resolves an issue where the soft watchdog would trigger.
* Fix missing word in comment, switch to constexpr
* Update esp32/esp8266
---------
Co-authored-by: Gorbit99 <gorbitgames@gmail.com>
Co-authored-by: nekomona <nekomona@nekomona.com>
Co-authored-by: nekomona <nekomona@163.com>
Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com>
Co-authored-by: kounocom <meia@kouno.xyz>
Co-authored-by: Kubuxu <oss@kubuxu.com>
* Add Haritora to consts (#333)
Add haritora consts, fix misspelling
* dont double scan i2c address on bus for ESP32C6
* add custom portmap for ESP32C6
* update to latest tasmota tools for ESP32C6
* serial over USB
* remove change that does nothing
* remove 2s wait in main.cpp it´s not required
* make it change neutral
* more change neutrality
---------
Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com>
Co-authored-by: Przemyslaw Romaniak <przemyslaw.romaniak@intel.com>
Co-authored-by: Meia Kouno <71262281+kounocom@users.noreply.github.com>
Co-authored-by: Fredrik Hatletvedt <32248439+Pespiri@users.noreply.github.com>
Co-authored-by: Przemyslaw Romaniak <loudpl@gmail.com>
Co-authored-by: Gorbit99 <gorbitgames@gmail.com>
Co-authored-by: nekomona <nekomona@nekomona.com>
Co-authored-by: nekomona <nekomona@163.com>
Co-authored-by: kounocom <meia@kouno.xyz>
Co-authored-by: Kubuxu <oss@kubuxu.com>
Co-authored-by: JovannMC <jovannmc@femboyfurry.net>
Co-authored-by: Eiren Rain <Eirenliel@users.noreply.github.com>
* Update readme to mention BMI270 support.
* Soft fusion sensor initial code, wip
* Soft fusion ICM-42688-P lazy WIP implementation.
* sfusion: Cleanup, implemented sensor frequency calibration
* icm42688: add more comments, basic driver (no hw filtering) should be working
* sfustion: compilation fix
* sfusion: start calibration when upside down
* cleanup: remove confusing had data flag
* sensor manager: use unique_ptr instead of raw pointers
* sfusion: big refactoring wip
* sfusion: make aux work, at least sfusion sensors should now be functional
* sfusion: lightweight implementation of BMI270 sensor, no sensitivity cal yet
* sfusion: BMI270: added CRT and gyro zx factor. should be functionally equivalent to the old driver
* Added lsm6dsv
* Trying to work around esp32c3 compilation problem, not liking that solution
* sfusion: fix problems found after rebase
* Update README.md
* Bump Arduino core to 3.0 to match GCC12
* Remove fast pin swapping that is no longer compatible with arduino core v3
* Bring back fast pin swapping
* Update platformio-tools.ini
* Fix accel timescale (calibration no longer takes forever)
* Fix non-sfusion sensors
* Added LSM6DSO and DSR support and refactored DSV support
* Removed template float param from the implementation
* sfusion: port MPU6050 driver wip, not expecting to be functional yet
* sfusion: add headers specifying main code owners
* connection: fix warning
* update README.md
* fshelper: fixed ESP8266 regression caused by abstracting FS access
* sfusion: fix error on merge
* bno080: differentiate bno080, bno085, bno086 again
* sfusion: final touches
* restore hadData functionality, implementing it in every sensor, made configured flag bno-only
* fix address supplement in non-sfusion sensors, do i2c bus reset for all sensors
* sfusion: make MPU6050 driver use normal MPU6050 ImuID, change eatSamplesAndReturn function to take ms instead of seconds
* sfusion: hotfix, don't apply sensorOffset, it's applied in sensor base
* Log FIFO overruns on LSMs
* Reset the soft watchdog while eating or collecting calibration samples
Resolves an issue where the soft watchdog would trigger.
* Fix missing word in comment, switch to constexpr
* Update esp32/esp8266
---------
Co-authored-by: Gorbit99 <gorbitgames@gmail.com>
Co-authored-by: nekomona <nekomona@nekomona.com>
Co-authored-by: nekomona <nekomona@163.com>
Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com>
Co-authored-by: kounocom <meia@kouno.xyz>
Co-authored-by: Kubuxu <oss@kubuxu.com>
-Added defines
-Moved led operations to ledmgr
-Added option to disable LEDS
VCC monitor support:
-Added VCC monitor, not compatible with using internal ADC
-Every ESP has a slight offset to the actual voltage, but relative voltage is stable and usable
-Preliminary configuration will warn low battery at 3.2V and shut down at 3.1V
Added support for network ping, added support for sending raw mag data
Updated Mahony fusion
Cleanup debug
Added support for new accel+gyro calibration (not used yet)