Skip to main content

RCS libfranka integration

Project description

RCS FR3 Extension

Support for the Franka Research 3 (FR3) robot in RCS.

This extension depends on rcs-core. Documentation: https://robotcontrolstack.org/extensions/rcs_fr3

Installation

Install the Debian dependency first:

sudo apt install $(cat debian_deps.txt)

Install from PyPI:

pip install rcs-fr3

Warning: plain pip install rcs-fr3 will install the published rcs-core dependency from PyPI.

Install from a local checkout for development:

pip install -ve . --no-build-isolation

If you want this extension to use your local RCS checkout instead of the published rcs-core package, first install the main package from the repository root:

pip install -ve . --no-build-isolation
pip install -ve extensions/rcs_fr3 --no-build-isolation

For libfranka version details, see https://robotcontrolstack.org/extensions/libfranka_versions.

Add your FR3 Desk credentials to a .env file:

DESK_USERNAME=...
DESK_PASSWORD=...

Usage

from rcs.envs.base import ControlMode, RelativeTo
from rcs_fr3.configs import DefaultFR3HardwareEnv

env_creator = DefaultFR3HardwareEnv()
env_creator.ip = "192.168.101.1"

cfg = env_creator.config()
cfg.control_mode = ControlMode.CARTESIAN_TQuat
cfg.camera_cfgs = None
cfg.max_relative_movement = 0.5
cfg.relative_to = RelativeTo.LAST_STEP

env = env_creator.create_env(cfg)
obs, info = env.reset()
print(env.get_wrapper_attr("robot").get_cartesian_position())

For a maintained end-to-end example, see examples/fr3/fr3_env_cartesian_control.py.

CLI

python -m rcs_fr3 --help

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

rcs_fr3-0.7.2-cp313-cp313-manylinux_2_28_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

rcs_fr3-0.7.2-cp312-cp312-manylinux_2_28_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

rcs_fr3-0.7.2-cp311-cp311-manylinux_2_28_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

File details

Details for the file rcs_fr3-0.7.2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rcs_fr3-0.7.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d0980f893689ccadf3b06317499b7bac56b6f5003e45004345307ce0985ec83
MD5 308ebc572202f2bee4ef85be4cf8523a
BLAKE2b-256 fe26b30e5cb5976b7412d64de5b336947aa08d08b4f592be1cd5ec9843a7b9de

See more details on using hashes here.

File details

Details for the file rcs_fr3-0.7.2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rcs_fr3-0.7.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 810b0393069bea775d3baab0d6ae93355beee1602689fc9d749ed071b5084c7d
MD5 2978f3f3d8fb377fe8cd51d62dc52740
BLAKE2b-256 d5e321843c6bcc544b96ad0b7f6436c4bc37d1f6774090d0951dfc2a74d5d168

See more details on using hashes here.

File details

Details for the file rcs_fr3-0.7.2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rcs_fr3-0.7.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 227197774a1ea84f65ae6a144584d3da8d3a5d3f3d6222a5d0d4c47ef9e02fb0
MD5 e157ebb08db4bdc13a4e7a98340071df
BLAKE2b-256 606ef5ed101875a47a1c86e64d3ad4c1ac3de9071095a2ec1f7fc52544869323

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