Skip to main content

RCS libfranka integration

Project description

RCS Panda Extension

Support for the Franka Emika Panda robot in RCS.

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

Installation

Install the Debian dependency first:

sudo apt install $(cat debian_deps.txt)

Install from PyPI:

pip install rcs-panda

Warning: plain pip install rcs-panda 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_panda --no-build-isolation

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

Add your Panda Desk credentials to a .env file:

DESK_USERNAME=...
DESK_PASSWORD=...

Usage

from rcs.envs.base import ControlMode, RelativeTo
from rcs_panda.configs import DefaultPandaHardwareEnv

env_creator = DefaultPandaHardwareEnv()
env_creator.ip = "192.168.4.100"

cfg = env_creator.config()
cfg.control_mode = ControlMode.CARTESIAN_TQuat
cfg.camera_cfgs = None
cfg.max_relative_movement = 0.2
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 example, see src/rcs_panda/panda_env_cartesian_control.py.

CLI

python -m rcs_panda --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_panda-0.7.2-cp313-cp313-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

rcs_panda-0.7.2-cp312-cp312-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

rcs_panda-0.7.2-cp311-cp311-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for rcs_panda-0.7.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c61da3098d319236130c3a20030eb58e6dc3f04b877971e1863c17f7398ae33f
MD5 51ab329309083d0ad3774efefafee67b
BLAKE2b-256 fc9b023f48e0ad11deefeb00f503fca722d840deb2bda10db58abe135a0d9895

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rcs_panda-0.7.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 960a3386ff6fcd8df9b2b9dd4e3822336434588cef56268ead27a77405a2cb77
MD5 ee133406dc89aa42af88ba9e1fdfad9f
BLAKE2b-256 b65c986960bfcdfbcd426d5bbbd81eed07c7a34ac82a43d9d74d12ee3c6e47d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rcs_panda-0.7.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e248d5fa16a075c9be5aadff74c22169478f8f9063b9ece61f20317317e793b9
MD5 d383da9d6f12216bfed06d2596254cd0
BLAKE2b-256 c05931c27871d089c31b1b8858446bc38cb92b6e367151b5e9010a0cdf0fff33

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