![]() Modified: build/catkin_generated/installspace/_setup_util.py Modified: build/catkin_generated/generate_cached_setup.py Modified: build/catkin/catkin_generated/version/package.cmake Modified: build/CMakeFiles/TargetDirectories.txt Modified: build/CMakeFiles/Makefile.cmake " to discard changes in working directory) # Running command: "cmake /home/user/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/user/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/user/catkin_ws/install -G Unix Makefiles" in "/home/user/catkin_ws/build" Install space: /home/user/catkin_ws/install Now we will compile the workspace and see what happens. User:~/catkin_ws$ Step 4: Compile the workspace and observe the changes # We check the workspace folder again in git and see that it's "clean" ![]() User:~/catkin_ws$ git commit -m "Create a test package"Ĭreate mode 100644 src/test_package/CMakeLists.txtĬreate mode 100644 src/test_package/package.xml User:~/catkin_ws$ git add src/test_package/ Nothing added to commit but untracked files present (use "git add" to track) # We change back to the workspace (catkin_ws) directory and see that we have new untracked files and directories. Successfully created files in /home/user/catkin_ws/src/test_package. User:~/catkin_ws/src$ catkin_create_pkg test_package rospy # We change the workspace's src folder and create a package. Take note that only the src folder has been changed here. Nothing to commit, working tree clean Step 3: Create a new package in the workspace and observe the changes User:~/catkin_ws$ git commit -m "Initial workspace state" Initialized empty Git repository in /home/user/catkin_ws/.git/ So we see that we have three subfolders in the workspace: src, build and devel. Now we are going to save the current state of that directory before we make further changes: user:~/catkin_ws$ git init user:~$ cd catkin_ws/ĭrwxrwxrwx 10 user user 4096 Dec 2 12:16. Pick a Shell tool from the Tools menu and locate the catkin_ws directory. Step 2: Check out what we have in the catkin_ws workspace and save its current state in git Once done with that, open up the project by clicking on “Open ROSject”. Please ensure you select “Ubuntu 16.04 + ROS Kinetic + Gazebo 7” under “Configuration”. Head to and create a project called “ros workspace” (or whatever you wish). Let’s go! Step 1: Create a Project (ROSject) on ROSDS We’ll also see how these directories are used in ROS workspace management. In this post, we will see what the ROS workspace directories src, build and devel contain.
0 Comments
Leave a Reply. |