Delete remaining code related to now-removed distance equality constraint.

PiperOrigin-RevId: 513391064
Change-Id: I47fc344708a580c1e99bd2753113aaa408812966
This commit is contained in:
Yuval Tassa
2023-03-01 17:57:07 -08:00
committed by Copybara-Service
parent 50bebcb4ee
commit fd1070cf03
7 changed files with 12 additions and 59 deletions
+1 -5
View File
@@ -908,7 +908,7 @@ void mj_transmission(const mjModel* m, mjData* d) {
}
}
// excluded contact, get sparse or dense Jacobian, accumulate
// excluded contact in gap: get sparse or dense Jacobian, accumulate
else if (con->exclude == 1) {
counter++;
@@ -2034,10 +2034,6 @@ void mj_rnePostConstraint(const mjModel* m, mjData* d) {
i++;
break;
case mjEQ_DISTANCE:
mju_error("distance equality constraints are no longer supported");
break;
default:
mju_error_i("Unknown constraint type type %d", m->eq_type[id]); // SHOULD NOT OCCUR
}