Jump to content

Alex_HTC

Moderators
  • Posts

    291
  • Joined

  • Last visited

Posts posted by Alex_HTC

  1. @CormacGeorge



    To the other points:
    1) Generally better to use built-in focus point data or raycast
    The built-in focus point data is generally more accurate than constructing your own raycast using the gaze origin and gaze direction. This is because the focus point data is calculated using a variety of factors, including the user's eye position, head position, and the scene geometry. However, if you need to be able to raycast to a specific location, such as an object that is not in the user's field of view, then you may need to construct your own raycast. This takes into accound ipd and other factors.
    Constructing your own raycast using the gaze origin and gaze direction might be necessary if you require more control over the specifics of the raycast, or if you want to implement additional logic that isn't covered by the built-in focus point data. For instance, you might want to implement your own raycast if you are designing a system that needs to differentiate between 'active' and 'passive' gaze (i.e., when the user is consciously looking at something vs. just glancing around).
    2) Absolute/world vs relative/local
    The gaze origin and gaze direction values are typically provided in the local space of the VR headset (i.e., relative to the position and orientation of the headset). This means that you will need to transform these values into world space if you want to use them for raycasting in your scene. This transformation is typically done by multiplying the gaze origin and gaze direction by the headset's world transformation matrix.

    3) Origin of the raycast
    The origin of the raycast when using the focus point data is usually a point in the middle of the user's eyes. This is often referred to as the "combined eye", which is a hypothetical single eye located at the midpoint between the two actual eyes. This is used because it simplifies the calculations needed for binocular vision and gaze tracking.

    There is some more information on our eye tracking tutorial page as well https://hub.vive.com/storage/app/doc/en-us/UnityXR/UnityXREyeTracking.html

    Let me know if you have any other questions!
    -Alex

     

  2. hi @Sehaj

    Robotics and anything that goes "bump" requires precision. Thankfully, our trackers provide a high degree of precision and can be attached to arbitrary surfaces. https://www.vive.com/us/accessory/tracker3/ 

    Controlling the robot would be a different domain and perhaps you could reach out to some of our partners in the space for suggestions and/or potential licensing https://business.vive.com/us/isv/partners/ There are also open source projects dedicated to this purpose, and you can investigate these yourself  - some options/starting points 
    https://github.com/mortaas/vive_rrcc
    https://github.com/nmadapan/Baxter-VR
    https://github.com/knorth55/eus_vive
    Or the suite of tools here https://github.com/topics/vive-controller

    I'm sure some our partners these forums as well, and I'm excited to hear what you come up with!

    -Alex

    • Like 2
  3. Make sure that the android package name hasn't changed and also that there are elements fro the controller and minwave version

    <application> section (\n to separate lines)

            <meta-data android:name="com.htc.vr.content.NumDoFHmd" android:value="6DoF"/>
            \n
            <meta-data android:name="com.htc.vr.content.NumDoFController" android:value="6DoF"/>
            \n
            <meta-data android:name="com.htc.vr.content.NumController" android:value="2"/>
            \n
            <meta-data android:name="minWaveSDKVersion" android:value="1" />
     

    as specified here 


     

  4. @Saif @且试天下
    If you could submit a lbgcat log, it would help greatly

    Usually problems fixed by switching to mono from il2cpp are related to code stripping that happens.  https://docs.unity3d.com/Manual/ManagedCodeStripping.html . This especially impacts code triggered by user input using the unity UI, since it uses reflection to run the code, and the managed code stripper frequently strips away code needed for those. For example, if I am showing a meshcollider and modifying it in code after a user clicks the buttons, the apis i'm calling look like they're unused to the unity compiler, so i have to add the MeshCollider class or assembly to my link.xml to prevent it from getting stripped.

    So let's take this example (without a full logcat it's a little difficult, so there will be some guesses here )- The implicit conversion operator from PoseControl to another class named PoseControl could get stripped since it doesn't look like it gets used, and this error is thrown. A full logcat would verify this since there may be other errors around. Adding the PoseControl class and it's assembly along with the wave xr assemblies to the link.xml would likely fix this.

    That said, I can confirm and escalate this with a repro project and/or logcat logs.

    Thanks for the report!

  5. @dynameis twIt looks like youtube is filtering the videos under the hood and we don't have an immediate solution for it. Longer term I'm actively working on a solution, and I'll keep my eyes open for other solutions as well. We tend to run into issues where websites are filtering based on device incorrectly and those issues take a little longer to resolve. if the browser gets the right stream, then we do play it.

    • Like 1
  6. @Ring
    Use the right-click context menu on the files to install them in windows, like other driver files.  This will help with the usb workflow

    Also - the vive_rrClicent is installed as part of the workflow, and if you don't see it, likely adb isn't on your environment path, and when you pressed the button it didnt' work. That said, it's my understanding we're quickly transitioning to using VBS as a front-end to this instead of that apk, so when testing newer sdks, I typically select 'use vive streaming' option in the headset after connecting the usb cable.

  7. @小生666
    in native projects, a typical location in the project (before building the app)

    For example in the hellovr project:
    wave_5.2.0_native\samples\wvr_native_hellovr\app\src\main\AndroidManifest.xml

    For your project, it looks like the android manifest has some invalid entries, so before building make sure to compare your android manifest to the "wvr_native_hellovr" example

    I would also suggest verifying that the "wvr_native_hellovr" app works for you to rule out any other potential environmental issues

  8. @小生666
    I just ran hellovr in 5.2.0 native successfully. Try looking at the AndroidManifest.xml file

    This error message is indicating that there is a problem with inflating a TextView in the XML file of your Android application. You can also try copying the AndroidManifest.xml from hello_vr example.

    After fixing the error in the android manifest, make sure to clean and rebuild the project

  9. @m0rgan Kan3@Siv Dev
     

    Here are some steps you can try to fix the "210 The compositor was disconnected" error on your Vive Pro 2 VR headset:

    1. Restart your computer and your VR headset: Sometimes simply restarting your computer and VR headset can fix the issue.
    2. Check the connections: Make sure that all the cables connecting the headset to your computer are properly plugged in and secure.
    3. Update your graphics card drivers: Check if your graphics card drivers are up-to-date. You can download and install the latest drivers from the manufacturer's website.
    4. Disable USB power saving: Go to the Device Manager in Windows, find the USB ports that the Vive Pro 2 is connected to, and disable the "Allow the computer to turn off this device to save power" option.
    5. Disable power management for SteamVR: Right-click on the SteamVR icon in your system tray, select "Settings," and then uncheck the "Put Base Stations in Standby Mode when VR is Not in Use" and "Enable Power Management" options.
    6. Reinstall Vive Console and SteamVR: If none of the above steps work, you can try uninstalling and reinstalling both the Vive Console and SteamVR.

    If none of these steps work, you can try reaching out to the Vive Pro 2 support team for further assistance here https://contact.vive.com/hc/en-us/requests/new

×
×
  • Create New...