You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This callback function is the heart of the UWB functionality:
594
594
595
595
- It's triggered whenever new ranging data is received from the UWB subsystem.
596
-
- It checks if the measurement type is Two-Way Ranging (TWR).
596
+
- It checks if the measurement type is *Two-Way Ranging (TWR)*.
597
597
- It validates the measurement (`status = 0` indicates a valid measurement, while `distance = 0xFFFF` is a reserved value indicating an invalid distance).
598
598
- It extracts the distance measurements in millimeters and prints them to the IDE's Serial Monitor.
0 commit comments