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, with plans to support a Denso robot.

Requirements

  • Python 3.9+
  • Kortex API .whl package

Instalation

  1. Download the v2.3.0 Kortex API .whl package (required for controlling the Kinova Gen3 and Gen3 lite):
  1. Install the downloaded package with pip:
$ pip install <path to kortex_api-2.3.0.post34-py3-none-any.whl>
  1. Install the latest rria-api package with pip:
$ pip install rria-api

Example

from rria_api.robot_facade import *

# Create gen3 RobotObject
gen3_lite = RobotObject('172.22.64.105', 'gen3')

# Create Nirio NED RobotObject
ned = RobotObject('169.254.200.200', '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()

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.0.4.tar.gz (14.8 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.0.4-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rria_api-1.0.4.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.12 Linux/5.15.0-56-generic

File hashes

Hashes for rria_api-1.0.4.tar.gz
Algorithm Hash digest
SHA256 1577fb6d72aa99e26a6a65391468592724b9d9201120364a8d0a1d47f34395f5
MD5 f0af7741e75263f4f25c7293af05a9f0
BLAKE2b-256 c0b8b53b918be67c2635bb603062770e566102b5a87c9ccfc2095345d4737e04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rria_api-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.12 Linux/5.15.0-56-generic

File hashes

Hashes for rria_api-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fb5e2a653f9c482cd562048924fc8988916b0f8a193419c8907e7ffbd8a27a59
MD5 392e13b043eaeab656a1a81d1fce17c7
BLAKE2b-256 bee181ba1fe00c610e5bc9e091b1b057e4ee33a2fed0351d12077f28df860315

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