Robot Analysis Interface
The Robot Analysis Interface (RAI) is a package to analyze
synchronously sensors data and video captures of the scene from robotic experiments.
It is written in Python and uses Qt and OpenCV bindings under the hood.
It is supported on Linux operating systems.
Dependencies
RAI has the following dependencies:
The setup.py will take care of installing these packages.
However, you can also install them manually by running:
$ pip install -r requirements
which will also install the dependencies for building the documentation.
Installation
RAI releases can be instaled from PyPI by doing
$ pip install robot_analysis_interface
If you prefer to install from source, clone this repository, go to the root directory and type in
$ pip install .
or directly on the compressed file:
$ pip install robot_analysis_interface-xx.tar.gz
NOTE
It is recommended to install everything in a dedicated virtual environment.
Getting started
Quick way to open a data file/folder:
To open a data file or folder, you can use the script provided in this repository. Several type of data can be parsed:
- The SL
d-fileformat:
$ rai --data=d00021 --session=my_session.json
- A file dumped from the
DataCollectorclass available from the RAI API:
$ rai --data=data_collector_file.npy --session=my_session.json
$ rai --data=data_collector_file.npz --session=my_session.json
- A data folder dumped by the dynamic-graph framework.
$ rai --data=2019-08-12_02-03-19/ --session=my_session.json
- The default behavior looks for the newest data file/folder that are dumped by the dynamic-graph or SL is the current folder.
$ rai
Note from these commands:
- the (optional) data file or folder defined with the
--dataargument, - the (optional) JSON file one can use to define to restore a RAI session with the
--sessionargument, - without the
--dataargument the launcher looks into the current folder for a folder with the highest date name (e.g.2019-08-12_02-03-19), if none are found, it looks for the d-file with the highest index. - without
--sessionargument the launcher open a clean session.
Using the RAI python interface
To use the RAI, import the package in your Python session:
>>> import RAI
RAI comes with demos, which can be run using the following commands:
>>> RAI.demos.demo()
Documentation
The full documentation can be found here.
It can also be built from source the following way:
$ pip install sphinx sphinx_bootstrap_theme
$ cd doc
$ make html
and open the file build/html/index.html in your web browser.
Unit test
The RAI has been tested using the Python unit testing framework. The tests can be run using the following command in the root directory:
python -m unittest discover
It is also possible to run the tests using nose:
pip install nose
nosetests -v tests
If you wish to run headless tests, use xvfb.
Authors
Jean-Claude Passy jean-claude.passy@tuebingen.mpg.de
Maximilien Naveau maximilien.naveau@tuebingen.mpg.de
License
BSD 3-Clause (see LICENSE.md)
Copyright
© 2017, Max Planck Society / Software Workshop - Max Planck Institute for Intelligent Systems
Metadata
Release files for robot-analysis-interface 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| robot_analysis_interface-1.0.tar.gz | 11.9 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robot_analysis_interface-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 MB
Release files / robot_analysis_interface-1.0.tar.gz
| Download URL | robot_analysis_interface-1.0.tar.gz |
|---|---|
| Size | 11.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0da0c974fa0adee3498ee719a38376f96cba330741f96fd251052a0f90b39b72
|
|
BLAKE2b-256 checksum How to use checksums |
1747a3852e18b17246647261334304d39b5c6fb0bad59439b03963e7ea6fa2ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.0
|
Release files / robot_analysis_interface-1.0-py3-none-any.whl
| Download URL | robot_analysis_interface-1.0-py3-none-any.whl |
|---|---|
| Size | 12.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
630b97b41723c1b973b3a0c64e6491cf97b3ec03e1cee787a57463c0c9980035
|
|
BLAKE2b-256 checksum How to use checksums |
9f77db2e9c4c66a0ddb281507df01232a4e3f750d9655ccdf00e0cc930a2ce8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.0
|
Security for robot-analysis-interface 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.