Move mjtConstraint from mjmodel.h to mjdata.h.

PiperOrigin-RevId: 798987338
Change-Id: I3117742de7eb3c16366f266fe0c0651262717cb4
This commit is contained in:
Yuval Tassa
2025-08-24 23:44:25 -07:00
committed by Copybara-Service
parent d77ecb3f06
commit 2b45b39ce5
6 changed files with 58 additions and 58 deletions
+10 -10
View File
@@ -115,6 +115,16 @@ public const int mjVERSION_HEADER = 336;
// ------------------------------------Enums------------------------------------
public enum mjtConstraint : int{
mjCNSTR_EQUALITY = 0,
mjCNSTR_FRICTION_DOF = 1,
mjCNSTR_FRICTION_TENDON = 2,
mjCNSTR_LIMIT_JOINT = 3,
mjCNSTR_LIMIT_TENDON = 4,
mjCNSTR_CONTACT_FRICTIONLESS = 5,
mjCNSTR_CONTACT_PYRAMIDAL = 6,
mjCNSTR_CONTACT_ELLIPTIC = 7,
}
public enum mjtConstraintState : int{
mjCNSTRSTATE_SATISFIED = 0,
mjCNSTRSTATE_QUADRATIC = 1,
@@ -341,16 +351,6 @@ public enum mjtObj : int{
mjOBJ_DEFAULT = 101,
mjOBJ_MODEL = 102,
}
public enum mjtConstraint : int{
mjCNSTR_EQUALITY = 0,
mjCNSTR_FRICTION_DOF = 1,
mjCNSTR_FRICTION_TENDON = 2,
mjCNSTR_LIMIT_JOINT = 3,
mjCNSTR_LIMIT_TENDON = 4,
mjCNSTR_CONTACT_FRICTIONLESS = 5,
mjCNSTR_CONTACT_PYRAMIDAL = 6,
mjCNSTR_CONTACT_ELLIPTIC = 7,
}
public enum mjtSensor : int{
mjSENS_TOUCH = 0,
mjSENS_ACCELEROMETER = 1,