/mujinwebstackclientpy

Mujin Webstack Client (Python)

Primary LanguagePythonApache License 2.0Apache-2.0

Mujin Controller Python Client Library

Build status

This is an open-source client library communicating with the Mujin Controller WebAPI.

Releases and Versioning

  • The latest stable build is managed by the master branch, please use it. It is tested on Linux with Python 3.9.

  • Versions have three numbers: MAJOR.MINOR.PATCH

    • All versions with the same MAJOR.MINOR number have the same API ande are ABI compatible.

Running on Linux

Load mujinwebstackclient as a module in Python.

Install on Linux

pip install .

Licenses

Mujin Controller Python Client is Licensed under the Apache License, Version 2.0 (the "License"). See LICENSE

For developers

How to re-generate controllergraphclient.py

First, set up a virtualenv to install required pip packages:

# create a new virtualenv, you can also delete it afterwards
virtualenv .ve

# install required packages
./.ve/bin/pip install six==1.16.0 requests==2.27.1 graphql-core==3.2.0 typing_extensions==4.2.0

# install mujinwebstackclient
./.ve/bin/pip install .

Then, use mujin_webstackclientpy_generategraphclient.py to generate the content of the controllergraphclient.py file.

./.ve/bin/python devbin/mujin_webstackclientpy_generategraphclient.py --url http://controller123 > python/mujinwebstackclient/controllergraphclient.py