MOCAP4ROS2-Project / mocap4ros2_optitrack

25 stars 18 forks source link

Can mocap4ros2 be used with Foxy? #33

Open acrypticcode opened 1 month ago

acrypticcode commented 1 month ago

I have a robot that I want to communicate with that only supports ROS 2 Foxy, not Humble or later versions, due to its older Ubuntu OS. This robot needs to receive data from an Optitrack system. I tried to install mocap4ros2 on a Foxy docker container on my PC to test the compatibility and received these errors during installation. I was following the instructions at https://github.com/MOCAP4ROS2-Project/mocap4ros2_optitrack in the readme file.

This is the partial output to docker run --net=host -it --rm -v ~/docker-workspaces-cf/mocap4r2_ws:/home/user/ros_ws custom-foxy:latest bash image

And this is the complete output to /home/user/ros_ws/src# vcs import < mocap4ros2_optitrack/dependency_repos.repos image

Is there a way in which this project can be run on Foxy successfully, or do I need to look elsewhere for Optitrack to Foxy translation?

aarsht7 commented 1 month ago

@acrypticcode , You can try changing .hpp to .h (for all the ros-msg/srv/action related includes in the pkg)

Also, avoid using images in the issue and use copy-paste from terminal to make it easier for us to reuse the error msg. Thanks.