Sign inSign up

abulhasnatabdullah/voice_controlled_robot

By abulhasnatabdullah

•Updated over 1 year ago

Voice-Controlled TurtleBot3: ROS2 project to control TurtleBot3 in Gazebo using voice commands.

Image
Machine learning & AI
Operating systems
0

290

abulhasnatabdullah/voice_controlled_robot repository overview

⁠Voice-Controlled TurtleBot3

⁠🌟 Overview

Voice-Controlled TurtleBot3 is an exciting ROS2-based project that allows you to control a TurtleBot3 robot within a Gazebo simulation environment using simple voice commands. The robot responds dynamically to commands for movement and energy management, offering an engaging and hands-free robotics experience.

ā šŸš€ Key Features

  • šŸŽ™ļø Voice-Controlled Navigation: Direct the robot effortlessly with voice commands such as "forward", "left", and "right" to navigate the simulation.
  • šŸ”‹ Energy Management: Manage the robot's energy by using voice triggers like "heal" to recharge or "kaboom" to initiate energy actions.
  • šŸ“” Real-time ROS2 Communication: Built using rclpy, the system processes voice commands and sends movement instructions to the /cmd_vel topic in real-time.
  • 🐳 Dockerized Setup: The entire system is containerized, making it simple to deploy, build, and run inside a Docker container for a smooth and consistent experience across different environments.

ā šŸ“ Repository Structure

šŸ“‚ voice_controlled_bot
 ā”œā”€ā”€ šŸ“‚ src/                     # ROS2 package source code
 ā”œā”€ā”€ šŸ“„ Dockerfile               # Dockerfile for containerization
 ā”œā”€ā”€ šŸ“„ requirements.txt         # Python dependencies
 ā”œā”€ā”€ šŸ“„ README.md                # Project documentation
 ā”œā”€ā”€ šŸ“„ setup.py                 # ROS2 package setup

ā šŸ”§ Installation

⁠1ļøāƒ£ Clone the repository
git clone https://github.com/abulhasnat-abdullah/voice_controlled_bot.git
cd voice_controlled_bot
⁠2ļøāƒ£ Build the ROS2 Package
colcon build
source install/setup.bash

⁠🐳 Running with Docker

⁠1ļøāƒ£ Pull the Docker Image
docker pull abulhasnatabdullah/voice_controlled_robot
⁠2ļøāƒ£ Run the Container
docker run --device /dev/snd:/dev/snd -it abulhasnatabdullah/voice_controlled_robot

ā šŸŽ¤ Voice Commands

CommandAction
"forward"Moves forward for 2 seconds
"forward 5s"Moves forward for 5 seconds
"left"Rotates left
"right"Rotates right
"heal" / "kaboom"Increases energy

ā šŸ¤ Contributing

Pull requests are welcome! Feel free to open an issue if you have any questions or suggestions.

ā šŸ“œ License

This project is licensed under the MIT License. See LICENSE for details.

Tag summary

Content type

Image

Digest

sha256:85b3a959e…

Size

301.7 MB

Last updated

over 1 year ago

docker pull abulhasnatabdullah/voice_controlled_robot