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