Skip to content

aastha280/Robo-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ROS2 TurtleSim Keyboard Control

This is a simple ROS2 Python script that allows you to control the turtle in turtlesim using keyboard inputs (WASD keys).

Prerequisites: Ensure you have the following installed:

  • ROS2 (Humble, Foxy, or other supported versions)
  • Turtlesim package (sudo apt install ros-humble-turtlesim for Humble)

Usage:

  • First, launch the turtlesim node
  • Run the keyboard control node

Controls: Key - Action

  • w - Move forward
  • s - Move backward
  • a - Turn left
  • d - Turn right
  • q - Quit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages