Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Task 1B

Line Follower using Q learning


Task Objective:

This task provides an alternate method to achieve the same goal as Task 1A. The Objective is to implement an RL based algorithm so that the lineFollower follows the line provided in the given arena.

What to do

  • Implement the RL based algorithm in Task1b.py.
  • Add your logic for state representation, rewards, action selection.
  • Make the Robot Follow the Line from start to end.

Getting Started:

RL Controller:

  • Download the following files for Task 1B.

  • Inside task_1b folder you will find few files and folders.

Task 1B Folder Structure
Figure 1: Task 1B folder layout

  • You have to modify the file namely task1b.py

NOTE: You must not make any modification in the task1b_scene.ttt of Task 1B.