Jakob Bornecrantz
0fc4cdcd0f
st/gui: Get the number of samples in a fifo for graph
2020-09-16 17:27:16 +01:00
Jakob Bornecrantz
6a94b1cf80
m/ff: Improve interface
2020-09-16 17:27:16 +01:00
Bart Ribbers
71f912ffc5
Fix compilation on Musl
...
Without this fix, compilation failed on Musl due to ssize_t being an
unknown type
In file included from ../src/xrt/state_trackers/prober/p_prober.c:15:
../src/xrt/state_trackers/prober/p_prober.h:67:2: error: unknown type name 'ssize_t'
67 | ssize_t interface;
| ^~~~~~~
2020-09-16 10:44:06 +02:00
Jakob Bornecrantz
b624d290d0
m/3dof: Add filter fifos to variable tracking code
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
f7ff6c08ed
st/gui: Plot vec3_f32 filter fifos
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
468f72d62f
st/gui: Include ImPlot and Monado-ImGui in gui_imgui header
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
82ea385c6d
imgui: Add igToggleButton function
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
f843c59c37
imgui: Add ImPlot
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
36ea1825bf
imgui: Update to 1.78
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
3ffa40c628
u/var: Refactor how variables info is passed
2020-09-15 16:41:07 +00:00
Jakob Bornecrantz
d5c62f8ccb
u/var: Add tracking for filter fifos
2020-09-15 16:41:07 +00:00
Christoph Haag
17ff908041
d/ns: Set XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT
2020-09-14 16:57:10 +02:00
Christoph Haag
37519dc54d
d/dummy: Set XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT
2020-09-14 16:56:54 +02:00
Christoph Haag
ddf3eb5789
st/oxr: Use space graph in global-to-local space transform
...
This takes care of transforming the velocities.
2020-09-11 19:06:16 +02:00
Christoph Haag
150b7649f3
d/survive: Don't fix up invalid pose
2020-09-11 18:52:01 +02:00
Christoph Haag
a664bb22bf
d/survive: Update to recent libsurvive git
...
Rewrite input event handling and add new events from libsurvive.
2020-09-11 18:52:01 +02:00
Christoph Haag
c3fbe6eaf8
d/survive: remove unused structs
2020-09-11 18:52:01 +02:00
Christoph Haag
357b47522c
d/survive: set relation flags properly
2020-09-11 18:52:01 +02:00
Christoph Haag
f41edee4b4
st/oxr: Use space graph resolve result relation flags instead of pure pose relation
2020-09-11 18:52:01 +02:00
Christoph Haag
19acc7be25
st/oxr: Pass actual ViewStateFlags to application with xrLocateViews
...
These flags are originally set by the driver, then processed by the space graph resolver.
2020-09-11 18:52:01 +02:00
Christoph Haag
2b90b4ea89
st/oxr: Destroy compositor on instance destroy
...
Fixes direct mode on subsequent instance creation in the same process
when no session was created.
2020-09-11 18:52:01 +02:00
Christoph Haag
eb8a304178
ipc: print send and receive errors with ERROR, not DEBUG
...
These errors lead to unexpected output and should be investigated.
2020-09-11 18:52:01 +02:00
Christoph Haag
a884e24b9a
aux: Support waiting more than 0.999... seconds in os_nanosleep
2020-09-11 18:52:01 +02:00
Christoph Haag
6133d4cf99
d/survive: Remove out_relation_timestamp_ns
2020-09-11 18:52:01 +02:00
Christoph Haag
844daee844
st/oxr: Check xrLocateViews quaternion only if orientation valid
2020-09-11 18:52:01 +02:00
Christoph Haag
1429d678a0
aux/space: Propagate orientation valid bit through space graph resolve
...
Invalid poses may be handled more gracefully in the future. For now poses
are not transformed if orientation is not valid, because transforming with
an invalid quaternion will have bad results in any way.
v2: Upgrade poses with valid position but invalid orientation to valid poses
2020-09-11 18:51:58 +02:00
Christoph Haag
6cce04f8d3
aux/space: fix typo: propagate tracked orientation bit properly
2020-09-09 14:51:06 +02:00
Jakob Bornecrantz
8e24dda794
xrt: Remove out_timestamp argument to xrt_device::get_tracked_pose
2020-09-07 23:37:09 +01:00
Jakob Bornecrantz
eaffa05a37
xrt: Remove acceleration components from xrt_space_relation
2020-09-07 23:36:34 +01:00
Jakob Bornecrantz
5a4d45bbaa
m/base: Remove old space relation functions
2020-09-07 23:33:28 +01:00
Jakob Bornecrantz
855b2005f3
c/main: Use new xrt_space_graph
2020-09-07 23:33:28 +01:00
Jakob Bornecrantz
d60cce8977
st/oxr: Use new xrt_space_graph
2020-09-07 23:33:28 +01:00
Jakob Bornecrantz
74690a2278
d/psmv: Rotate angular velocity to be in base space
2020-09-07 23:33:28 +01:00
Jakob Bornecrantz
f9905a4007
d/psmv: Use space graphs for poses
2020-09-07 23:33:28 +01:00
Jakob Bornecrantz
fe94dec5ea
m/space: Space graph functions
2020-09-07 23:33:25 +01:00
Jakob Bornecrantz
ca91695722
m/quat: Add math_quat_rotate_derivative
2020-09-07 16:14:46 +01:00
Jakob Bornecrantz
4d85db6051
xrt: Add xrt_space_graph
2020-09-07 16:14:46 +01:00
Moses Turner
0ff1865c2e
d/ns: Add version 2 config support
2020-09-07 11:35:24 +01:00
Jakob Bornecrantz
ea6374d296
d/dummy: Minor comments
2020-09-06 22:53:10 +01:00
Jakob Bornecrantz
09bcf6c9d2
t/ctl: Fix typo
2020-09-06 21:58:34 +01:00
Jakob Bornecrantz
80fb9b722b
doc/wand: Add a tiny blurb about prober
2020-09-04 16:50:39 +01:00
Jakob Bornecrantz
4f94ee0c91
u/render_timing: Improve debug printing
2020-09-04 13:48:40 +01:00
Christoph Haag
4a1d8b3a41
xrt: Fix vive input defines
2020-09-04 01:46:47 +02:00
Jakob Bornecrantz
787c104339
d/psmv: Use last package timestamp for input changes
2020-09-02 22:08:01 +01:00
Jakob Bornecrantz
328f5d5315
m/base: Add math_quat_invert
2020-09-02 22:07:35 +01:00
Jakob Bornecrantz
511a51b283
m/3dof: Rename to timestamp
2020-09-02 22:07:35 +01:00
Jakob Bornecrantz
8cdfe0e694
m/fifo: Add f64 filter fifo
2020-09-02 22:07:35 +01:00
Jakob Bornecrantz
991c9029c7
m/3dof: Tweak values
2020-09-02 22:07:35 +01:00
Jakob Bornecrantz
736fa81349
m/3dof: Add vars tracking helper function
2020-09-02 22:07:35 +01:00
Jakob Bornecrantz
33f05c7bea
m/vec3: Add C++ operators
2020-09-02 22:07:35 +01:00