Skip to content
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

tracker receives no name #9

Open
acochrane opened this issue Oct 11, 2023 · 4 comments
Open

tracker receives no name #9

acochrane opened this issue Oct 11, 2023 · 4 comments

Comments

@acochrane
Copy link

It seems like everything is working on the driver side, but the device name for my tracker is empty

[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [libsurvive_ros2_node-1]: process started with pid [9227]
[INFO] [rosbridge_websocket-2]: process started with pid [9229]
[INFO] [rosapi_node-3]: process started with pid [9231]
[libsurvive_ros2_node-1] Info: Loaded drivers: GlobalSceneSolver, HTCVive
[libsurvive_ros2_node-1] [INFO] [1697038747.838086855] [libsurvive.libsurvive_ros2_node]: Cleaning up.
[libsurvive_ros2_node-1] [INFO] [1697038747.838091745] [libsurvive.libsurvive_ros2_node]: Start listening for events..
[libsurvive_ros2_node-1] Info: Adding tracked object WM0 from HTC
[libsurvive_ros2_node-1] [INFO] [1697038747.863441145] [libsurvive.libsurvive_ros2_node]: A new device LHB-A79226B8 was added at time 1697038747.838973
[libsurvive_ros2_node-1] [INFO] [1697038747.964953825] [libsurvive.libsurvive_ros2_node]: A new device  was added at time 1697038747.864378
[rosbridge_websocket-2] [INFO] [1697038748.245282101] [rosbridge_server_node]: Rosbridge WebSocket server started on port 9090
[rosbridge_websocket-2] [INFO] [1697038768.456603127] [rosbridge_server_node]: Client connected. 1 clients total.
[rosbridge_websocket-2] [INFO] [1697038769.015373139] [rosbridge_server_node]: [Client b1102190-3c8b-4614-8b61-6c97626d8d44] Subscribed to /tf
[rosbridge_websocket-2] [INFO] [1697038769.016015709] [rosbridge_server_node]: [Client b1102190-3c8b-4614-8b61-6c97626d8d44] Subscribed to /tf_static
[libsurvive_ros2_node-1] Warning: Failed to submit transfer WM0 Watchman (-4)
[libsurvive_ros2_node-1] libusb: error [udev_hotplug_event] ignoring udev action bind
[libsurvive_ros2_node-1] Info: Adding tracked object WM0 from HTC
[libsurvive_ros2_node-1] [INFO] [1697038886.388200924] [libsurvive.libsurvive_ros2_node]: A new device  was added at time 1697038886.389146

is there a way to force the device to be named?

@asymingt
Copy link
Owner

Is this perhaps a consequence of using the hidapi?

@jodusan
Copy link

jodusan commented Dec 5, 2023

@asymingt is it possible not to use hidapi?

@asymingt
Copy link
Owner

asymingt commented Dec 5, 2023

@asymingt is it possible not to use hidapi?

Yes, I think libsurvive has an option to disable it: https://github.com/cntools/libsurvive/blob/master/CMakeLists.txt#L28

You can just pass -DENABLE_HIDAPI=FALSE to it from this project's CMakeLists.txt and that should do it.

@jodusan
Copy link

jodusan commented Dec 7, 2023

@asymingt Thanks, i will try it out today!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants