Repository navigation
Gyroscope Variables
DMJC edited this page Oct 14, 2024
·
58 revisions
These values are populated by sending interrupt requests to interface 8 on the headset. The headset returns a hex string which is then broken up into an array. The array can vary in length 131, 155, 203, 227, 683, 1019, the most common length is 155. Longer values than 203 seem to have 0s and no data in them. Values seem to be 16-bit unsigned Integers. from -9000 to +9000.
| Location | Values/Range | Description | Purpose/Notes |
|---|---|---|---|
| 0 | 0 or 1 (1 is on) | Video In | Tracks if the headset is Receiving Video Input |
| 1 | 0 or 1 (1 is on) | Head | Tracks if the headset is on your Head or not |
| 2 | 0 or 1 (1 is on) | Button | Tracks if the headset button is pressed |
| Location | Values/Range | Description | Purpose/Notes |
|---|---|---|---|
| 32-33 | Unknown | Test | |
| 34-35 | -9000 - +9000 | Timer Value | Increments every 0.1 seconds |
| 36-37 | -9000 - +9000 | Pitch Up/Down | Up is Positive Down is Negative |
| 38-39 | -9000 - +9000 | Roll Left/Right | Left is Negative, Right is positive. |
| 40-41 | -9000 - +9000 | Upright/Upside Down | Forward is 9000, Up/Down are 0, Upside Down is -9000 |
| Acceleration Values | |||
| 42-43 | -9000 - +9000 | Accel Roll | Left is -ve Right is +ve, Measures speed of change |
| 44-45 | -9000 - +9000 | Accel Pitch | Up is -ve down is +ve, Measures speed of change. |
| 46-47 | -9000 - +9000 | Accel Left/Right | Left is +ve Right is -ve Measures speed of change |
| 48-49 | -9000 - +9000 | Timer Value | Increments every 0.01 seconds |
| 50-51 | ~200 - ~2000 | Unknown | Seems to be a randomly rapidly changing Value, need to investigate. |
| 52-53 | -32767 - +32767 | Rapidly Changing Value | Likely tracks a state |
| 54-55 | 0 or 1 | Rapidly switching between 1 and 0 | Likely tracks a state |
| 56-57 | -32767 - +32767 | Random Value | |
| 58-59 | -32767 - +32767 | Counter Value | Increments every 0.1 seconds |
| 60-61 | -9000 - +9000 | Pitch Up/Down | Up in any direction is positive, straight up is 9000, down in any direction is negative |
| 62-63 | -9000 - +9000 | Roll Left/Right | Roll Left/Right in any direction, left -9000, right +9000, up is 0 down is 0. |
| 64-65 | -9000 - +9000 | Headset Upright | Negative when you look up further than 90 degrees or look down and behind. 9000 when straight in any direction. |
| 66-67 | -9000 - +9000 | Accel Roll | Tracks acceleration of Roll Left/Right in any Direction. |
| 68-69 | -9000 - +9000 | Accel Pitch | Tracks Acceleration of Pitch Change |
| 70-71 | -9000 - +9000 | Accel Yaw Left/Right | Tracks Acceleration of Yaw Left/Right |
| 72-73 | +32767 - -32767 | Timer Value | Decrements at 0.01 Seconds |
| 74-75 | +32767 - -32767 | Rapid Numbers | Seems to be a randomly rapidly changing Value, need to investigate. (might be part of 72-73) |
| 76-77 | +32767 - -32767 | Rapid Numbers | Seems to be a randomly rapidly changing Value, need to investigate. (might be part of 74-75) |
| 78-79 | 0 or 1 | Rapidly switching between 1 and 0 | Likely tracks a state |
| 80-81 | +32767 - -32767 | Rapid Numbers | Unknown |
| 82-83 | +32767 - -32767 | Rapid Numbers | Unknown |
| 84-85 | -9000 - +9000 | Pitch Up/Down | Down is -9000 Up is 9000 straight in any direction is 0 |
| 86-87 | -9000 - +9000 | Roll Left/Right | Left is -9000 right is +9000 straight in any direction is 0 |
| 88-89 | -9000 - +9000 Orientation | Roll Left is Zero, Roll Right is Zero, Look Up is Zero, Look Down is Zero, Straight in any direction is 9000 | |
| 90-91 | Roll Accel | Measures Roll Left/Roll Right Acceleration. | |
| 92-93 | Pitch Accel | Measures Up/Down Pitch Acceleration. | |
| 94-95 | Yaw Accel | Measures Left/Right Turn Acceleration. | |
| 96-97 | Unknown | Test | |
| 98-99 | Unknown | Test | |
| 100-101 | Unknown | Test | |
| 102-103 | Unknown | Test | |
| 104-105 | Unknown | Test | |
| 106-107 | Unknown | Test | |
| 108-109 | Pitch Value | Test | |
| 110-111 | Roll Value | Test | |
| 112-113 | Roll Value | Test | |
| 114-115 | Accel Value | Test | |
| 116-117 | Accel Value | Test | |
| 118-119 | Accel Value | Test | |
| 120-121 | Incrementer | Test | |
| 122-123 | Unknown | Test | |
| 124-125 | Unknown | Test | |
| 126-127 | Unknown | Test | |
| 128-129 | Unknown | Test |