Developing an Intelligent Robotic Arm System for Interactive Gameplay
07 August 2024
This project showcases the integration of multiple robotics and software engineering skills to create an automated TicTacToe game using the MyCobot 280 robotic arm. The project involves setting up a perception system to detect game moves, designing a decision-making algorithm for gameplay, implementing a motion planning system to control the robotic arm, and developing a web application for game management and monitoring.
You can view the project presentation and live demonstration featuring both simulated and real robots here.
The project is divided into several key tasks, focusing on setting up the robotic arm control, developing the perception system, integrating decision-making algorithms and creating the web application.
Initial Setup: The MyCobot 280 arm was configured using Moveit2 for planning and executing trajectories.
Moveit2 Package Configuration: Controllers for the MyCobot 280 were properly configured, and a ROS2 node was created to interface with Moveit2, allowing for trajectory planning and execution.
Perception Node Development: A perception node was developed using OpenCV to detect the TicTacToe board and recognize the moves made by players. The system captures images from a camera and processes them to identify the game state.
Integration with Manipulation Pipeline: The perception system was integrated with the motion planning system, enabling the robot to respond to detected moves.
Algorithm Development: A minimax algorithm was implemented to determine the best move for the robot based on the current state of the game. This algorithm was integrated with the perception and manipulation systems. The whole system was tested to guarantee robust decision-making process, ensuring competitive gameplay against human opponents.
Web Application Creation: A web application was developed using Bootstrap. This application allows users to monitor and control the game, providing real-time updates and an intuitive interface.
The integration of perception, decision-making, and motion control systems resulted in a fully functional TicTacToe-playing robotic arm. The web application provides an easy-to-use interface for managing and monitoring the game, making the system accessible to users without technical expertise.