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

issue install from ROS2 package list #14

Closed
knmcguire opened this issue Feb 27, 2024 · 2 comments
Closed

issue install from ROS2 package list #14

knmcguire opened this issue Feb 27, 2024 · 2 comments

Comments

@knmcguire
Copy link

knmcguire commented Feb 27, 2024

When I install the motion capture tracking with

sudo apt-get install ros-humble-motion-capture-tracking

Then I get the following error when running launch:

$ ros2 launch motion_capture_tracking launch.py
[INFO] [launch]: All log files can be found below /home/kimberly/.ros/log/2024-02-27-08-40-59-962626-pop-os-32712
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [motion_capture_tracking_node-1]: process started with pid [32713]
[ERROR] [motion_capture_tracking_node-1]: process has died [pid 32713, exit code 127, cmd '/opt/ros/humble/lib/motion_capture_tracking/motion_capture_tracking_node --ros-args -r __node:=motion_capture_tracking --params-file /opt/ros/humble/share/motion_capture_tracking/config/cfg.yaml'].
[INFO] [rviz2-2]: process started with pid [32715]
[motion_capture_tracking_node-1] /opt/ros/humble/lib/motion_capture_tracking/motion_capture_tracking_node: error while loading shared libraries: libNatNet.so: cannot open shared object file: No such file or directory
@knmcguire knmcguire changed the title issue install ROS packages issue install from ROS2 package list Feb 27, 2024
@knmcguire
Copy link
Author

This was found when trying to solve this crazyswarm2 issue IMRCLab/crazyswarm2#432

@whoenig
Copy link
Collaborator

whoenig commented Feb 27, 2024

Oh, that's super annoying:-/ Thanks for testing it out.

As workaround one could put libNatNet in the PATH (from https://github.com/whoenig/NatNetSDKCrossplatform/tree/main/lib/ubuntu). Of course, Optitrack doesn't provide source code or a static library, so I am not sure how to fix it besides disabling the "optitrack_closed_source" backend in the binary distribution.

@whoenig whoenig closed this as completed in 7ae0390 Mar 5, 2024
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

2 participants