Commit Graph

7 Commits

Author SHA1 Message Date
Przemyslaw Romaniak
ea00bebedd 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>
2024-06-25 13:57:18 +03:00
Fredrik Hatletvedt
83b075b804 add macro for calculating radians (#317)
* feat: add macro for calculating radians

* style: silence unused variable warning

* remove unnecessary float cast in macro
2024-06-20 02:35:00 +03:00
0forks
71120ac0a8 Fix OPTIMIZE_UPDATES logic for acceleration (#269) 2023-09-18 17:08:03 +03:00
0forks
67fa110a95 Allow more than 1 server flags packet per connection (#271)
Allow more than 1 features packet per connection
2023-08-02 21:39:11 +03:00
0forks
df75889696 Implement packet bundling and add feature flags packet (#263) 2023-07-30 17:36:58 +03:00
nekomona
228a2dda2d Add Per-Sensor Descriptor and Support Multiple IMUs (#249)
Co-authored-by: Yoyobuae <supersayoyin@gmail.com>
Co-authored-by: DevMiner <tobigames200@gmail.com>
Co-authored-by: Eiren Rain <Eirenliel@users.noreply.github.com>
2023-07-28 19:46:22 +03:00
DevMiner
ed74944551 Rewrite Network and UdpClient into a classes (#256) 2023-07-14 21:21:23 +03:00