Welcome to the Hologlyph Bots project! This repository contains the code and resources for a team of three holonomic drive robots designed to create large drawings resembling geoglyphs. The robots coordinate with each other using an overhead camera and are controlled via ROS2 and micro-ROS.
Here are the contributors to this project:
The Hologlyph Bots project aims to create intricate drawings by coordinating three holonomic drive robots. The robots are localized using Aruco markers and controlled through an overhead camera system. Each robot is equipped with a pen mechanism connected to a servo motor, allowing them to draw on a surface.
- ros2_package/: Contains the final ROS2 package for controlling the robots.
- microros_script/: Contains the micro-ROS script uploaded on the ESP32 for robot control.
-
Clone the Repository:
git clone https://github.com/yourusername/hologlyph-bots.git cd hologlyph-bots
-
Install Dependencies:
- ROS2: Follow the official ROS2 installation guide.
- Micro-ROS: Refer to the micro-ROS documentation.
-
Build the ROS2 Package:
cd ros2_package colcon build source install/setup.bash
-
Upload the micro-ROS Script:
- Connect the ESP32 to your computer.
- Navigate to the
microros_script
directory and follow the upload instructions.
The robots can operate in two different modes: Function Mode and Image Mode.
In Function Mode, the robots follow pre-defined mathematical functions to create drawings. To start this mode:
ros2 launch hologlyph_bots function_mode.launch.py
In Image Mode, the robots use an image file to guide their drawing. To start this mode:
ros2 launch hologlyph_bots image_mode.launch.py
The robots are localized using Aruco markers. Ensure that the markers are placed correctly in the environment and are visible to the overhead camera. The localization node will process the camera feed to determine the positions of the robots.
Each robot is equipped with a pen mechanism controlled by a servo motor. The pen can be raised or lowered based on the drawing commands received from the ROS2 nodes.
#THANK YOU