Add mjData.M, not yet used.

PiperOrigin-RevId: 758351796
Change-Id: I0786966b2f2c2e699db845cda6940a8821b23f49
This commit is contained in:
Yuval Tassa
2025-05-13 13:27:01 -07:00
committed by Copybara-Service
parent 1e02d66c3d
commit 79c74d7eae
7 changed files with 16 additions and 0 deletions
+1
View File
@@ -298,6 +298,7 @@ struct mjData_ {
// computed by mj_fwdPosition/mj_crb
mjtNum* crb; // com-based composite inertia and mass (nbody x 10)
mjtNum* qM; // total inertia (sparse) (nM x 1)
mjtNum* M; // total inertia (compressed sparse row) (nC x 1)
// computed by mj_fwdPosition/mj_factorM
mjtNum* qLD; // L'*D*L factorization of M (sparse) (nC x 1)