Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

44 lines (23 loc) · 1.19 KB

Linkage Analysis

A linkage analysis project with kinematics and animation.

12/3/2023 UPDATE fix bugs and adjust for readability.

image

This project utilizes sympy, which is not the best idea for numerical calculations. Symbolic calculation could be seen as an alternative solution to some numerical problems, but when the solution does not have a close form, only numerical calculations will work.

Files

kinematic analysis.py

Input favorable dimensions of the linkage, and the program will output the kinematic data of the linkage. Please see linkage analysis.pdf for more details.

animation.py

Input favorable dimensions of the linkage, and the program will output the animation of the linkage. Please see linkage analysis.pdf for more details.

utils.py

This file contains some useful functions for the project. Both other two Python files import this file.

Variable Naming

letter

link: r

angle: t

velocity: v

angular velocity: w

acceleration: a

number

For numbering the links. See .pdf for reference.

normal or symbolic

Normal variables with numerical values are named with a "v" in the middle, e.g. rv1, rv2, which is different from symbolic ones.