Skip to main content

This is a new tool for multi-joint robotic arm calculations developed at RPI.

Project description

Summary:


Python Branch Guide:

Dependencies:


To Use Example Code:

  • Clone the above repo
  • To see timing information and a simple demo, run each sp#.py file
  • Otherwise, just include yhe pip module in your applications as needed

Advice:

  • NumPy vs MATLAB can be confusing at first, see this article for some clarity.
  • See the below note on precision/formatting.
  • NumPy makes it extremely easy to export/import entire matrices as csv/excel files. Make use of this if you can.

Precision and Formatting

  • If comparing values in Python to MATLAB output, be careful with how inputs are entered.
  • Also, note that values printed in the test files are not the exact values used in the calculations.
  • Vectors in NumPy are of form [n n n] (0 row, 3 col). You cannot have a vector of 3 col, 0 row.
    • Note, the MATLAB version of this code uses vectors of 3 col, 0 row, which is why some calculations look slightly different.

In Python:

p1 = [0.85421456 0.9145417 0.28164908]
p2 = [0.71384302 0.84785577 0.40390217]
k1 = [0.53432959 0.73260445 0.42164275]
k2 = [0.89871158 0.33336884 0.2849258 ]

In MATLAB:

p1 = [0.85421456; 0.9145417; 0.28164908]
p2 = [0.71384302; 0.84785577; 0.40390217]
k1 = [0.53432959; 0.73260445; 0.42164275]
k2 = [0.89871158; 0.33336884; 0.2849258 ]

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

linearsubproblemsltns-1.0.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

linearsubproblemsltns-1.0.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file linearsubproblemsltns-1.0.0.tar.gz.

File metadata

  • Download URL: linearsubproblemsltns-1.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for linearsubproblemsltns-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4e31436be8614d154a99f14579ac563c8e47135f5711c644267ced2445bde888
MD5 9c741b6b779ef2cc9329304d517a8e42
BLAKE2b-256 5372f15179ba62958a9d60c61552aadaa6a6fd64f3d839313196d99801b77d2c

See more details on using hashes here.

File details

Details for the file linearsubproblemsltns-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for linearsubproblemsltns-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b43f6cf0ccc44f5a442e18a624c04451c52c642fe3c00a26cbf9c8321f266a
MD5 a31cd68b07687f3a3e4769bc0bd2b7e9
BLAKE2b-256 fd61ad654c5631c6823419a1ddc66e6b195ca50fb308f2c8b28c6164d8110047

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