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:
[ ] Implement methods for the entire biomech model, e.g., Biomech.set_inertia_parameters(segment_name=..., ...). This method should also update the mass matrix.
[ ] Create links between the model creator and these new methods to allow direct value specification.
[ ] Introduce functions related to inertial parameters (from anthropometric tables) that can auto-adjust based on segment length during model creation. This will eliminate the need to manually input these values.
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:
Pending Tasks: