-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connectvity with other controllers #26
Comments
Lines 648 to 652 in 0b55e8f
I don't know which version of SteamVR Tracking and which ROS distro you are using, but I confirmed trackers work well with SteamVR Tracking 1.0 and ROS indigo~kinetic. |
Have you tried this on your own if it works? Lines 531 to 534 in 0b55e8f
This implies for me that there could be a limitation for controller only. I am using ROS melodic and I am not sure how to find out which SteamVR Traking system it is. But in general everything is working with both controllers and HMD 👍 |
Ofcourse several features are limited. Lines 561 to 564 in 0b55e8f
The latest VIVE products are SteamVR Tracking 2.0 |
Sorry, the "setOriginCB" seems not to be called by button trigger but by manually rosservice call. |
Okay, thank you. It looks like that the issue is with the topic /vive/twist1 and /vive/twist2. So ROS Melodic is running together with SteamVR Tracking 2.0. Everything is working quite well. /vive/twist0 is publishing the linear and angular velocities of the HMD but twist1 and twist2 are sending just zeros. On the contrary, the topics of the controller sending the button state and the finger position on the pad, are working. It looks like that the /tf topic is giving all velocities also those of the controllers. But I am not sure why twist1 and twist2 are not working. |
In the current code, tf and button functions are implemented in this loop, and this loop scans all connected devices. Lines 589 to 657 in 0b55e8f
But the twist function is currently implemented in the other way, and it only accesses device id 0~2. Lines 670 to 731 in 0b55e8f
I think some code modifications are needed to enable all connected devices to publish twist. |
Good morning!
I have successfully connected two Vive controller. May I ask if it is also possible also to connect a Vive tracker additionally or instead of one controller?
Thanks in advance!
The text was updated successfully, but these errors were encountered: