This video is part of the RoboJackets Fall 2020 ROS training series. Topics covered: - ROS Packages - rospack and roscd command line tools - The catkin build tool - How to create a ROS package - How to create and build a catkin workspace
I'm only half way through this tutorial, but it's going so well! I've been doing the beginner ROS tutorials on the wiki, but they only really explain how to make things. You've got a great ability to know when to adjust how much detail you give in explanations. As well explaining what each line of code does and why it's important (like dependancies, which ROSI wiki skips over compared to you), you also explain what it is we're actually doing. Like what a workspace is, and how it differs from a package. Makes me feel in control and much less stressed out! Very much hoping you've got an abundance because these videos are top class! Content aside, nice clear microphone, good editing, nice use of whiteboard. Should be very proud of this work
Excellent series. I'm learning a lot. However, I don't understand what the term "target" means in the context of cmake. In later videos, you also mention message targets.
Glad you're enjoying the series! In CMake (and many other build tools) 'target' refers to something the tool needs to build, usually a program or a library archive. It gives us a concept to wrap up all of the source files, build rules, and output properties needed to generate that program / library.
Hello. I'm new to ROS. I need your help. I get the following error. How can I fix this? 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: catkinConfig.cmake catkin-config.cmake 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.
Have you sourced the global setup script in the same terminal before attempting to build? (source /opt/ros/noetic/setup.bash) This setup script sets some environment variables which CMake uses to find ROS packages, so without it you'll often see errors like the one you've shared.
Hello. Sorry to bother you, but I'm getting an error when following this tutorial. When i try to run catkin_make, i get the following: "CMake Error: File /home/user/WR/learn_ros/catkin_ws/src/package.xml does not exist. CMake Error at /opt/ros/noetic/share/catkin/cmake/stamp.cmake:10 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/catkin_package_xml.cmake:72 (stamp) /opt/ros/noetic/share/catkin/cmake/catkin_package_xml.cmake:50 (_catkin_package_xml) /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:99 (catkin_package_xml) CMakeLists.txt:10 (catkin_package) CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:116 (message): catkin_package() 'catkin' must be listed as a buildtool dependency in the package.xml Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) CMakeLists.txt:10 (catkin_package) -- Configuring incomplete, errors occurred! See also "/home/user/WR/learn_ros/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/user/WR/learn_ros/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed " The error starts by complaining about the lack of a catkin_ws/src/package.xml, which you didn't create on your tutorial. What am i doing wrong? Is it possible that this tutorial is outdated? Thanks in advance.