This repository hosts the control program for the 6-ROBOT modular mobile platform. The system integrates a grayscale sensor array for precise autonomous line tracking (trajectory following) and utilizes infrared (IR) sensors for real-time, reactive obstacle avoidance. The implementation focuses on robust sensor data processing to ensure stable navigation in dynamic environments.
- 6-ROBOT's modular robots: The main controller uses STMicroelectronics' Cortex-M3 processor with a main frequency of 72MH.
- Keil4 (or other C IDE)
Use J-Link or ST-Link to flash the project onto the robot's main controller.
Mode Switching Use the Up and Down buttons on the main controller to switch between line-following and automatic obstacle avoidance functions.
- UP: automatic obstacle avoidance
- DOWN: line-following