RRIA-API
The rria-api is an easy-to-use package that provides a common interface to control robots used by the
Residence in Robotics and AI at the UFPE's informatics center.
The API currently supports the use of Kinova Gen3 lite and Niryo NED,
this API supports a dummy robot for testing purposes.
Requirements
- Python 3.9+
- Kortex API .whl package
Installation
-
Download the v2.3.0 Kortex API .whl package (required for controlling the Kinova Gen3 lite):
-
Install the downloaded package with
pip:$ pip install <path to kortex_api-2.3.0.post34-py3-none-any.whl> -
Install the latest
rria-apipackage withpip:pip install rria-api
Example
from rria_api import RobotObject, RobotEnum
# Create gen3 RobotObject
gen3_lite = RobotObject('192.168.2.10', RobotEnum.GEN3_LITE)
# Create Niryo NED RobotObject
ned = RobotObject('169.254.200.200', RobotEnum.NED)
gen3_lite.connect_robot()
ned.connect_robot()
gen3_lite.move_joints(30.0, 30.0, 30.0, 30.0, 30.0, 30.0)
ned.move_joints(30.0, 30.0, 30.0, 30.0, 30.0, 30.0)
gen3_lite.get_joints()
ned.get_joints()
gen3_lite.close_gripper()
ned.close_gripper()
gen3_lite.open_gripper()
ned.open_gripper()
gen3_lite.move_to_home()
ned.move_to_home()
gen3_lite.safe_disconnect()
ned.safe_disconnect()
Contributors
If you want to contribute to the development of the rria-api, you can clone the repository from GitHub,
develop your changes and submit a pull request.
To generate the documentation, you need to install the docs' dependencies and run this command:
task docs
# or
mkdocs serve # For live preview
mkdocs build # For build the documentation
Metadata
Release files for rria-api 1.1.1
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 | Actions |
|---|---|---|---|---|
| rria_api-1.1.1.tar.gz | 9.8 kB | Without provenance | Details for rria_api-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rria_api-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for rria_api-1.1.1-py3-none-any.whl |
Total release size: 23.8 kB
Release files / rria_api-1.1.1.tar.gz
| Download URL | rria_api-1.1.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0066aa4e855d036942401d2a599b6dd6ff7392030cffe671ca3506d472b3edd
|
|
BLAKE2b-256 checksum How to use checksums |
b5822abf55f31a76c3038345c9ac0d06ff15e5034e5b1e7b26578f76dcc3400b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.4 Windows/10
|
Release files / rria_api-1.1.1-py3-none-any.whl
| Download URL | rria_api-1.1.1-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0fd504900c1a16e79d6fcf63f0e647b0602d7c275773e6b89ade0ead60da2ba
|
|
BLAKE2b-256 checksum How to use checksums |
b242343e4dba99497e7aba95d9a0df715a79aa0d511856f369723b9e31fb2a42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.4 Windows/10
|
Security for rria-api 1.1.1
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.