Ipuch / bioNC

Natural Coordinates with python for biomechanics
MIT License
11 stars 4 forks source link

Refactoring Inertial Parameters & Improvements Needed #100

Open Ipuch opened 1 year ago

Ipuch commented 1 year ago

While working on refactoring the inertial parameters, I've realized and acted upon some inadequacies in how I initially coded the segments. After addressing concerns raised by @ANaaim in #96, I've managed to improve the code. Here's a brief of what I've done and what's still pending.

I've added methods to easily set inertial parameters at the segment level in #99 Example:

biomechmodel["thigh"].set_inertial_parameters(mass=..., center_of_mass=..., inertia_matrix=..., transformation_matrix_type=...)

Pending Tasks: