Jarvis Huang
84efd4d6fb
a/android: Add ActivityLifecycleListener class
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 10:30:18 -05:00
Rylie Pavlik
449016be51
xrt: Add missing doc comments.
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 10:30:18 -05:00
Jarvis Huang
30c067db7f
xrt: Add XRT_ERROR_ANDROID
...
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 10:30:18 -05:00
Rylie Pavlik
77bdc1a80e
xrt: Add Android-specific features to xrt_instance.
...
Describe Android lifecycle callbacks
Co-authored-By: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 10:30:18 -05:00
Rylie Pavlik
78717c2c38
xrt: Add xrt_android header with info about Android lifecycle callbacks
...
Co-authored-By: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 09:06:36 -05:00
Rylie Pavlik
8cf94c20a9
aux/android: Add lifecycle callback container.
...
Co-Authored-By: Jarvis Huang <quic_jarvhuan@quicinc.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 09:06:36 -05:00
Jarvis Huang
31ee231f20
ipc/client: Get Java fields out of instance info.
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 09:06:36 -05:00
Jarvis Huang
83bea591f1
st/oxr: Populate xrt_platform_info on Android
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 09:06:36 -05:00
Jarvis Huang
5ede35c71d
xrt: Add xrt_platform_info
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-22 09:06:36 -05:00
Rylie Pavlik
24117123f5
ipc: Constify
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-21 11:20:09 -05:00
Jarvis Huang
a86db1307d
xrt: Add xrt_application_info
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-21 11:20:09 -05:00
Rylie Pavlik
31947810ec
scripts: Do not try to format Gradle-generated files
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655 >
2024-08-21 11:20:09 -05:00
Rylie Pavlik
ec6e9c8b7f
ipc/android: Be sure to catch destructor exceptions, if any.
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2308 >
2024-08-21 10:58:26 -05:00
Rylie Pavlik
8a7415eaea
ipc: Improve android
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2308 >
2024-08-21 10:57:45 -05:00
Jarvis Huang
9e46d56c03
st/oxr,a/android,ipc/android: Move Android looper trick into the IPC client.
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2308 >
2024-08-21 10:57:37 -05:00
Arnav Singh
2685fb1dc6
aux/os/ble_dbus: Don't require power management characteristic to be notifiable.
...
At least the SteamVR 2.0 lighthouses have a power management characteristic
that does not have the "notify" flag, only "write". So before this change,
the command would not find any valid characteristics to write to and be
a no-op. The power management code path does not require it to be notifiable
in the first place, so this change just ignores that flag.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2269 >
2024-08-19 13:12:41 +00:00
Rylie Pavlik
bdd61330f7
doc: Document !2272
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:34:41 -05:00
Simon Zeni
4da8066140
st/prober: use RS_SOURCE_INDEX only if XRT_HAVE_OPENCV and XRT_BUILD_DRIVER_REALSENSE are defined
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
6f32def5f9
tests: fix warnings in tests_id_ringbuffer.cpp
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
7cbcf92c3b
aux/ogl: always return false in ogl_import_from_native for AHardwareBuffer
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
967847c742
d/*: fix format modifiers for 32 bits
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
39535666a4
xrt: add inttypes.h to xrt_compiler.h
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
6847183cb2
st/prober: fix format modifier in print_system_devices
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
128f20df7c
aux/vk: fix vulkan handle type format modifier
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:36 -05:00
Simon Zeni
66a5b36bd5
ci: add more dependencies to install-cross.sh, and bump CI image
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:31:28 -05:00
Simon Zeni
748d6bc5e7
aux/vk: properly handle vulkan handle type in vk_name_object
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:30:26 -05:00
Simon Zeni
641e456736
aux/vk: fix VK_ERROR_UNKNOWN warning from vk_result_string
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:30:25 -05:00
Simon Zeni
ee7ed5d395
aux/util: remove ignore warning diagnostics in u_trace_marker.h
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272 >
2024-08-16 17:30:25 -05:00
Rylie Pavlik
5375d366cb
a/android: Fix warnings
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2307 >
2024-08-15 15:45:47 -05:00
Rylie Pavlik
da5d1c05b1
d/android: Fix warnings
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2307 >
2024-08-15 11:46:56 -05:00
Jan Schmidt
ecaab0f63e
d/wmr: Fix controller status report waiting
...
For Reverb G2 and Odyssey, check if controller status reports
were already seen before proceeding to wait, or the driver
might not get woken again.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
34377371ba
a/math: Introduce minimum skew clock tracker.
...
Add m_clock_windowed_skew_tracker that uses a windowed
minimum skew tracker with exponential smoothing to
do more accurate remote to local clock offset estimation.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
8a535d0a87
a/tracking: add t_camera_models_undistort()
...
Add a method to convert distorted image points to
undistorted homogeneous points like cv::undistortPoints()
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
ed67c9c95b
a/tracking: Make t_camera_models usable from C
...
Remove C++-isms in the t_camera_models.h header and wrap it
in conditional extern "C" markers.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
5098695a1a
a/math: Add math_quat_decompose_swing_twist()
...
Decomposes a quaternion into two orthogonal rotations that
consist of the swing perpendicular to an axis and the
rotation (twist) around that axis.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
1bfd5ed0cd
a/math: Add m_vec3_inverse()
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
ab5b21de8e
a/math: Add math_quat_dot()
...
Add a function to compute the dot product of 2 quaternions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
36eaad6419
a/math: Add math_quat_from_vec_a_to_vec_b()
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
4555f5e7f9
aux/gst: Support odd I420/GRAY8 frame widths and heights
...
Add padding for odd width/height I420 and GRAY8 video frames
using videobox, and add warnings for corner cases where that
won't work.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
eb4d2cd922
u/sink: Make sink_queue drop the oldest frame when full
...
Instead of discarding the incoming frame when the queue is
at capacity, drop the oldest frame possible. I can't
think of a situation where it would be better to work on
stale data in preference to fresh data. If there is, we
can easily add a flag to choose behaviour.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
8b0f9e228b
a/math: Fix description typo in m_imu_pre_filter_part
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
Jan Schmidt
32e496ab90
u/sink: Fix description of u_sink_simple_queue
...
Update the comment describing the u_sink_simple_queue to
explain that it buffers a single frame to a new thread,
replacing it as new frames come in if it hasn't been consumed
yet.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188 >
2024-08-13 15:08:15 +00:00
galister
30ae628b83
st/oxr: fix XrFacialTrackerHTC validation
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2306 >
2024-08-13 01:19:41 +09:00
galister
2d3978b1b0
doc: Document !2299
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2299 >
2024-08-12 15:02:59 +00:00
galister
dfe503ad52
xrt: add support for FB_face_tracking2 xrt-devices
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2299 >
2024-08-12 15:02:59 +00:00
Jarett Millard
21d5991fa5
d/pssense: Use IMU timestamp for fusion and read battery state
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2301 >
2024-08-08 21:51:38 -04:00
Jarett Millard
cbc7124bb2
d/pssense: Fix parsing of calibration data and check CRC
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2301 >
2024-08-08 21:51:38 -04:00
Korcan Hussein
c29fea16d8
st/oxr: fix bug when XR_KHR_composition_layer_depth is disabled
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2304 >
2024-08-08 15:00:09 +01:00
Fernando Velazquez Innella
ea262a539c
doc: Document !2302
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2302 >
2024-08-06 10:55:46 -04:00
Fernando Velazquez Innella
a1ca69e0f5
a/ogl: Add Win32 handle import
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2302 >
2024-08-06 10:46:20 -04:00