Back to Browse

ROS2 Tutorial1: Getting started with turtlesim | Spawn turtle2 in turtlesim

12.1K views
Sep 4, 2022
11:29

In this tutorial, learn about ROS2 basics using the turtlesim package adn spawn turtle2 in turtlesim simulator. This tutorial is aimed towards beginners and doesn't require any prior knowledge of ROS. In this tutorial you will learn about 2 core concepts of ROS2. To make it easy to understand, we will be using Turtlesim - a simple simulator. ===================================== 1. Install turtlesim $ sudo apt update $ sudo apt install ros-(distro)-turtlesim 2. Start Turtlesim $ ros2 run turtlesim turtlesim_node 3. Move the turtle1 robot in turtlesim simulator $ ros2 run turtlesim turtle_teleop_key 4. Spawn the new turtle2 $ rqt 5. Remapping the cmd_vel to move turtle2 $ ros2 run turtlesim turtle_teleop_key --ros-args --remap turtle1/cmd_vel:=turtle2/cmd_vel

Download

0 formats

No download links available.

ROS2 Tutorial1: Getting started with turtlesim | Spawn turtle2 in turtlesim | NatokHD