This package is deprecated and will not be updated anymore.
Use mujinwebstackclientpy and mujinplanningclientpy instead.
This is an open-source client library communicating with the Mujin Controller WebAPI.
-
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.
Load mujincontrollerclient as a module in Python.
pip install .
Mujin Controller Python Client is Licensed under the Apache License, Version 2.0 (the "License"). See LICENSE
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 pyzmq==22.3.0 graphql-core==3.2.0 typing_extensions==4.2.0
# install mujincontrollerclient
./.ve/bin/pip install .
Then, use the mujin_controllerclientpy_generategraphclient.py
to generate the content of the controllergraphclient.py
file.
./.ve/bin/python devbin/mujin_controllerclientpy_generategraphclient.py --url http://controller123 > python/mujincontrollerclient/controllergraphclient.py