Giter Site home page Giter Site logo

wandgibaut / cst_malmo_demo Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 19.79 MB

A simple cognitive agent built with CST for Malmo Platform (Minecraft).

License: GNU General Public License v3.0

Java 100.00%
artificial-intelligence cognitive-architecture malmo minecraft-mod cst

cst_malmo_demo's Introduction

CST agent example with Malmö

requirements

  • Java 8
    • although CST support more recent versions, Malmö itself uses an old gradle version, which supports up to Java 8
  • Gradle

CST

The CST Toolkit is a Java-based toolkit to allow the construction of Cognitive Architectures. It has been developed at the University of Campinas by a group of researchers in the field of Cognitive Architectures led by Prof. Ricardo Gudwin.

Note: This library is still under development, and some concepts or features might not be available yet. Feedback/bug report and Pull Requests are most welcome!

More info can be found in CST github page!

Malmö Platform

Project Malmö is a platform for Artificial Intelligence experimentation and research built on top of Minecraft. We aim to inspire a new generation of research into challenging new problems presented by this unique environment.

More info on Malmö github page!

Running the example

First, you need to run Malmö, as explained here

Important There are two important things to run this example.

  • You have to point the "libMalmoJava.so" (or ".dll", if using windows) to the Java path. This can be done by using the -Djava option to the JVM. As this file already is on this repo, you may use somethings like -Djava.library.path=<path/to/this/repo>/resources.
  • You also have to define two environmental variables: MALMO_XSD_PATH and MALMO_HOME, pointing respectively to Malmo Schemas and to home directory of your Malmo release. This can be done, for example, by adding MALMO_XSD_PATH=<path/to/Malmo/repo>/Schemas;MALMO_HOME=<path/to/Malmo/repo> on your IDE running configuration or by adding them (with "export ...") to your ~./bashrc file and source it.

Then you run the program, either the traditional way or through a fatJar. The agent should appear and turn right searching for emeralds on its line of sight (a very specific point) and go toward the jewel, once detected. Each run takes about 40 seconds. Also, a Mind Viewer will pop-up where an user can see Memories and Codelets contents and Codelets activation levels.

Note that the first run will take more time, as Malmö loads the environment.

Agent diagram

start



Running example (with mindviewer on the left)

start



running

cst_malmo_demo's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cst-group

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.