Monado OpenXR Runtime
Loading...
Searching...
No Matches
pssense_led_settings Struct Reference
Collaboration diagram for pssense_led_settings:

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.
 

Field Documentation

◆ cycle_length

__le32 pssense_led_settings::cycle_length

The length, in thirds of a nanosecond.

◆ cycle_position_absolute

__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.

◆ cycle_position_delta

__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.

◆ led_blink

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().

◆ period_id

uint8_t pssense_led_settings::period_id

The blink length, in subgrids, or 50us.

◆ sequence_number

uint8_t pssense_led_settings::sequence_number

The sequence number of the packet changing determines when the settings are read.


The documentation for this struct was generated from the following file: