Add mjData.nl: number of active limit constraints.

PiperOrigin-RevId: 561012367
Change-Id: I9a01fec55502f8a90d7435972e477455ae29df15
This commit is contained in:
Yuval Tassa
2023-08-29 06:31:25 -07:00
committed by Copybara-Service
parent 389736f5a1
commit df1b3515c7
7 changed files with 19 additions and 2 deletions
+1
View File
@@ -1329,6 +1329,7 @@ static void _resetData(const mjModel* m, mjData* d, unsigned char debug_value) {
// clear variable sizes
d->ne = 0;
d->nf = 0;
d->nl = 0;
d->nefc = 0;
d->nnzJ = 0;
d->ncon = 0;