Home | Tutorials | Wiki | Issues
Ask Your Question
0

90-oculus.rules might have broken 90-hydra.rules [closed]

asked 2015-03-27 08:17:05 -0600

AndreiHaidu gravatar image

Hi,

so I tried out Oculus dk2 in Gazebo, it worked, nice job! However, now I cannot connect my Razer Hydra device:

[Err] [Plugin.hh:153] Failed to load plugin libHydraPlugin.so: libHydraPlugin.so: cannot open shared object file: No such file or directory

I tried all my USB ports, reloaded the rules, restarted pc, removed all the rules and only added the hydra one, still no change.

I had this error before, and then I only managed to get it to work after I re-installed Ubuntu. I would like to avoid that this time :)

I looked over these rules, and is it normal that both use the same SUBSYSTEM name?

90-oculus.rules :
# Oculus HID Sensor naming and permissioning
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2833", MODE="0666"

90-hydra.rules:
ATTRS{idProduct}=="0300",ATTRS{idVendor}=="1532",ATTR{bInterfaceNumber}=="00",TAG="hydra-tracker"
SUBSYSTEM=="hidraw",TAGS=="hydra-tracker", MODE="0666", SYMLINK+="hydra"

I am using 14.04 and Gazebo from default.

Cheers, Andrei

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by AndreiHaidu
close date 2015-04-09 06:22:55.965897

Comments

Andrei, what is driving you to think that the problem is in udev? The message says the the plugin library was not found by the loader. Manually adjusting LD_LIBRARY_PATH helps?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2015-04-01 17:59:33 -0600 )edit

Wow, I don't know how I missed that, it does work, thanks :)

AndreiHaidu gravatar imageAndreiHaidu ( 2015-04-09 06:14:06 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-02 09:26:04 -0600

nkoenig gravatar image

These two files have worked simultaneously. As Jose pointed out, it looks like gazebo couldn't find the libhydraplugin. Can you check your GAZEBO_PLUGIN_PATH environment variable?

edit flag offensive delete link more

Comments

yup, that was the issue, my bad :)

AndreiHaidu gravatar imageAndreiHaidu ( 2015-04-09 06:15:27 -0600 )edit

Question Tools

Stats

Asked: 2015-03-27 08:17:05 -0600

Seen: 78 times

Last updated: Apr 02 '15