Learning the basics of ROS (part 1)

ROS stands for Robotic Operating System. This article will act as a tutorial for anyone interested in taking a crash course into the world of ROS. What are we waiting for, let’s dive right in!

lsb_release -a
rosversion -d
Screen grab showing my Ubuntu Distribution, Ubuntu 18.04 LTS and ROS Kinetic Kame
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true 
source /opt/ros/kinetic/setup.bashor source /opt/ros/melodic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
source devel/setup.bashor . ~/catkin_ws/devel/setup.bash
ImportError: “from catkin_pkg.package import parse_package” failed: No module named ‘catkin_pkg’
Video of the error from catkin_make, take note that I downgraded my system from ROS Melodic (in Lesson 1) to ROS Kinetic in Lesson 3
locate catkin_pkg
$PYTHONPATH
cd 
sudo vim .bashrc
This is how to edit the .bashrc file with the vim editor
Skip to 3:10 to see what a successful catkin_make should look like
cd catkin_ws/srccatkin_create_pkg beginner_tutorials std_msgs rospy roscpp
cd ~/catkin_ws/
catkin_make
rosdep install --from-paths src --ignore-src -r -y
cd ~/catkin_ws/
catkin_make
. ~/catkin_ws/devel/setup.bash
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
echo "source /home/den/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
Video showing how to add an already created package within the ROS framework

--

--

An aspiring Robotics Researcher. I am currently in my 4th year of undergraduate studies. I am working on optimising the navigation packages on ROS.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
D

An aspiring Robotics Researcher. I am currently in my 4th year of undergraduate studies. I am working on optimising the navigation packages on ROS.