Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.6 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.6 KB

Line Follower Simulator

This repository provide a simulator for a line follower robot.

Manual Control

The user can control the robot manually using keyboard keys (arrows and space bar keys). For this, he should comment the line that invoke automatic control method (line 161) and uncomment the line that invoke manual control method (line 168).

Automatic Control

The user can set the automatic control mode of the robot by commenting the line that invoke manual control method (line 168) and by uncommenting the line that invoke automatic control method (line 161). Moreover, the user can change the default circuit and control algorithm by using new image (e.g. "circuit_2.png" ) for the background and the circuit to follow and by implementing his own version of "automatic_control" method.

Future Work

We plan to add background simulator mode with no graphical interface in order to allow some reinforcement learning algorithms and libraries (e.g. gym) to interact with our simulator and to learn a control policy for an automatic agent.