Protocol refactoring #502

Closed
opened 2026-04-05 17:53:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Eirenliel on 8/10/2021

Code and protocol refactoring

  • Replace doubles with floats in math: double precision is not used in sensor readings, we can save CPU cycles and memory, and able to use more things without casting
  • BNO now sends data to the server with new PACKET_ROTATION_DATA that supports different data types, data accuracy information, and more than 2 sensors
  • BNO now can use magnetometer if flag is set, or can separately send magnetometer data as DATA_CORRECTION that server can use however it wishes
  • BNO now sends tap data (it's not used by server and seem to be very unreliable, 95% of taps are ignored by it (need higher report rate?))
  • Fixed handshake
*Originally created by @Eirenliel on 8/10/2021* Code and protocol refactoring * Replace doubles with floats in math: double precision is not used in sensor readings, we can save CPU cycles and memory, and able to use more things without casting * BNO now sends data to the server with new PACKET_ROTATION_DATA that supports different data types, data accuracy information, and more than 2 sensors * BNO now can use magnetometer if flag is set, or can separately send magnetometer data as DATA_CORRECTION that server can use however it wishes * BNO now sends tap data (it's not used by server and seem to be very unreliable, 95% of taps are ignored by it (need higher report rate?)) * Fixed handshake
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#502