Follow these steps for setting up the ROS package:
- From a terminal, clone the book repository, https://github.com/PacktPublishing/Hands-On-ROS-for-Robotics-Programming, into your home folder:
$ cd ~$ git clone https://github.com/PacktPublishing/Hands-On-ROS-for-Robotics-Programming
- We are going to copy the code of this chapter into the ROS workspace. That way, you will have a cleaner ROS environment:
$ cp -R ~/Hands-On-ROS-for-Robotics-Programming/Chapter3_ROS_basics ~/catkin_ws/src
Do not add a backslash, \n, after the src folder name. If you do, the files will be copied directly into the src folder, not under src/Chapter3_ROS_basics.
- Within the Chapter3_ROS_basics folder, you can find the files of this chapter ...