librepods-org / librepods-org/librepods
Can angular velocity be obtained from head tracking data?
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 29.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hello, in the head tracking data, the 43rd to 48th bytes represent the Euler angle, in radians, right? Can the corresponding angular velocity (in radians/s) be calculated? I want to get the Custom Value 1 and Custom Value 2 from this website
https://source.android.com/docs/core/interaction/sensors/head-tracker-hid-protocol#data-field-custom-value-2, can I get them? For example, in the head tracking data below, what are the corresponding angles [rx, ry, rz] and angular velocities [vx, vy, vz]?
0x 04 00 04 00 17 00 00 00 10 00 44 00 08 0f 10 01 3a 3e 08 0e 1a 3a 01 10 9a c3 6a 0e 00 00 00 03 04 83 bc 25 f0 04 00 00 00 00 72 92 5c f2 95 e2 14 00 26 01 5f ff 38 00 04 e2 50 f2 e6 ff 15 00 24 00 22 fe ef 02 09 02 72 39 4e 3a 61 00 00 00
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue links the Android head-tracker HID protocol and provides a sample packet; start by locating the repository's head-tracking packet parser and comparing its byte offsets with the protocol fields. Verify whether Euler angles, angular velocity, and Custom Values 1 and 2 can be decoded, then document or expose the confirmed values with a test using the sample data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- reverse-engineering
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100