Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. 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:
    z_han likes 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)