Coder Social home page Coder Social logo

vive_tracker's People

Contributors

danielarnett avatar davidqiu1993 avatar mswenson17 avatar wtabib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vive_tracker's Issues

'VRInitError_Init_VRClientDLLNotFound (error number 102)'

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.

process has died

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

Screenshot from 2019-06-24 14-56-00

any reasons why i get this error?

Unable to track with one base-station and tracker

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?

str has no attribute decode

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

MIT license

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.

Update version for ROS2

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

python version error?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.