Code Monkey home page Code Monkey logo

idincern / rafcon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dlr-rm/rafcon

0.0 2.0 0.0 95.17 MB

RAFCON (RMC advanced flow control) uses hierarchical state machines, featuring concurrent state execution, to represent robot programs. It ships with a graphical user interface supporting the creation of state machines and contains IDE like debugging mechanisms. Alternatively, state machines can programmatically be generated using RAFCON's API.

Home Page: https://dlr-rm.github.io/RAFCON/

License: Other

Shell 0.03% Python 99.97%

rafcon's Introduction

RAFCON

Screenshot showing RAFCON with a big state machine

Develop your robotic tasks using an intuitive graphical user interface

RAFCON uses hierarchical state machines, featuring concurrent state execution, to represent robot programs. It ships with a graphical user interface supporting the creation of state machines and contains IDE like debugging mechanisms. Alternatively, state machines can programmatically be generated using RAFCON's API.

Universal application

RAFCON is written in Python, can be extended with plugins and is hard- and middleware independent.

Visual programming

The sophisticated graphical editor can be used for the creation, execution and debugging of state machines.

Collaborative working

Share and reuse your state machines in form of libraries, stored as JSON strings in text files.

Installation preparations

Before installing RAFCON, Python 2.7, pip and setuptools are required on your system. Most of the other dependencies are automatically resolved by pip/setuptools, but not all of them. Those need be be installed manually, too:

Installation requirements for Ubuntu 16.04

sudo apt-get install python-dev python-opengl python-gtkglext1 python-gtksourceview2 python-pip
sudo -H pip2 install --upgrade pip
sudo -H pip2 install --upgrade setuptools

Installation requirements for Ubuntu 18.04

sudo apt-get install python-dev python-opengl python-gtkglext1 python-gtksourceview2 python-pip build-essential glade python-glade2 libcanberra-gtk-module
sudo -H pip2 install --upgrade pip
sudo -H pip2 install --upgrade setuptools

General requirements

If you are not using Ubuntu 16.04 or 18.04, please make sure that the following packages are installed:

  • Python 2.7
  • pip (recent version required: v18 known to be working)
  • python-setuptools (recent version required: v40 known to be working)
  • python-opengl
  • python-gtkglext1
  • python-gtksourceview2
  • pylint

Installing RAFCON (from PyPi)

pip2 install rafcon --user

The --user flag is optional. If not set, RAFCON is installed globally.

Download RAFCON sources

cd /install/directory
git clone https://github.com/DLR-RM/RAFCON rafcon

Installing RAFCON (non-editable from source)

If you don't want to edit the source code of RAFCON, it can be installed directly from source:

pip2 install /install/directory/rafcon/ --user

Installing RAFCON (editable from source)

If you want to be able to change the source code, you can install RAFCON in editable mode.

pip2 install --editable /install/directory/rafcon/ --user

Any changes in /install/directory/rafcon/source will take effect when launching RAFCON.

Start RAFCON

No matter which installation option you choose, RAFCON can be started from any location using (make sure ~/.local/bin is in your PATH environment variable):

rafcon

Building the documentation

The documentation is build with sphinx:

sphinx-build -b html /install/directory/rafcon/doc /install/directory/rafcon/build_doc

This will build the documentation in the /install/directory/rafcon/build_doc folder. Pass -b pdf to generate a PDF instead of a HTML page.

Uninstallation

If you want to uninstall RAFCON, all you need to do is call

pip2 uninstall rafcon

Clean RAFCON directory

If you want to clean the RAFCON directory /install/directory/rafcon from any build/installation artifacts, you can do so with:

cd /install/directory/rafcon
rm -r build/ build_doc/ .eggs/ .cache/

rafcon's People

Contributors

franzlst avatar rbelder avatar sebastian-brunner avatar stoertebeker23 avatar sebastianriedel avatar

Watchers

James Cloos avatar idincern 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.