Code Monkey home page Code Monkey logo

projectcerebral's Introduction

ProjectCerebral

This is our current project structure.

There are then 3 main components: Vision, AI and Control which can be found in the robot directory. The vision finds lines and circles which are then sent to the board classes to compute valid states. The AI module uses a negamax algorithm with alpha beta pruning for efficiency. Control is designed specifically for our robot to compute the joint parameters and send these to our motor controller on the Lego EV3.

Boards is a package within robot that contains all the logic we need for each board game.

There is also helper.py containing useful classes such as Position and Player used by all modules.

USE

  1. Clone repo with $ git clone https://github.com/Mulac/ProjectCerebral.git
  2. Install anaconda https://www.anaconda.com/distribution/ - we use conda enviroments to manage dependancies
  3. cd into ProjectCerebral directory
  4. conda env create -f environment.yml to create enviroment from yaml file
  5. conda activate robot to enter the enviroment
  6. python main.py to run the main loop

projectcerebral's People

Contributors

mulac avatar davidmarples avatar

Watchers

Joss Bird avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.