Skip to main content

This is a simple Python package for hexapod IK calculations.

Commands:

To be imported as ikengine

class IKEngine # initialises the class object. Takes 4 arguments in mm - coxaLength, femurLength, tibiaLength and bodySideLength. Optionally can take a 5th argument that can either be a list or a tuple. Please pass the servos that need to be reversed into this tuple/list. They will be reversed (angle = 180 - angle) for the whole runtime of your program that utilises this library.

shift_lean(posX, posY, posZ, rotX, rotY, rotZ) # returns an array of 18 servo angles that are calculated using IK from the given variables that correspond to the translation and tilt of the body of the hexapod. The order goes from tibia to coxa, from left to right and then from front to back

Any questions or suggestions? Please feel free to contact me at macaquedev@gmail.com

Metadata

Release files for 3dof-hexapod-ik-generator 1.0.0

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

Source distribution (sdist)

Source distribution for 3dof-hexapod-ik-generator 1.0.0
File Size Uploaded
3dof-hexapod-ik-generator-1.0.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for 3dof-hexapod-ik-generator 1.0.0
File Interpreter ABI Platform
3dof_hexapod_ik_generator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / 3dof-hexapod-ik-generator-1.0.0.tar.gz

Download URL 3dof-hexapod-ik-generator-1.0.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b0a7bcce2cfd1877958f66b4e26482ce425597c6ec02384640a2160ac41b6ea0
BLAKE2b-256 checksum
How to use checksums
9b2b2a7b32dad61d8bd7dd38c699b9d66ea39b29b636b707ff87cd651b5ed980
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

Release files / 3dof_hexapod_ik_generator-1.0.0-py3-none-any.whl

Download URL 3dof_hexapod_ik_generator-1.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf16cfac27a1a7e5fa8b69b62db92a17e06915754db5d51df0ca5fc217a1b5e1
BLAKE2b-256 checksum
How to use checksums
fe4d470c26400c31c3725fc1a1f0cdaa20bf0db99da8e549f19eb3e3bf128727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

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