Skip to content

SamRB-dev/ROS2_TurtleSim_Python_Publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ROS2 Turtlesim Project

This project demonstrates the use of ROS2 with the classic Turtlesim simulator. It provides a simple environment to learn and experiment with ROS2 concepts such as nodes, topics, and services.

Prerequisites

  • Ubuntu 24.04.3 LTS
  • ROS2 (Humble or newer) installed
  • rosdep initialized
  • Colcon build tool

Installation

Clone the repository and install dependencies:

git clone <repository-url>
cd ros2_turtlesim
rosdep install --from-paths src --ignore-src -r -y

Building the Project

colcon build
source install/setup.bash
chmod +x src/turtleMotionController/turtleMotionController/motionController.py

Running Turtlesim

  1. Start the ROS2 core (if needed):

    source /opt/ros/<ros2-distro>/setup.bash
  2. Launch the Turtlesim node:

    ros2 run turtlesim turtlesim_node
  3. (Optional) Run additional nodes or scripts as needed.

Usage

    ros2 launch turtleMotionController demo.launch.py

Resources

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages