Skip to content

HMC03/turtlesim-drawN-ros2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Turtle Sim Draw N

This workspace contains a custom ROS 2 package that enables the classic turtlesim simulator to trace the letter “N”, representing NC State University.

Dependencies

  • ROS2 Jazzy
  • Python3
  • Turtlesim (ros-jazzy-turtlesim)

To install turtlesim:

sudo apt update
sudo apt install ros-jazzy-turtlesim

Setup

# Source ROS2 Jazzy
source /opt/ros/jazzy/setup.bash

# Build the workspace
colcon build --symlink-install

How to Run

You’ll need two terminal windows — one for the turtlesim_node and one for your custom node.

  1. In the first terminal, source ROS 2 and your workspace, then start TurtleSim:

    source /opt/ros/jazzy/setup.bash
    source install/setup.bash
    ros2 run turtlesim turtlesim_node
  2. In a second terminal, source again and run the custom package:

    source /opt/ros/jazzy/setup.bash
    source install/setup.bash
    ros2 run turtlesim_draw_n turtlesim_draw_n

Result

The Turtle will trace the letter N as shown below:

turtlesimN

About

ROS2 Jazzy package that commands turtlesim to trace the letter N (NC State) using waypoint navigation and closed-loop pose control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages