Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

README.rst

Latest commit

 

History

History
115 lines (71 loc) · 3.33 KB

README.rst

File metadata and controls

115 lines (71 loc) · 3.33 KB
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 andcontains IDE like debugging mechanisms. Alternatively, state machines can programmatically be generatedusing 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.
Example on how to create a simple state machine

Installation preparations

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

Installation requirements

sudo apt-get install python-dev python-pip build-essential glade python-gi-cairosudo -H pip install --upgrade pipsudo -H pip install --upgrade setuptools

General requirements

  • Python >=3.7
  • pip (recent version required: v23 known to be working)
  • pdm (recent version required: v2.9.3 known to be working)

Installing RAFCON

pip install rafcon --user

The--user flag is optional. If not set, RAFCON is installed globally (in this case you normaly need to have root privileges).

If during the installation the errorImportError: No module named cairo occurs, please install pycairo directlyvia:

pip install --user"pycairo==1.19.1"

Of course you can also directly use the RAFCON sources from GitHub.

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

Start RAFCON

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

rafcon

On a multi-python setup start rafcon using:

python<your-version> -m rafcon

Uninstallation

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

pip uninstall rafcon

[8]ページ先頭

©2009-2025 Movatter.jp