Skip to content

Error when initializing OpenVR (try 1 / 4) recently #8

Open
@devvaibhav455

Description

@devvaibhav455

Hi,

I was successfully able to use your code roslaunch htc_vive_teleop_stuff vive_tf_joy_and_ps.launch few days back but today I am facing an issue all of a sudden.

Debug Trace

roslaunch htc_vive_teleop_stuff vive_tf_joy_and_ps.launch
... logging to /home/mingxi/.ros/log/cb7e0e44-3dd1-11ee-b267-f9a46231351c/roslaunch-mingxi-HHLab-4393.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
WARNING: disk usage in log directory [/home/mingxi/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

started roslaunch server http://mingxi-HHLab:42233/

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.16.0

NODES
  /
    left_controller_ps (htc_vive_teleop_stuff/frame_as_posestamped.py)
    right_controller_ps (htc_vive_teleop_stuff/frame_as_posestamped.py)
    vive_tf_and_joy (htc_vive_teleop_stuff/vive_tf_and_joy.py)

ROS_MASTER_URI=http://localhost:11311

process[vive_tf_and_joy-1]: started with pid [4407]
process[left_controller_ps-2]: started with pid [4408]
process[right_controller_ps-3]: started with pid [4409]
INFO: cannot create a symlink to latest log directory: [Errno 2] No such file or directory: '/home/mingxi/.ros/log/latest'
===========================
Initializing OpenVR...
Using vrcompositor capability proxy
Launching /home/mingxi/.steam/debian-installation/steamapps/common/SteamVR/bin/linux64/vrcompositor
Using breakpad crash handler
Setting breakpad minidump AppID = 250820
Forcing breakpad minidump interfaces to load
[WARN] [1692368184.053559]: Exception on transforming pose... trying again 
("hmd" passed to lookupTransform argument target_frame does not exist. )
[WARN] [1692368184.056203]: Exception on transforming pose... trying again 
("hmd" passed to lookupTransform argument target_frame does not exist. )
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
08/18 10:16:24 Init: Installing breakpad exception handler for appid(250820)/version(1.27.2)/tid(4423)
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Error when initializing OpenVR (try 1 / 4)

I am trying to use HTC Vive Controller in headless mode by changing the below settings for SteamVR beta.

I have enabled the null driver

"driver_null": { "enable": true,

"steamvr": { "requireHmd": false, "forcedDriver": "null", "activateMultipleDrivers": true

Does anyone have any idea why is this occurring?

Update

I changed openvr.init(openvr.VRApplication_Scene) to openvr.init(openvr.VRApplication_Other) in vive_tf_and_joy.py on line # 182 and it worked surprisingly. But I don't know the reason as openvr.init(openvr.VRApplication_Scene) was working earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions