Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
c0e6dc1
Renaming muscle groups and sorting muscles alphabetically
Jul 16, 2025
72f9a4a
description for longissimus thoracis
Jul 16, 2025
25efcf6
Fix part of illiocostalis and longissimus names of muscle model refer…
Jul 28, 2025
c60b5c6
fix evaluate moment arm study names of illiocostalis and longissimus …
Jul 28, 2025
bc0c462
muscle parameter names fix, sorted alphabetically (model does not load)
Jul 28, 2025
aa94bec
Muscle parameters (first draft completed)
Jul 30, 2025
5ad84ad
fix muscle view transversus throacis
Jul 30, 2025
08fb394
Diaphragm muscle naming
Jul 30, 2025
9e463cd
fix bug in naming muscle parameters
Jul 31, 2025
905381b
Iliocostalis muscle naming
Jul 31, 2025
9b3ff28
Intercostalis muscle name. Fixed bug, wrong muscle parameters used
Jul 31, 2025
2ad5645
LevatorCostarum muscle name
Jul 31, 2025
430b9ec
LongissimusCervicis muscle name
Jul 31, 2025
9085ed8
LongissimusThoracis muscle name
Jul 31, 2025
cc97c1a
LongusColli and LongusCapitis muscle name
Jul 31, 2025
99c921d
MultifidusLumborum
Jul 31, 2025
e4ba4c9
MultifidusThoracis
Jul 31, 2025
0089d48
ObliquusExternus Volume mode
Jul 31, 2025
dc3cc48
ObliquusExternus Buckle mode
Jul 31, 2025
ccc9f95
ObliquusInternus volume mode
Jul 31, 2025
7d81d37
ObliquusInternus Buckle mode
Jul 31, 2025
4aae2d7
Sorting changes a bit due to changing muscle group names
Jul 31, 2025
d9b1724
Puborectalis and Pupococcygeus
Jul 31, 2025
e17f743
QuadratusLumborum
Jul 31, 2025
833bd2b
RectusAbdominis
Jul 31, 2025
22918f1
RotatoresLongus and Brevis
Jul 31, 2025
5ffe4ad
Scalenus
Jul 31, 2025
f41e82a
Scalenus
Jul 31, 2025
c2551ef
SemispinalisThoracis
Aug 1, 2025
5ff10a0
SerratusPosteriorSuperior and SerratusPosteriorInferior
Aug 1, 2025
607fa28
Spinalis
Aug 1, 2025
04d3215
SpleniusCapitis
Aug 1, 2025
efd653a
Subcostalis
Aug 1, 2025
591530d
TransversusAbdominis Volume
Aug 1, 2025
906a8ef
TransversusThoracis
Aug 1, 2025
5936596
PsoasMajor including changes in trunk and leg files
Aug 1, 2025
29690ee
Update and fix bug in muscle parameter files
Aug 1, 2025
64d7e4c
Fix typo LongusColli
Aug 1, 2025
317fbf6
Fix bug in MultifidusLumborum
Aug 1, 2025
79657d3
Muscle parameter update
Aug 1, 2025
4a45cf2
update muscle parameters
Aug 1, 2025
1ce1690
fix Hyoid
Aug 1, 2025
f0038b5
fix bugs
Aug 1, 2025
df2d0e9
fix bugs
Aug 1, 2025
a6e1414
Bug fix
Aug 4, 2025
0e7a7e4
Spelling fix
Aug 4, 2025
24fc21a
Multifidi to MultifidusLumborum
Aug 4, 2025
b9eb1e5
fix
Aug 4, 2025
e701565
Fix issues
Aug 4, 2025
90b9fd3
Excluding Puborectalis and Pubococcygeus from being calibrated
Aug 4, 2025
74403a1
Fix test_calibration_trunk cervical motion avoiding zero in Lf0s of c…
Aug 4, 2025
9cc9359
fix bugs
Aug 5, 2025
8a278c5
Merge branch 'Muscl_Naming' into ArmMuscleNaming
Aug 8, 2025
2763ff9
LevatorScapulae
Aug 8, 2025
9e13fd7
TrapeziusScapular
Aug 8, 2025
4d670d9
TrapeziusClavicular
Aug 8, 2025
e5f4205
Separate BicepsBrachiiBreve and Longum and Coracobrachialis naming
Aug 8, 2025
52e30ce
DeltoideusPosterior
Aug 8, 2025
43f6eaa
DeltoideusLateral
Aug 8, 2025
4ae93da
DeltoideusAnterior
Aug 8, 2025
675f663
Infraspinatus
Aug 8, 2025
bf6b5db
LatissimusDorsi
Aug 8, 2025
d7087a6
PectoralisMajorSternocostal
Aug 11, 2025
1c10eac
PectoralisMajorClavicular
Aug 11, 2025
a05706b
PectoralisMinor
Aug 11, 2025
dc4db3f
Rhomboideus
Aug 11, 2025
3ff5a45
SerratusAnterior
Aug 11, 2025
3f12f84
Subscapularis, Supraspinatus, TeresMajor, TeresMinor
Aug 11, 2025
b2cbc42
Brachialis
Aug 11, 2025
15e5172
TricepsBrachii Longum, Mediale, Laterale
Aug 11, 2025
5f16650
Brachioradialis, Anconeus, PronatorTeres
Aug 11, 2025
7f9b190
Supinator
Aug 11, 2025
bf5f3d8
PronatorQuadratus, ExtensorIndicis, AbductorPollicisLongus, ExtensorP…
Aug 11, 2025
adddcd0
ExtensorCarpiUlnaris, FlexorCarpiUlnaris, FlexorCarpiRadialis, Palmar…
Aug 11, 2025
608d392
FlexorDigitorumProfundus, ExtensorDigitorum, ExtensorDigitiMinimi, Fl…
Aug 11, 2025
b3f73c0
fix compatibility
Aug 11, 2025
7f7e780
fix calibration (still need fix)
Aug 12, 2025
980e763
Merge branch 'ammr4-beta' into Muscl_Naming
melund Aug 12, 2025
0e5c2a4
More fixes to muscle calibration
Aug 12, 2025
0f4de3e
Merge branch 'ammr4-beta' into Muscl_Naming
melund Aug 12, 2025
ef26feb
Fix calibration test
Aug 13, 2025
a032af8
Merge remote-tracking branch 'remotes/origin/ammr4-beta' into ArmMusc…
Aug 13, 2025
8cf8cf6
Merge remote-tracking branch 'remotes/origin/Muscl_Naming' into ArmMu…
Aug 13, 2025
6ae7c0f
Remove Refs from muscle folder
Aug 13, 2025
b54f03e
Moving references and wrapping surfaces from muscle folder to the Wra…
Aug 14, 2025
9f61a10
Defining folder in arm root folder
Aug 14, 2025
cb2e974
fix bugs from extra folder
Aug 14, 2025
1c4e510
Sort alphabetically
Aug 19, 2025
888a51d
fix name of PronatorTeresUlnare
Aug 19, 2025
bc37531
Muscle parameters ran by code
Aug 19, 2025
f609193
Merge branch 'ammr4-beta' into ArmMuscleNaming
Hamedshayestehpour Aug 20, 2025
a82436f
removing unused nodes and fix typo in naming
Aug 20, 2025
dbd52b8
fix bug from code making muscle parameters
Aug 20, 2025
236d5ba
Merge branch 'ArmMuscleNaming' of https://github.com/AnyBody/AMMR4-Be…
Aug 20, 2025
13a05b5
fix typo searching for a muscle
Aug 20, 2025
b78dc01
Tweak the angles of the ellipsoids that wrap the surfaces of the post…
Aug 22, 2025
c6d461a
Tweak the angles of the ellipsoids that wrap the surfaces of the post…
Aug 25, 2025
53c8a53
Revert Tweaks
Aug 25, 2025
c78bbf6
fix typo
Aug 25, 2025
d7e0ba8
sort deltoid elements
Aug 25, 2025
7772de4
fix for posterior deltoids (still in progress)
Aug 29, 2025
bfadb2d
continuing
Sep 2, 2025
e95d29d
new ellipsoids and constraints are Avg measures 6DOF (not finished)
Sep 9, 2025
3809c7c
New wrapping Works but needs clean up
Sep 10, 2025
00b55ed
move the anterior ellipsoids to the anterior segment
Sep 10, 2025
ea6a7a7
clean up and restructure
Sep 11, 2025
18fbd61
clean up ellipsoid definitions
Sep 12, 2025
0e0d663
Remove extra empty lines
Sep 12, 2025
6cce99c
Merge remote-tracking branch 'remotes/origin/ammr4-beta' into Deltoid…
Sep 12, 2025
55a67ca
tuning the distances to avoid small penetration in upright arm posture
Sep 12, 2025
09ae961
Run tests with AMS 8.2.0beta5
melund Aug 29, 2025
51d3532
fix: update runner version to windows-2025 in workflow files
melund Aug 30, 2025
a67a1b4
Merge remote-tracking branch 'remotes/origin/test-with-ams-8.2.0beta5…
Sep 15, 2025
86353ef
improve deltoid wrapping
Sep 22, 2025
ba7633b
SmallStepAssumptionOnOff to Off for tests
Sep 22, 2025
505556d
update Deltoid wrapping
Sep 22, 2025
1ea3e78
change the order of wrapping surfaces
Sep 22, 2025
eb98ce9
Ellipsoid wrapping finished (works without penetration)
Sep 23, 2025
145af13
Deltoid wrapping new setup
Oct 23, 2025
c6c2ce4
Sphere and via nodes concept
Oct 31, 2025
10dadf1
Via nodes, and cyl version for all
Nov 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions Body/AAUHuman/Arm/ArmData1.1/ArmModelParameters.any
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ AnyFolder Humerus = {
AnyFloat art_tub_majus_pos = {0.021, 0.009 , -0.02}+OffSet;
AnyFloat sulcus_intertubercularis_pos = {0.017500, -0.023000, -0.0175000}+OffSet; // 0.5*(.art_tub_majus.sRel+.art_tub_minus.sRel)+.Scale({.....Sign*0.003,0.0,0.0}); // midpoint
AnyFloat sulcus_intertubercularisTop_pos = {0.017, 0.023000, -0.02650}+OffSet; //.sulcus_intertubercularis.sRel+.Scale({.....Sign*-0.005,0.015,0.003});
AnyFloat Deltoid_hum = {0.0006969078, -0.145082, 0.007705414};
AnyFloat Deltoid_hum_p3 = {0.012821, -0.13903, 0.01491};

#if BM_ARM_DELTOID_WRAPPING == _DELTOID_WRAPPING_RAKE_
AnyFloat I_deltoideus_scapular_part_1_pos = {0.009442, -0.095031 , -0.005209}+{0,0,0.005}+ds1;
Expand Down Expand Up @@ -460,9 +462,20 @@ AnyFolder Ulna = {
AnyFolder Scapula = {
AnyFloat sCoM_pos = {-0.06,-0.04,0.02};

AnyFloat deltoid_cyl_P2_pos = {0.027588, -0.047361, -0.015292};
AnyFloat deltoid_cyl_P3_pos = {-0.128825, -0.129236, 0.024150};

AnyFloat deltoid_cyl_P1_pos = {-0.1307360, -0.1302360, 0.006280000}+{0,0.02,0};
AnyFloat deltoid_cyl_P2_pos = {0.027588, -0.047361, -0.015292}+{0,0.02,0};
AnyFloat deltoid_cyl_P3_pos = {-0.128825, -0.129236, 0.024150}+{0,0.02,0};
// AnyFloat Deltoid_Cyl_P1_pos = {-0.1307360, -0.1302360, 0.006280000};//+{0,0.02,0};
// AnyFloat Deltoid_Cyl_P2_pos = {0.027588, -0.047361, -0.015292};//+{0,0.02,0};
// AnyFloat Deltoid_Cyl_P3_pos = {-0.001,-0.048,-0.030};//{-0.128825, -0.129236, 0.024150};//+{0,0.02,0};
// AnyFloat Deltoid_Anterior_Cyl1_pos = {0.02339800, -0.05086300, -0.03438100}+{-0.1,0.06,-0.1};
// AnyFloat Deltoid_Anterior_Cyl2_pos = {0.02339800, -0.05086300, -0.03438100}+{-0.1,0.06,-0.08}+{0,-0.03,-0.01};
// AnyFloat Deltoid_Anterior_Cyl_pos = {0.02339800, -0.05086300, -0.03438100}+{-0.1,0.06,-0.06};
// AnyFloat Deltoid_Anterior_CylStop1_pos = {0.02339800, -0.05086300, -0.03438100}+{0.05,0.04,0.0};
// AnyFloat Deltoid_Anterior_CylStop2_pos = {0.02339800, -0.05086300, -0.03438100}+{0.05,0.04,-0.01};
// AnyFloat Deltoid_Anterior_CylStop3_pos = {0.02339800, -0.05086300, -0.03438100}+{0.05,0.04,-0.03};
// AnyFloat Deltoid_Anterior_CylStop4_pos = {0.02339800, -0.05086300, -0.03438100}+{0.05,0.04,-0.05};

AnyFloat margo_medialis_P2_pos= {-0.1114460, 0.0300000, -0.003720};
AnyFloat margo_medialis_P3_pos= {-0.1157360, -0.1402360, 0.01628000};
AnyFloat margo_medialis_pos = {-0.1157360, -0.1402360, 0.006280000};
Expand Down
19 changes: 19 additions & 0 deletions Body/AAUHuman/Arm/CalEllipsMembers_3nodes.any
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Define ellipsoid's raduis, sRel, and ARel based on origin and insertion nodes
AnyFloat pos_node1 = .HumerusRef.r0 + (.HumerusRef.Axes0 * Node1.sRel')'-.r0;
AnyFloat pos_node2 ??= .ScapulaRef.r0 + (.ScapulaRef.Axes0 * Node2.sRel')'-.r0;
AnyFloat axes_node2 ??= .ScapulaRef.Axes0 * Node2.ARel;
AnyFloat pos_node3 ??= .ScapulaRef.r0 + (.ScapulaRef.Axes0 * Node3.sRel')'-.r0;
AnyFloat pos_gh = .ScapulaRef.r0 + (.ScapulaRef.Axes0 * .ScapulaRef.gh.sRel')'-.r0;

AnyFloat Rxy ??= ...DeltoidWrappingPosterior.WrappingSegment.AlignmentRefNode.Deltoid_Scapula_Cyl.cyl.Radius;//.....Segments.Scapula.Deltoid_Scapula_Cyl.cyl.Radius;//vnorm( (pos_node2 - pos_node1) )/5;
AnyFloat Rz = Rxy*5;
//AnyFloat DistanceRatio ??= 1.45;
//AnyFloat AdjustorDirection ??= {1,.....Sign*0.3,0};
AnyFloat AdjustorXRotation ??= pi/2;
Radius = {Rxy, Rxy, Rz};
AnyFloat Sizes = Radius;
AnyMatrix RotMatrix ??= RotMat(pos_node1, pos_node2, pos_node3) * RotMat(AdjustorXRotation,x);
sRel ??= pos_gh;//(pos_node2 + pos_node1)/2;// + Rxy*DistanceRatio * (RotMatrix*(AdjustorDirection/vnorm(AdjustorDirection))')';
ARel ??= RotMatrix * RotMat(pi/2 - .....Sign * pi/2,x);

// viewSurface = {Visible = On; Opacity = 0.1; RGB = {0.5, 0.1, 0.1}; Transparency = 0.7; };
2 changes: 1 addition & 1 deletion Body/AAUHuman/Arm/Calibration/ShoulderCal.any
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ AnyBodyCalibrationStudy ArmCalibrationStudyShoulder = {
AnyFolder &ref=.ShoulderCal;
nStep = SizesOf(ref.GHPosData)[1]*6;
FiberAndTendonLengthAdjustment.CalibrateTendonAtMaxForceOnOff = On;
Kinematics.SmallStepAssumptionOnOff = On;
Kinematics.SmallStepAssumptionOnOff = Off;
Kinematics.PosAnalysisOnlyOnOff = On;
InitialConditions.PosAnalysisOnlyOnOff = On;

Expand Down
2 changes: 1 addition & 1 deletion Body/AAUHuman/Arm/Calibration/SpineDependentCal.any
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ AnyBodyCalibrationStudy ArmCalibrationStudySpineDependent = {
AnyFolder &ref=.SpineDependentCal;
nStep = 8;

Kinematics.SmallStepAssumptionOnOff = On;
Kinematics.SmallStepAssumptionOnOff = Off;
Kinematics.PosAnalysisOnlyOnOff = On;
InitialConditions.PosAnalysisOnlyOnOff = On;

Expand Down
Loading