Welcome to the comprehensive documentation suite for the EV3 Pybricks Q-Learning Path-Following Robot.
-
RUNNING_GUIDE.md
- Quickstart guide for PC simulation mode.
- Deploying and running on physical LEGO Mindstorms EV3 hardware via Pybricks MicroPython.
- Model training, execution, and troubleshooting commands.
-
CODE_EXPLANATION.md
- In-depth system architecture and modular component design.
- Explanation of the 4 discrete states, 6-action motor space, and Bellman equation.
- Deep dive into critical rules: Rule A (Reverse Trap), Rule B (Action Smoothness), Rule C (CW/CCW Detection), and Rule D (Non-RL IR Reflex).
-
PRECAUTIONS_AND_PITFALLS.md
- Light sensor reflection threshold calibration.
- Motor power drop and battery voltage compensation.
- MicroPython vs Standard Python compatibility caveats.
-
FUTURE_IMPROVEMENTS.md
- Advanced enhancements: SARSA, Q-learning with eligibility traces ($Q(\lambda)$), dual color sensors, continuous state spaces, and dynamic hyperparameter schedules.