Git Product home page Git Product logo

gpsrcmdgen's Introduction

RoboCup@Home Command Generator

Set of sentence generators for the RoboCup @Home tasks. The latest updates follows following the tasks, rules, and specifications of the Rulebook for Sydney 2019.

To learn more about the rules, visit the RoboCup@Home website and the Rulebook repository.

The solution includes generators for the following tasks:

  • General Purpose Service Robot (GPSR)
  • Enhanced General Purpose Service Robot (EGPSR)

Minimum System Requirements

You need either the Microsoft .NET framework or Mono versions 4.5 or above. Although the code itself is compatible with the specification of the .NET Framework 2.0, the included solution files target a later build for compatibility.

Windows

Linux

  • Ubuntu

    sudo apt-get install mono-complete cmake git-all

  • Debian

    # apt install mono-devel cmake git-all

  • CentOS

    # yum install mono-devel cmake git-all

  • Fedora

    # dnf install mono-devel cmake git-all

Normally, running the aforementioned command in your linux distribution should suffice. Should this is not the case, it may be necessary to add the package repository. To learn more, please visit the Mono Project Website

Building

First clone the repository (you will need git installed)

git clone http://github.com/kyordhel/GPSRCmdGen.git

The building procedure depends on operating system. If you want to compile from source on:

Windows

First, download and unzip the solution from https://github.com/kyordhel/GPSRCmdGen/archive/master.zip. Once this is done, open the solution file and select run from the build menu.

Linux

First, clone the repository (you will need git installed)

git clone http://github.com/kyordhel/GPSRCmdGen.git

Then, all you need is to run cmake

cd GPSRCmdGen
make

Testing

GPSR

To build and test GPSR command generator use

make gpsr

or, to simply run it execute

mono bin/Release/GPSRCmdGen.exe

EGPSR

To build and test EEGPSR command generator use

make egpsr

or, to simply run it execute

mono bin/Release/EGPSRCmdGen.exe

Training

Both GPSR and EEGPSR generators support building a large set of randomly generated sentences by means of the --bulk [N] flag where the optional parameter N is an integer number between 10 and 10000 with default value of 100. Simply run either

mono bin/Release/GPSRCmdGen.exe --bulk 1000

or

mono bin/Release/EEGPSRCmdGen.exe --bulk 1000

Generated sentences will be stored in a text files in a subdirectory named after the grammar used for command generation. QR codes are also generated.

Reuse in other competitions and projects

Thanks to the MIT license, you can adapt this project to your own needs (acknowledgments are always appreciated). Feel free to use this generator.

The generators use free context grammars that contain wild-cards which are replaced by random values from xml configuration files. The grammar's format specification can be found here and here

Contributing

Contributions and questions are always welcome

gpsrcmdgen's People

Contributors

kyordhel avatar justinhart avatar loyvanbeek avatar hij0527 avatar johaq 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.