Level - 1

Installation

Use the user guide from the official ROS website for this.

After every installation do not forget to source the ROS installation

PKG

Installing

sudo apt install ros-version_name-pkg_name

NOTE: Every package that you install is on /opt/ros/ros_versionname/share/ament_index/resource_index/packages/

Viewing

ros2 pkg list | grep pkg_name    to see specific pkg
ros2 pkg list                    to see all pkg

Executables

Viewing

ros2 pkg executables             to see all executables
ros2 pkg executables pkg_name    to see executables of a specific pkg

Running

ros2 run pkg_name executable_name    to run an executable

Task

Launch the 2D Turtle Sim and make the Turtle move using teleop_key to draw a triangle

Turtle Sim after the turtle has drawn the triangle
Turtle Sim after the turtle has drawn the triangle