This repository is used to store the codes for 2022 AIA robotics competition. We're using lightrover and it's API as a base and controller. The robot itself has one lidar sensor on the top of it. We're utilizing its sensor to calculate the distance of the surrounding wall and follow it.
As a result, we took second place in this competition with 29 seconds. The result can be seen here. 2022 AIA ROBOTICS COMPETITION RESULT
This repository has one main directory to store the main code (./dev). And a bunch of sample program for lightrover taken from its original repository (./sample).
├── dev
│ └── src
│ └── main.py
└── sample
└── main.py
The usage of this project is rather simple but some dependencies must be installed first in order to use it.
First, tmux must be installed. Use bellow command for linux distribution.
sudo apt update && apt install tmux -y
After tmux is installed you can go to ./dev/src and start ./run.sh
to run all the script.
If you want to run the script without ./run.sh
, make sure to run the script in this order to avoid blocked process caused by the fullness of query storage.
./keylogger.sh
./motor.sh
./wall_calc.sh
./lidar.sh
All the main code is stored in the ./dev/src/services directory. The code might be unpleasant to read because this project was rushed. Cheers!!