|
Monado OpenXR Runtime
|

Data Fields | ||
| uint8_t | phase | |
| uint8_t | sequence_number | |
| The sequence number of the packet changing determines when the settings are read. | ||
| uint8_t | period_id | |
| The blink length, in subgrids, or 50us. | ||
| union { | ||
| __le32 cycle_position_absolute | ||
| The position when to start the blink, in IMU ticks, NS_TO_IMU_TICKS. More... | ||
| __le32 cycle_position_delta | ||
| An offset from the current cycle position, in IMU ticks, NS_TO_IMU_TICKS. More... | ||
| }; | ||
| __le32 | cycle_length | |
| The length, in thirds of a nanosecond. | ||
| uint8_t | led_blink [4] | |
| Four slots which hold LED IDs (1-indexed) that can be used to blink those LEDs at a different pattern than normal, with the pattern depending on the sync phase. | ||
| __le32 pssense_led_settings::cycle_length |
The length, in thirds of a nanosecond.
| __le32 pssense_led_settings::cycle_position_absolute |
The position when to start the blink, in IMU ticks, NS_TO_IMU_TICKS.
This is used during the PRESCAN phase, pssense_led_sync_phase.
| __le32 pssense_led_settings::cycle_position_delta |
An offset from the current cycle position, in IMU ticks, NS_TO_IMU_TICKS.
This is used during the BROAD, BG, and STABLE phases, pssense_led_sync_phase.
| uint8_t pssense_led_settings::led_blink[4] |
Four slots which hold LED IDs (1-indexed) that can be used to blink those LEDs at a different pattern than normal, with the pattern depending on the sync phase.
0xFF means slot unused.
Referenced by pssense_create().
| uint8_t pssense_led_settings::period_id |
The blink length, in subgrids, or 50us.
| uint8_t pssense_led_settings::sequence_number |
The sequence number of the packet changing determines when the settings are read.