Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

ROS-TCP-Endpoint Installation Errors on ROS2 Windows

Discussion in 'Robotics' started by vrrobotic1, Feb 15, 2022.

  1. vrrobotic1


    Feb 15, 2022
    Hi all,

    I am following the ROS Unity Demo Setup tutorial (link) and am in the ROS2 Environment section B. I have ROS2 Foxy installed on my Windows 10 laptop and am not using Docker. I have cloned the ROS2 branch of the ROS-TCP-Endpoint into a src file in my workspace and am now running into issues when trying to build the workspace.

    When I run "colcon build --symlink-install --merge-install" in the root of my workspace, I run into the following errors:

    Starting >>> ros_tcp_endpoint
    --- stderr: ros_tcp_endpoint
    CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
    CMake Error at CMakeLists.txt:4 (find_package):
    By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "catkin", but
    CMake did not find one.
    Could not find a package configuration file provided by "catkin" with any
    of the following names:
    Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
    "catkin_DIR" to a directory containing one of the above files. If "catkin"
    provides a separate development package or SDK, be sure it has been
    Failed <<< ros_tcp_endpoint [0.39s, exited with code 1]
    Summary: 0 packages finished [0.86s]
    1 package failed: ros_tcp_endpoint
    1 package had stderr output: ros_tcp_endpoint

    I am new to ROS2 on Windows and don't know how to resolve this issue. Is this package even compatible with ROS2 foxy on windows? Could someone guide me through this installation issue? I would be happy to provide more information as needed!

    ROS-Unity Demo Setup:
    ljy67 and z_han like this.
  2. tl482


    Aug 11, 2022
    When you cloned the repo you probably cloned the main branch by default, which is ROS1. Make sure you cloned the ROS2 branch. (or download the zip file)