This university project involves programming an ePuck robot, a compact, two-wheeled robot equipped with various sensors. We aim to creatively utilize the robot's features through different modes like Pong game simulation and Alphabet writing.
videoepuckFinal.mp4
- ePuck robot with motors, microphones, camera, proximity sensors, and LEDs.
- Development environment for ePuck with necessary libraries.
- Pong Game Simulation: The robot plays a pong game within virtual boundaries, reacting to virtual walls and keeping score.
- Alphabet Writing Mode: Moves in patterns to write letters.
- Mapping and Position Tracking: Tracks its position and orientation.
- Sensor Integration: Uses proximity sensors, camera, and microphones.
- LED Management: Uses LEDs for feedback and interaction.
- Serial and USB Communication: For debugging and commands.
- Error Handling and System Management: Ensures smooth operation.
- Compile the Code: Include all libraries and compile for ePuck.
- Upload to ePuck: Use tools to upload the program to ePuck.
- Operate Modes: Use commands or button presses on ePuck to switch modes.
- main.h: Main header with libraries and function prototypes.
- game_management.h: Manages game modes and state transitions.
- audio_processing.h, microphone.h: For audio processing.
- camera_processing.h: Handles camera image processing.
- ir_thread.h, proximity.h: Manages IR sensors for proximity detection.
- motors_processing.h: Controls motor movements.
- leds.h: Manages LED states.
- Testing: Test each feature thoroughly in a controlled environment.
- Modifications: Code structured for easy modifications and future expansions.
- Debugging: Use serial outputs for debugging and monitoring.
This project is open for contributions. Fork, improve, and submit pull requests.
This project is released under the MIT License.
Creators: Vincent Naayem and Marc Favre Supervising Professor: Francesco Mondada
Thanks to the university, professors, and all contributors for their support in this project.
videoepuckFinal.mp4
videoEpuckDev.mp4
Results of live plotter:
![Screenshot 2020-05-11 at 00 04 34](https://private-user-images.githubusercontent.com/14961905/298287887-fd8575ed-1171-4f5d-89d7-f0fd373a7ed0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2MDA4NzYsIm5iZiI6MTcyMDYwMDU3NiwicGF0aCI6Ii8xNDk2MTkwNS8yOTgyODc4ODctZmQ4NTc1ZWQtMTE3MS00ZjVkLTg5ZDctZjBmZDM3M2E3ZWQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA4MzYxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5ODRiZGNmYzEwMjg0Mjc0MDE5ZGFhNDM4NDJmNzg1MjhlMjQ3NDllZjc1YjBjYTk5NWM4MDQzZTY2NDZiYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SWVoT83Kb1ddjfoU02MaZdYx5ADr_YvX_69sNKPpkno)
![Screenshot 2020-05-11 at 00 04 54](https://private-user-images.githubusercontent.com/14961905/298287878-53b1f265-9aa0-448b-87ff-d39205692d19.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2MDA4NzYsIm5iZiI6MTcyMDYwMDU3NiwicGF0aCI6Ii8xNDk2MTkwNS8yOTgyODc4NzgtNTNiMWYyNjUtOWFhMC00NDhiLTg3ZmYtZDM5MjA1NjkyZDE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA4MzYxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyZWQ5ZDIwNWUwOTZiODE0MzFmY2NmZGY1Y2NmZmVmYzdmMGI4MzM1MDdiZmI2ZTU2NGY2NDI5ZjQ2OTY3ZWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vZ79i9KnLcr6O0qSXMd1miWfWF2AxECVSyfqez_vGnE)