Skip to content
This repository was archived by the owner on Aug 27, 2020. It is now read-only.
marcelruhfPublic archive

About

This project aims to implement reinforcement learning for a selected part of soccer

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

37 Commits

Folders and files

Repository files navigation

SoccerRL

Purpose

To create a reinforcement learning agent capable of learning an element of RoboCup Soccer.

License

The source code of this project is licensed under the Apache License v2.0. See LICENSE.md for more details.

Requirements

This application was so far tested using the following libraries:

  • OpenCV v3.2.x
  • Boost v1.63.x
  • CMake v3.7.x

This application was tested on the following Operating System(s):

  • MacOS Sierra (v10.12)

Proposed implementation

  • Computer Vision components implemented using OpenCV
  • Implement reinforcement learning using Sarsa(λ), a TD(λ) method
  • State space discretisation using tile coding function approximation

Classes

  • RobotTracker: implements robot tracking mechanism using ArUco AR markers
  • MarkerFinder: actually finds the AR markers within the image
  • BallTracker: tracks the position of the ball in the image by thresholding the image based on lower and upper HSV colour space limits.
  • ActionValueFunction: implementation of True Online Sarsa(lambda)
  • Simulator: A simulation of the ball and robot movement for RL

Code Contributors

Hardware Contributors

Installing Prerequisites

Before compiling this project, you will need to have installed the prerequisites listed above. These instructions work for macOS X only. I am also assuming that you have Homebrew installed already.

brew install opencv3 --with-tbb --with-contrib  # YOU MUST INCLUDE THE tbb AND contrib LIBRARIES!
brew install boost

Compile

To run this project, you will need to compile it first.

cd /path/to/SoccerRL/{SimulatedRL or Tracker}
cmake .
make

This creates an executable called SoccerRL in /path/to/SoccerRL/Tracker/bin, or for the Simulator in /path/to/SoccerRL/SimulatedRL/bin/SimulatedRL.

About

This project aims to implement reinforcement learning for a selected part of soccer

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages