Monado OpenXR Runtime
Loading...
Searching...
No Matches
pssense_led_model.h File Reference

PlayStation Sense controller LED models. More...

Include dependency graph for pssense_led_model.h:

Go to the source code of this file.

Variables

static const float LED_RADIUS_M = 0.004f
 
static const float LED_VISIBILITY_ANGLE = DEG_TO_RAD(90)
 
const float pssense_imu_angle = DEG_TO_RAD(50.27f)
 Rotation on X axis from LED -> IMU.
 
static struct xrt_vec3 T_led_imu_left
 The offset from the LED origin -> IMU origin, for the left controller.
 
static struct xrt_vec3 T_led_imu_right
 The offset from the LED origin -> IMU origin, for the right controller.
 
static struct t_constellation_tracker_led pssense_left_leds []
 
static struct t_constellation_tracker_led pssense_right_leds []
 

Detailed Description

PlayStation Sense controller LED models.

Data extracted from Sony's PC driver.

Author
Beyley Cardellio ep1cm.nosp@m.1n10.nosp@m.n123@.nosp@m.gmai.nosp@m.l.com

Variable Documentation

◆ pssense_imu_angle

const float pssense_imu_angle = DEG_TO_RAD(50.27f)

Rotation on X axis from LED -> IMU.

Referenced by pssense_create().

◆ T_led_imu_left

struct xrt_vec3 T_led_imu_left
static
Initial value:
= {
.x = 0.0093727f,
.y = -0.0122481f,
.z = -0.0060039f,
}

The offset from the LED origin -> IMU origin, for the left controller.

Referenced by pssense_create().

◆ T_led_imu_right

struct xrt_vec3 T_led_imu_right
static
Initial value:
= {
.x = -0.0200727f,
.y = -0.0122481f,
.z = -0.0060039f,
}

The offset from the LED origin -> IMU origin, for the right controller.

Referenced by pssense_create().