Skip to content

All code which runs on the central computer or interfaces with the central computer. This includes collective robot behaviour, the centralised strategy planner using AI. It also includes SSL interface and simulation interface.

License

Notifications You must be signed in to change notification settings

DVA490-474-Project-Course/centralised-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centralised AI

About

This repository contains the executable code intended for running on the central computer, which is responsible for the overarching control of the robot team, as well as functionality for receiving data from the shared vision system (SSL-Vision) and referee software (SSL Game Controller) of RoboCup SSL, as well as fuctionality for communicating with the simulation software grSim (https://github.com/RoboCup-SSL/grSim).

Built with

The Centralized AI software is built with the following:

Getting started

Prerequisites

On Ubuntu and other Debian derivatives, CMake and Protobuf can be installed with:

sudo apt install build-essential cmake libprotobuf-dev protobuf-compiler

PyTorch can be downloaded from https://pytorch.org/ where the following options need to be selected:

  • PyTorch build: Stable
  • OS: Linux
  • Package: LibTorch
  • Language: C++/Java
  • Compute Platform: CPU
  • Choose download link with cxx11 ABI version

Installation

  1. Clone the repository:
git clone https://github.com/DVA490-474-Project-Course/centralised-ai.git
  1. Navigate to the project directory:
cd centralised-ai
  1. Open the CMakeLists.txt under repo root in a text editor and edit the path in the line:
set(CMAKE_PREFIX_PATH "/absolute-path-to/libtorch/share/cmake/Torch/")

to contain the absolute path of .../libtorch/share/cmake/Torch in the libtorch directory that was downloaded in the prequisites section.
  1. Create a build directory and navigate to it:
mkdir build & cd build
  1. Build the source code:
cmake ..
make
  1. Locate the binaries which should be stored in bin:
cd ../bin
  1. Execute the desired binaries.

Usage

Roadmap

API:

  • Develop Simulation interface
  • Develop SSL interface

Collective Robot Behaviour:

  • Develop AI algorithm
  • Ability to send and receive data from simulation
  • Ability to receive referee commands from SSL interface
  • Ability to receive pose data from SSL interface
  • Ability to send commands to robot
  • Ability to receive information from robot

Design diagrams

Design diagrams/files can be found in the docs directory. Additionally they are available on:

License

Distributed under the MIT License. See License for more information.

Contributors and contact

About

All code which runs on the central computer or interfaces with the central computer. This includes collective robot behaviour, the centralised strategy planner using AI. It also includes SSL interface and simulation interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6