moon-wreckers / vive_tracker Goto Github PK
View Code? Open in Web Editor NEWHTC Vive Tracker Node for ROS
HTC Vive Tracker Node for ROS
After setup according to the guide, I got an error:
An exception of type OpenVRError occurred. Arguments:
('VRInitError_Init_VRClientDLLNotFound (error number 102)',)
How did that happen?
It seems the node can not find openvr library.
HI i am using this package, and when i launch it, i get this error
[vive/vive_tracker-5] process has died [pid 13767, exit code 1, cmd /home/vkguda/catkin_ws/src/vive_tracker/scripts/vive_tracker.py __name:=vive_tracker __log:=/home/vkguda/.ros/log/533df952-967e-11e9-a264-34e12dcd93f8/vive-vive_tracker-5.log].
log file: /home/vkguda/.ros/log/533df952-967e-11e9-a264-34e12dcd93f8/vive-vive_tracker-5*.log
any reasons why i get this error?
I've tried with two base-stations and tracker with no issues. Attempting to use one base station set to "A" and the tracker is not working. Both devices show up in steamVR but have status of not tracking. Any guidance on this?
vive_tracker/scripts/triad_openvr.py
Line 117 in 374ebaf
ROS quaternion notation is [X, Y, Z, W]. Wonder why it works this way.
Hi, I am facing a problem. I am using Python 3
When I run the code, this error shows up: AttributeError: 'str' object has no attribute 'decode'
I googled it and it seems here we don't need the decode more. I then deleted it, but then a new error showed up:
Traceback (most recent call last):
File "/home/tuan/Documents/catkin_ws/src/vive_tracker/scripts/vive_tracker.py", line 151, in
vive_tracker()
File "/home/tuan/Documents/catkin_ws/src/vive_tracker/scripts/vive_tracker.py", line 39, in vive_tracker
v.print_discovered_objects()
File "/home/tuan/Documents/catkin_ws/src/vive_tracker/scripts/triad_openvr.py", line 259, in print_discovered_objects
self.devices[device].get_model()
File "/home/tuan/Documents/catkin_ws/src/vive_tracker/scripts/triad_openvr.py", line 163, in get_model
print(self.vr.getStringTrackedDeviceProperty(self.index,openvr.Prop_ModelNumber_String))
File "/usr/local/lib/python3.8/dist-packages/openvr/init.py", line 3213, in getStringTrackedDeviceProperty
openvr.error_code.TrackedPropertyError.check_error_value(error.value)
File "/usr/local/lib/python3.8/dist-packages/openvr/error_code/init.py", line 23, in check_error_value
raise error_class(error_value, message)
openvr.error_code.TrackedProp_UnknownProperty
How do I fix it?
Thanks it advance
Can you add the MIT license to your repository?
The MIT license is already in the package.xml but it would be nice for everyone to see it directly when you open the repository.
Hi,
I am looking to migrate the node as a ROS2 one due to better dependencies with openvr and python 3. I was looking into the TF transformations however they are not that clear to me. Could you explain me how you define map, odom, vive_world and vive_tracker?
Thanks
Best,
Matteo
Hello,
I am trying to use this repository to use vive tracker with ROS and keep on getting errors.
I am using ubuntu 18.04 with ROS melodic.
As you know ros melodic uses python 2.7 and thus keep on giving me this error when I
roslaunch vive_tracker vive_tracker.launch
File "/home/glab/catkin_ws/src/vive_tracker/scripts/vive_tracker.py", line 6, in <module> import triad_openvr File "/home/glab/catkin_ws/src/vive_tracker/scripts/triad_openvr.py", line 3, in <module> import openvr File "/usr/local/lib/python2.7/dist-packages/openvr/__init__.py", line 2923 def getProjectionMatrix(self, eye, nearZ: float, farZ: float): ^ SyntaxError: invalid syntax [vive/vive_tracker-5] process has died [pid 11449, exit code 1, cmd /home/glab/catkin_ws/src/vive_tracker/scripts/vive_tracker.py __name:=vive_tracker __log:=/home/glab/.ros/log/1674945c-e610-11eb-be62-709cd13e9815/vive-vive_tracker-5.log]. log file: /home/glab/.ros/log/1674945c-e610-11eb-be62-709cd13e9815/vive-vive_tracker-5*.log Generating vive_world frame..........
I tried to switch my default python interpreter to python3.6 but it also didn’t work.
I also tried to use openvr 1.3.2201 which also gave me the same error...
I was wondering how you managed to run the files. Did you use python 3.5+ as ROS’s interpreter? Or am I doing something wrong?
I have been stuck here for so long.. I hope you can help me.
Thank you in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.