mjtConstraintState, from MuJoCo's headers, as numbers. All 5 values carry a number in the header.
Summary
Functions
mjCNSTRSTATE_CONE is 4.
mjCNSTRSTATE_LINEARNEG is 2.
mjCNSTRSTATE_LINEARPOS is 3.
mjCNSTRSTATE_QUADRATIC is 1.
mjCNSTRSTATE_SATISFIED is 0.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec cone() :: 4
mjCNSTRSTATE_CONE is 4.
@spec linearneg() :: 2
mjCNSTRSTATE_LINEARNEG is 2.
@spec linearpos() :: 3
mjCNSTRSTATE_LINEARPOS is 3.
@spec quadratic() :: 1
mjCNSTRSTATE_QUADRATIC is 1.
@spec satisfied() :: 0
mjCNSTRSTATE_SATISFIED is 0.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.