Open mganglb opened 6 years ago
The problem was the action manifest / binding.
Hello, We are facing similar issue, can you explain more ?
hi, fix for the flipping: -> SteamVR -> Devices -> Controller Input Binding -> then you have to choose your application (if it is a Background app, i think you dont have to choose your app) -> click "add Action pose" -> Change "left_pose", "right_pose" to "Unused"
This fixed it for me. But if you want to do it "right", i guess the best way is to create an own Action manifest (the procedure above changes the default file i think)
The button "Configure controller" has no effect for me I'm using vive setting without headset, SteamVR on Linux
Actually I got a message in my vrserver.txt
:
Thu Apr 04 2019 17:19:34.737092 - App system.generated.python3 (vive_tracker_handed) loaded default binding [HOME]/.steam/steam/steamapps/common/SteamVR/drivers/htc/resources/input/tracker/legacy_bindings_vive_tracker_handed_rotated.json
If I edit this file and remove whatever is under the poses
section it seems OK
Hello i am mgangl and quite new to openvr, so pl excuse my little knowledge.
Setup:
Ubuntu: 16.04
SteamVR beta, (up2date) Steam Beta, (up2date) 2 Main stations with Sync cable (Main stations are not up2date) 1 generic tracker (up2date) No HMD (Null driver) openvr 1.0.16
Issue
All works fine as long i do not use getControllerStateWithPose or getControllerState.
Using the mentioned function changes the Transformation Matrix of getDeviceToAbsoluteTrackingPose (This change is only temporary, while the Tracker is in Motion and about 2 seconds after it stopped motion) -> the orientation is flipping (position is constant) ... something like [90,90,0] ... i have to look it up again.
(x) The setting of the origin do not has any influence on that effect. (TrackingUniverseSeated, TrackingUniverseRawAndUncalibrated, TrackingUniverseStanding)
(x) The Origin has anyway no impact on the Pose of the generic tracker. But it impacts the pose of the controller etc.
(x) the Controller does not show that behavior
(x) Other functions like "GetControllerRoleForTrackedDeviceIndex" do not show that behavior.
(x) but the use of the function "getControllerState" does change the output of "GetControllerRoleForTrackedDeviceIndex" as well.
(x) Same issue with python openvr (what is using openvr 1.0.13) https://github.com/cmbruns/pyopenvr/issues/51
(x) In "steamvr -> developer -> Room overview" i can not see that behavior.
Questions
(x) Is that a bug (i looked throw the last 3 to 5 pages of issues and could not find it)? (x) Has it something to do with controller bindings / action manifest? (Sadly i have to less understanding about that) (x) Further i have something in mind about changing properties of the tracker by a USB HID feature report.
thank you in advance
Output
output without GetControllerState (in motion or at standstill has no impact):
output with GetControllerState:
You can see the switch in the orientation (quaternions) and the controller role is changing as well.
Code