If another tracker is trying to find the server, they will send the
handshake packet to the whole network, which prevents us from realising
if the connection to server has timed out.
fix no broadcast after disconnect After a disconnect the trackers did not send a broadcast to discover the server but did directly try to send it to the server. So if for some reason the server did change its ip address the tracker had to be rebooted.
* 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>
* Fix some bugs with wifi rework
* FormattingÅ
* Surprised nothing stopped me from doing that but here we are
* Move comments to their proper place
* Thanks clang for autoimporting that, I'd appreciate if you didn't
* Formatting
* Cleanup scanI2C library
* Fixed formatting issues
* First round of changes based on feedback
* Fixed a fat fingered mistake
* Actually fix the formatting issues
* Send vendor information on handshake
Embed vendor information into build parameters & defines so SlimeVR vendors can maintain their own firmware updates without adding new boards
Bump protocol version to 21
* Fix build flags quotes
* Report in GET TEST if magnetometer is not found
* Remove vendor flags from platformio.ini
* Fix 0 byte string sending and check for lengths
* Formatting
* Make sure the size assert actually works
* Formatting
* Update src/globals.h
Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com>
* Log vendor information
* Formatting
---------
Co-authored-by: gorbit99 <gorbitgames@gmail.com>
Co-authored-by: unlogisch04 <98281608+unlogisch04@users.noreply.github.com>
* Make SPI work
Move sensor building logic to a separate class and file
Don't use templates for RegisterInterface/I2CImpl/SPIImpl
This started getting ridiculous, now we can actually maintain it.
Make BNO085 work again
Add BNO to automatic detection, remove a bunch of others
Not all IMU types are enabled right now due to code size optimization, but it could be expanded in the future with optimization of Softfusion.
Pick IMU type automatically by asking it
* ESP32 spelling fix (#396)
Fix: ES32 -> ESP32
* (Probably) multiply acceleration by tracker rotation offset
* Remove stome stuff from softfusionsensor
* Missed stuff
* Undo defines changes
* Undo debug.h changes
* Uses32BitSensorData is unneccessary now
* Remove some unnecessary variables
* Cleanup some logging text
* Formatting
* Split SensorBuilder into a header-source file pair
* Fix copyright
* Fix some issues with glove after all the changes
Add definitions for SlimeVR v1.2
Fix typo and add comments to quaternion sandwich function
* Add NO_WIRE definition for SPI devices
* Fix formatting
* Minor fix
* If ICM-45686 not found, ask again nicely
* Fix MCP interface not building
* Remove uneccessary "default" ctor from SPIImpl
* Remove buildSensorReal
* Invert if statement in sensorbuilder+
* Fix formatting
* If ICM-45686 not found, ask again nicely
* Fix MCP interface not building
* Fix formatting
* Various cleanup
* Formattign
* Fix detected logic
* Remove unnecessary Self using
* For some reason this fixes memory corruption issues
* Formatting
* This actually works this time
* Small cleanup
* Remove some unused includes
* Formatting
* Mag support (Attempt 2) (#458)
* WhoAmI check working
* In theory this should be setting up the mag
* Not sure how that happened
* Add magnetometer status to GET TEST and GET INFO
* Formatting
* Formatting 2
---------
Co-authored-by: Eiren Rain <Eirenliel@users.noreply.github.com>
Co-authored-by: Butterscotch! <bscotchvanilla@gmail.com>
* fix debugbuild
* make all esp32 define the same
only check if ESP32 is defined. The value changed from "1" to "ESP32" in pioarduino and tasmota in newer versions.
* 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