Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Oculus Daemon Segfaults

I am trying to use an Oculus Rift DK2 with Gazebo 9. I already followed the tutorial, but I haven't been able to get it to run. The problem appears to the with the Oculus Daemon. When I run ./oculusd I get the following output in the terminal,

OVR::DeviceManagerThread - running (ThreadId=0x7f004ebe0700).
OVR::DeviceManager - initialized.
OVR::Linux::HIDDevice - Opened '/dev/hidraw0'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift DK2'  Serial#:'MSCE4107JHC4KR003200'
[TrackingManager] Sensor added: PrintedSerial=205THE08SBK3 UUID=MSCE4107JHC4KR003200
[TrackingManager] Display added: UUID=MSCE4107JHC4K Driver=0
Segmentation fault (core dumped)

The last line only appear after I click the Oculus Rift button in the Gazebo GUI, at which point the ./oculusd command exits.

Looking through the provided repository for the Oculus SDK, the READ_ME_FIRST.txt file says that an Oculus Runtime needs to be installed first, but I cannot find this on the Oculus website, and it is not mentioned in the tutorial.

I would appreciate any help in getting this working.