Skip to main content
pepper_kinematics
=====================

Description
---------------------

Originally, Pepper does not provide any inverse kinematics function. This provides simple inverse kinematics funciton.

Example
---------------------
"""
Move work_pose first, then move 5 centimeters toward left (y axis positive side).
"""

import time
import numpy as np
import naoqi as n
import pepper_kinematics as pk

host = 'nao.local'
port = 9559

m = n.ALProxy("ALMotion", host, port)
m.setAngles(pk.left_arm_tags, pk.left_arm_work_pose, 1.0)

time.sleep(1.0)

current_angles = m.getAngles(pk.left_arm_tags)
current_position, current_orientation = pk.left_arm_get_position(current_angles)

target_position = current_position
target_position[1] = target_position[1] + 0.05 # 5 cm toward left
target_orientation = current_orientation # This is not supported yet

target_angles = p.left_arm_set_position(current_angles, target_position, target_orientation)
if target_angles:
m.setAngles(pk.left_arm_tags, target_angles, 1.0)


How to install
---------------------
sudo pip install pepper_kinematics

Copyright
---------------------
* author: Yuki Suga
* copyright: Yuki Suga @ ssr.tokyo
* license: GPLv3

Metadata

Release files for pepper_kinematics 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepper_kinematics 0.0.6
File Size Uploaded Provenance Actions
pepper_kinematics-0.0.6.tar.gz 3.6 kB Without provenance Details for pepper_kinematics-0.0.6.tar.gz

Release files / pepper_kinematics-0.0.6.tar.gz

Download URL pepper_kinematics-0.0.6.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0256bacd616dd670b4ca0bdb4ceb382eb14d8e877a25c32865b459bb5971f2e6
BLAKE2b-256 checksum
How to use checksums
48160635c2d2bcbb9d52595d7f2c6984babc62169695888eab5b503ec561fca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pepper_kinematics 0.0.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page