Ask Your Question

Issue with creating a workspace (ROS2)

asked 2021-09-04 04:25:41 -0500

viki_will gravatar image

system : Ubuntu 20.04.2 LTS Ros2 foxy (ROS 2 via Debian Package)

I'm a complete beginner to ROS. I have followed these commands to create workspace

~$ cd Desktop/dev_ws/src

~/Desktop/roS2/src$ git clone

cd ..

~/Desktop/roS2$ colcon build

Starting >>> my_robot_control Starting >>> my_robot_description Starting >>> arduino_peripherals Starting >>> esp32_peripherals Starting >>> my_robot_base --- stderr: my_robot_base
CMake Error at CMakeLists.txt:10 (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 installed.

Failed <<< my_robot_base [0.66s, exited with code 1] Aborted <<< arduino_peripherals [0.67s] Aborted <<< my_robot_control [0.68s] Aborted <<< esp32_peripherals [0.67s] Aborted <<< my_robot_description [0.68s]

Summary: 0 packages finished [0.82s] 1 package failed: my_robot_base 4 packages aborted: arduino_peripherals esp32_peripherals my_robot_control my_robot_description 5 packages had stderr output: arduino_peripherals esp32_peripherals my_robot_base my_robot_control my_robot_description 2 packages not processed

kindly help me!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-09-06 10:46:20 -0500

That package has been created for ROS1, to run it on ROS2, you will have to rewrite it (change build system from catkin to colcon, rewrite specific files, etc.). If you are a beginner, this might be too much, so I suggest building & running it on ROS1 so you can learn how things work (or you can find other robot that runs ROS2).

edit flag offensive delete link more


Yea I get now.. sorry for the late reply and thank you very much for your time!!

viki_will gravatar image viki_will  ( 2021-09-09 13:47:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-09-04 04:25:41 -0500

Seen: 1,045 times

Last updated: Sep 06 '21