Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: New 2par calibration interface #39

Closed
wants to merge 9 commits into from

Conversation

bkje14
Copy link
Contributor

@bkje14 bkje14 commented Jan 3, 2025

New Interface for the 2-parameter calibration routine.

Motivation:

The current / old system is very prone to errors (much of the code is duplicated in each study). The calibration postures are not easily accessible or changed (hidden and duplicated in each study)

Usage

The new calibration interface can be enabled settings the BM_CALIBRATION_TYPE to _EXPERIMENTAL_CALIBRATION_TYPE_2PAR_

Structure

The new calibration studies are based around the concept of Range of Motion.
The new folder Main.Calibration.RangeOfMotion contains a joint-specific set of angles and postures that can be used in the calibration studies. Each variable uses the newer ??= operator and is therefore easily overwritten by the user.

A set of muscle fiber length ratios ((R values ) is defined in the Main.Calibration.RValues folder and can be used by the calibration studies. For more information on the process of muscle calibration see our online tutorial on the subject.

Features:

  • Reusable calibration model for legs using a class template
  • calibration postures defined as Range og Motion postures in central folder
    • Study objects prioritized high in the model tree
    • posture matrices defined as pointers to help readability in model tree (easy expandable)
  • leg calibration study as reusable class template

Missing:

  • arm and trunk calibration models
  • calibration study template for arms and trunk

@bkje14 bkje14 changed the title New 2par calibration interface feat: New 2par calibration interface Jan 3, 2025
@bkje14 bkje14 closed this Jan 8, 2025
@bkje14 bkje14 deleted the new-2par-calibration branch January 8, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant