slightly buggy but fully working hand tracking
This commit is contained in:
81
examples/android/out
Normal file
81
examples/android/out
Normal file
@@ -0,0 +1,81 @@
|
||||
Using package `bevy_openxr_android` in `/home/schmarni/Code/adeptus_bevy_oxr/examples/android/Cargo.toml`
|
||||
Warning: Environment variable ANDROID_SDK_ROOT is deprecated (https://developer.android.com/studio/command-line/variables#envar). It will be used until it is unset and replaced by ANDROID_HOME.
|
||||
warning: unused import: `PresentMode`
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/lib.rs:18:20
|
||||
|
|
||||
18 | use bevy::window::{PresentMode, PrimaryWindow, RawHandleWrapper};
|
||||
| ^^^^^^^^^^^
|
||||
|
|
||||
= note: `#[warn(unused_imports)]` on by default
|
||||
|
||||
warning: use of deprecated function `bevy::prelude::info`: use `.map(bevy_utils::info)` instead
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/debug_gizmos.rs:2:5
|
||||
|
|
||||
2 | info, Color, Gizmos, GlobalTransform, Plugin, Quat, Query, Res, Transform, Update, Vec2, Vec3,
|
||||
| ^^^^
|
||||
|
|
||||
= note: `#[warn(deprecated)]` on by default
|
||||
|
||||
warning: use of deprecated function `bevy::prelude::info`: use `.map(bevy_utils::info)` instead
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/interactions.rs:4:5
|
||||
|
|
||||
4 | info, Color, Component, Entity, Event, EventReader, EventWriter, Gizmos, GlobalTransform, Quat,
|
||||
| ^^^^
|
||||
|
||||
warning: use of deprecated function `bevy::prelude::info`: use `.map(bevy_utils::info)` instead
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/trackers.rs:2:5
|
||||
|
|
||||
2 | info, Added, BuildChildren, Commands, Component, Entity, Query, Res, Transform, Vec3, With,
|
||||
| ^^^^
|
||||
|
||||
warning: use of deprecated function `bevy::prelude::info`: use `.map(bevy_utils::info)` instead
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/hand.rs:4:14
|
||||
|
|
||||
4 | default, info, Color, Commands, Component, Entity, Gizmos, GlobalTransform, Plugin, PostUpdate,
|
||||
| ^^^^
|
||||
|
||||
warning: variable `tracking_transform` is assigned to, but never used
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/debug_gizmos.rs:54:13
|
||||
|
|
||||
54 | let mut tracking_transform = &Transform::IDENTITY;
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: consider using `_tracking_transform` instead
|
||||
= note: `#[warn(unused_variables)]` on by default
|
||||
|
||||
warning: value assigned to `tracking_transform` is never read
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/debug_gizmos.rs:69:13
|
||||
|
|
||||
69 | tracking_transform = position.0;
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= help: maybe it is overwritten before being read?
|
||||
= note: `#[warn(unused_assignments)]` on by default
|
||||
|
||||
warning: value assigned to `reference_quat` is never read
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/prototype_locomotion.rs:91:21
|
||||
|
|
||||
91 | let mut reference_quat = Quat::IDENTITY;
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
|
||||
= help: maybe it is overwritten before being read?
|
||||
|
||||
warning: field `instance` is never read
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/oculus_touch.rs:37:5
|
||||
|
|
||||
35 | pub struct OculusControllerRef<'a> {
|
||||
| ------------------- field in this struct
|
||||
36 | oculus_controller: &'a OculusController,
|
||||
37 | instance: &'a Instance,
|
||||
| ^^^^^^^^
|
||||
|
|
||||
= note: `#[warn(dead_code)]` on by default
|
||||
|
||||
warning: function `log_hand` is never used
|
||||
--> /home/schmarni/Code/adeptus_bevy_oxr/src/xr_input/hand.rs:873:4
|
||||
|
|
||||
873 | fn log_hand(hand_pose: [Posef; 26]) {
|
||||
| ^^^^^^^^
|
||||
|
||||
warning: `bevy_openxr` (lib) generated 10 warnings (run `cargo fix --lib -p bevy_openxr` to apply 1 suggestion)
|
||||
Finished release [optimized] target(s) in 0.19s
|
||||
5
examples/demo/tee
Normal file
5
examples/demo/tee
Normal file
@@ -0,0 +1,5 @@
|
||||
error: unexpected argument 'quest2_stdout.txt' found
|
||||
|
||||
Usage: x run [OPTIONS]
|
||||
|
||||
For more information, try '--help'.
|
||||
Reference in New Issue
Block a user