mjtConDataField — data fields returned by contact sensors. From MuJoCo's headers, as numbers. All 10 values carry a number in the header.
Summary
Functions
mjCONDATA_ANGVEL is 8 — contact angular velocity.
mjCONDATA_DIST is 3 — contact penetration distance.
mjCONDATA_FORCE is 1 — contact force.
mjCONDATA_FOUND is 0 — whether a contact was found.
mjCONDATA_LINVEL is 7 — contact linear velocity.
mjNCONDATA is 9 — number of contact sensor data fields.
mjCONDATA_NORMAL is 5 — contact frame normal.
mjCONDATA_POS is 4 — contact position.
mjCONDATA_TANGENT is 6 — contact frame first tangent.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjCONDATA_TORQUE is 2 — contact torque.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec angvel() :: 8
mjCONDATA_ANGVEL is 8 — contact angular velocity.
@spec dist() :: 3
mjCONDATA_DIST is 3 — contact penetration distance.
@spec force() :: 1
mjCONDATA_FORCE is 1 — contact force.
@spec found() :: 0
mjCONDATA_FOUND is 0 — whether a contact was found.
@spec linvel() :: 7
mjCONDATA_LINVEL is 7 — contact linear velocity.
@spec mjncondata() :: 9
mjNCONDATA is 9 — number of contact sensor data fields.
@spec normal() :: 5
mjCONDATA_NORMAL is 5 — contact frame normal.
@spec pos() :: 4
mjCONDATA_POS is 4 — contact position.
@spec tangent() :: 6
mjCONDATA_TANGENT is 6 — contact frame first tangent.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec torque() :: 2
mjCONDATA_TORQUE is 2 — contact torque.
Every value, as {name, integer}, in the order the header lists them.