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
-2
View File
@@ -2957,8 +2957,6 @@ void mjCEquality::Compile(void) {
objtype = mjOBJ_JOINT;
} else if (type==mjEQ_TENDON) {
objtype = mjOBJ_TENDON;
} else if (type==mjEQ_DISTANCE) {
objtype = mjOBJ_GEOM;
} else {
throw mjCError(this, "invalid type in equality constraint '%s' (id = %d)'", name.c_str(), id);
}