Move mjtConstraintState from mjmodel.h to mjdata.h.

This is the correct location, this enum is only used in `mjData`, not `mjModel`.

PiperOrigin-RevId: 798860951
Change-Id: I48b9a2afc831bd9a6966cc9586429fd03605bdd2
This commit is contained in:
Yuval Tassa
2025-08-24 12:37:02 -07:00
committed by Copybara-Service
parent 1c1bb14e1c
commit d77ecb3f06
6 changed files with 45 additions and 44 deletions
+10 -9
View File
@@ -338,15 +338,6 @@ of active constraints is constructed at each simulation time step.
.. mujoco-include:: mjtConstraint
.. _mjtConstraintState:
mjtConstraintState
~~~~~~~~~~~~~~~~~~
These values are used by the solver internally to keep track of the constraint states.
.. mujoco-include:: mjtConstraintState
.. _mjtSensor:
@@ -440,6 +431,16 @@ State component elements as integer bitflags and several convenient combinations
.. mujoco-include:: mjtState
.. _mjtConstraintState:
mjtConstraintState
~~~~~~~~~~~~~~~~~~
These values are used by the solver internally to keep track of the constraint states.
.. mujoco-include:: mjtConstraintState
.. _mjtWarning:
mjtWarning