Skip to main content

No project description provided

Project description

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

  1. Install the latest rria-api package with pip:
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rria_api-1.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rria_api-1.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file rria_api-1.1.0.tar.gz.

File metadata

  • Download URL: rria_api-1.1.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.4 Windows/10

File hashes

Hashes for rria_api-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d0aa6add1f8593ab033a231da894b8039a0da3d81e3f2dc980b3f9897fcbedf4
MD5 45a27a5602132d01d74174ed68481257
BLAKE2b-256 0f4c98eba8754dc75f52e08c9a8ffb77562fa67351526be9f0108708eefb0107

See more details on using hashes here.

File details

Details for the file rria_api-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: rria_api-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.4 Windows/10

File hashes

Hashes for rria_api-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73c7a57565ae24579b9da9d9060a3376e66e83cc021cc3daf084d861af2a68cf
MD5 c4324ac33b5fac92e15b37e77d00bee1
BLAKE2b-256 ca967135eafe0e8d8a3a41c60bcac0e02175c5be5d43dbdbe4503c2ef164488a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page