Commit Graph

44 Commits

Author SHA1 Message Date
Uriel
0b882db74f Enforce clang-format on the repo (#355)
* Enforce clang-format on the repo

* improve CI config

* fix build error

* undo src format

* apply format by hand

* fix last one

* fix build error

* wat
2024-11-08 19:23:18 +02:00
Uriel
a9f5b1ae8c Add a way to toggle magnetometer in runtime (#341)
* Untested magnetometer toggle feature for BNO08X and overal packet structure for setting flags from the server

* Some build fixes

* refactor(configuration): rename `CalibrationConfig` to `SensorConfig`

* fix network package order

* typo found

* ignore clion files

* finish feature

* remove ota config that i used

* C skill issue on defines

* i have personal issues with C

* do a reset before

* reinit sensor

* Fix remaining merge errors

* remove BNO_USE_MAGNETOMETER_CORRECTION

* Update src/sensors/sensor.h

Co-authored-by: Lena <25586367+Vyolex@users.noreply.github.com>

* who loves tabs

* send sensorconfig instead of magdata on sensorinfo

* Bump protocol and firmware version

---------

Co-authored-by: Eiren Rain <eirenliel@users.noreply.github.com>
Co-authored-by: DevMiner <devminer@devminer.xyz>
Co-authored-by: Lena <25586367+Vyolex@users.noreply.github.com>
2024-10-30 20:23:49 +02:00
DevMiner
b278bcfcf4 chore: clarify protocol version (#350)
* chore: clarify protocol version

* Pull the bandaid on the test return

---------

Co-authored-by: Eiren Rain <Eirenliel@users.noreply.github.com>
2024-10-30 19:46:40 +02:00
Eiren Rain
b744c53676 Bump version to 0.4.0 2023-11-08 17:57:51 +01:00
Eiren Rain
8a00376200 Add compliance mode to limit trasmitter power to FCC certified values 2023-11-08 17:57:41 +01:00
0forks
df75889696 Implement packet bundling and add feature flags packet (#263) 2023-07-30 17:36:58 +03:00
Eiren Rain
45ccee8f33 Bump version to 0.3.3 2023-04-08 22:42:38 +02:00
Eiren Rain
db525088bd Bump version to 0.3.2 (15) 2023-01-22 18:32:17 +02:00
Eiren Rain
6b09865262 Multiple debugging updates to serial interface (#217) 2023-01-06 23:29:41 +03:00
Eiren Rain
92ded06b5b Added GET TEST command (#213) 2022-12-25 20:54:55 +02:00
Eiren Rain
83550d21ef Bump version to 0.3.0 (13) 2022-11-11 22:45:05 +03:00
ThreadOfFate
093d99acea Refactored ICM20948 and improved rotation data. (#208) 2022-11-11 22:42:58 +03:00
Externet
3fa60cc735 Fix BNO055 not working at all (#205) 2022-10-27 16:22:59 +03:00
Collin Kees
1e39fb4adf Send acceleration data (#184) 2022-09-13 03:17:52 +03:00
Eiren Rain
b8bd02e60d Version bump to 0.2.3 2022-08-22 22:09:04 +02:00
Eiren Rain
19f5680f0a Update to 0.2.2 2022-06-28 21:21:00 +02:00
Yury
37d95bf749 Refactor BNO08x conditions (#166) 2022-06-28 20:11:37 +03:00
Eiren Rain
d6137c2816 Update version to 0.2.1 (11) 2022-06-28 19:00:31 +02:00
unlogisch04
6783d01608 Move LED define to global + defines to fix TTGO compile (#140) 2022-04-15 15:54:16 +03:00
TheDevMinerTV
600b679a74 Fix various issues (#144)
* Add debug flag for configuration

* Fix debug logging in ICM-20948

* Fix build for trace builds

* Add `Sensor#postSetup()`

This is done to prevent IMU timeouts when WiFi takes longer than a second to connect.

* Filter out FIFOMoreDataAvailable in logging for ICM-20948
2022-04-04 16:05:39 +03:00
unlogisch04
6396e92001 Split the Debug to silence repetive Network Messages 2022-03-30 22:08:24 +02:00
Eiren Rain
7627a4daf1 Define new pinout for new version of SlimeVR boards, fix LED being inverted 2022-03-26 21:22:08 +02:00
Eiren Rain
efc20aac6e Merge branch 'main' into refactor/ledmanager 2022-03-21 17:48:54 +02:00
TheDevMinerTV
e6dc2a8288 Refactor LEDManager and factor out StatusManager 2022-03-21 16:47:15 +01:00
Eiren Rain
cd5b5abf05 Merge pull request #125 from TheButlah/patch-1
Fix sporadic data pauses from POWER_SAVING_MINIMUM
2022-03-21 15:42:35 +02:00
TheDevMinerTV
84c2b4e0dd Rewrite the SensorFactory 2022-03-13 16:22:23 +01:00
Ryan Butler
8abba33dd8 Fix sporadic data pauses from POWER_SAVING_MINIMUM
From discord: https://discord.com/channels/817184208525983775/878727840118505533/952135552323444757
2022-03-12 04:36:59 -05:00
Eiren Rain
ed19a29ff7 Bump version to 0.2.1 2022-03-07 18:41:06 +02:00
TheDevMinerTV
e2e6f8c85e Implement new packet type
This packet type is used to implement a simple raw data capturing agent.
2022-03-06 12:00:19 +01:00
TheDevMinerTV
86060a7757 Implement logger 2022-02-27 15:50:51 +01:00
Butterscotch!
a7a9e30354 Fix spelling mistakes 2022-02-09 05:08:36 -05:00
unlogisch04
04fec34e86 ICM 20948 fixes/cleanup
Cleaner Monitor Output
do not scan i2c full scall 2 times (sensorfactory)
Moving Debug switch to debug.h
Default ODR to 1.25 (100Hz)
Add While Loop like BNO
lastData fixed
2022-02-09 02:49:55 +01:00
Eiren Rain
8d6bc7c671 Fix ICM class fields, disable sending unconnected data 2022-02-05 17:48:03 +02:00
Eiren Rain
2e88f06aae Merge branch 'main' of https://github.com/ThreadOfFate/SlimeVR-Tracker-ESP-ICM20948 into ThreadOfFate-main
# Conflicts:
#	src/consts.h
#	src/defines.h
#	src/main.cpp
#	src/sensor.h
2022-02-02 19:07:54 +02:00
Yury
baf423ffb3 Use float literal instead of type casting for BATTERY_LOW_POWER_VOLTAGE 2022-01-31 16:18:02 +03:00
Eiren Rain
9335ed1d81 Firmware refactoring
Cleanup defines, move sensors to separate folder and headers, cleanup includes, cleanup connection sequence (WIP)
2022-01-09 12:12:34 +02:00
Levi Gillis
b716cfaa61 Hotfix for POWER_SAVING_NONE not actually having intended effect (still sleeping unlike old config) 2022-01-01 10:23:17 +01:00
Levi Gillis
ee3ec61d4a Added Power saving options 2021-12-28 10:51:06 +01:00
Eiren Rain
bb26bddd80 Refactor battery monitoring, fix merge conflicts 2021-12-18 21:05:04 +02:00
Vyolex
c7ea94297a Refactoring:
- Fixed typos
- Standardised header guards
2021-12-04 12:29:54 +01:00
Eiren Rain
fddbef4a24 Include sensor id to reset packet, enable optimized updates by default 2021-10-21 00:46:34 +03:00
Eiren Rain
491056749f Added new feature to send less network updates when there is less movement or no movement detected 2021-10-20 04:13:37 +03:00
Eiren Rain
85a0f5581f Don't start smart config if wifi was connected and interrupted 2021-10-13 16:41:18 +03:00
Eiren Rain
f85f15fd61 Clean up defines 2021-09-14 12:24:29 +03:00