API Reference ExMujoco v#0.2.2

Copy Markdown View Source

Modules

MuJoCo, from Elixir.

MuJoCo's own functions, bound one for one, under the names MuJoCo gives them.

The fields of mjData, read one at a time.

What MuJoCo says when it refuses.

Turns MuJoCo's headers into the bindings this package ships.

Reads MuJoCo's C headers into data.

The text this package generates, from the shapes ExMujoco.Gen hands it.

Loading the NIF, and refusing to go on if it does not match the headers it was generated from.

The fields of mjModel, read one at a time.

Offscreen rendering: the images a scene has, through a camera in it.

A field of an mjModel or mjData, as a value: the elements, their type, and the shape MuJoCo declared them with.

mjtActuator — actuator element, which owns its shortcut parameters. From MuJoCo's headers, as numbers. All 12 values carry a number in the header.

mjtAlignFree — whether to align free joints with the inertial frame. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtBias — type of actuator bias. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

mjtBuiltin — type of built-in procedural texture. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtButton — mouse button. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtCTimer — compiler timing categories. From MuJoCo's headers, as numbers. All 10 values carry a number in the header.

mjtCamLight — tracking mode for camera and light. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtCamOutBit — camera output type bitflags. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

mjtCamera_ — abstract camera type. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtCatBit_ — bitflags for mjvGeom category. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtColorSpace — type of color space encoding. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtConDataField — data fields returned by contact sensors. From MuJoCo's headers, as numbers. All 10 values carry a number in the header.

mjtCone — type of friction cone. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtConflict — conflict resolution for attach. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtConstraint — type of constraint. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.

mjtConstraintState — constraint state. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtCtrlChart — so3 input signature (actuator_ctrlspec): orientation chart. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtCtrlInput — input signature (actuator_ctrlspec): present/declared inputs. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

mjtDataType — data type for sensors. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtDepthMap_ — depth mapping for mjr_readPixels. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtDisableBit — disable default feature bitflags. From MuJoCo's headers, as numbers. All 21 values carry a number in the header.

mjtDyn — type of actuator dynamics. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.

mjtEmbed — whether an asset's payload is in the model. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtEnableBit — enable optional feature bitflags. From MuJoCo's headers, as numbers. All 9 values carry a number in the header.

mjtEq — type of equality constraint. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.

mjtEvent — mouse and keyboard event type. From MuJoCo's headers, as numbers. All 9 values carry a number in the header.

mjtFlexSection — cross-section of 1D flex elasticity. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtFlexSelf — mode for flex selfcollide. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtFont_ — font type, used at each text operation. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtFontScale_ — font scale, used at context creation. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

mjtFrame_ — frame visualization. From MuJoCo's headers, as numbers. All 9 values carry a number in the header.

mjtFramebuffer_ — OpenGL framebuffer option. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtGain — type of actuator gain. From MuJoCo's headers, as numbers. All 7 values carry a number in the header.

mjtGeom — type of geometric shape. From MuJoCo's headers, as numbers. All 20 values carry a number in the header.

mjtGeomInertia — type of inertia inference. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtGridPos_ — grid position for overlay. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.

mjtInertiaFromGeom — whether to infer body inertias from child geoms. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtIntegrator — integrator mode. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtItem — UI item type. From MuJoCo's headers, as numbers. All 17 values carry a number in the header.

mjtJacobian — type of constraint Jacobian. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtJoint — type of degree of freedom. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtLRMode — mode for actuator length range computation. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtLabel_ — object labeling. From MuJoCo's headers, as numbers. All 18 values carry a number in the header.

mjtLightType — type of light. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtLimited — type of limit specification. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtLogLevel — log message severity. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtLogTopic — log topic identifiers. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtMark — mark type for procedural textures. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtMeshBuiltin — type of built-in procedural mesh. From MuJoCo's headers, as numbers. All 14 values carry a number in the header.

mjtMeshInertia — type of mesh inertia. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjrIndexType_ — data type of index buffer data. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjrMeshPrimitiveType_ — type of mesh primitive. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjrPixelFormat_ — pixel format for textures. From MuJoCo's headers, as numbers. All 7 values carry a number in the header.

mjrVertexAttributeType_ — data format of a vertex attribute. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjrVertexAttributeUsage_ — usage/purpose of a vertex attribute. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtMouse_ — mouse interaction mode. From MuJoCo's headers, as numbers. All 10 values carry a number in the header.

mjtObj — type of MujoCo object. From MuJoCo's headers, as numbers. All 30 values carry a number in the header.

mjtOrientation — type of orientation specifier. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtPassthrough — which assets the compiler leaves by reference (bitmask). From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtPertBit_ — mouse perturbations. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtPluginCapabilityBit_. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtProjection — type of camera projection. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtRayDataField — data fields returned by rangefinder sensors. From MuJoCo's headers, as numbers. All 7 values carry a number in the header.

mjtRndFlag_ — flags enabling rendering effects. From MuJoCo's headers, as numbers. All 13 values carry a number in the header.

mjtSDFType — signed distance function (SDF) type. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtSameFrame — frame alignment of bodies with their children. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.

mjtScaling — physical policy of a frame's scale. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtSection — UI section state. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtSensor — type of sensor. From MuJoCo's headers, as numbers. All 49 values carry a number in the header.

mjtSleepPolicy — per-tree sleep policy. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

mjtSleepState — sleep state of an object. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtSolver — constraint solver algorithm. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtStage — computation stage. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.

mjtState — state elements. From MuJoCo's headers, as numbers. All 20 values carry a number in the header.

mjtStereo_ — type of stereo rendering. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtTendon — type of tendon. From MuJoCo's headers, as numbers. All 2 values carry a number in the header.

mjtTexture — type of texture. From MuJoCo's headers, as numbers. All 3 values carry a number in the header.

mjtTextureRole — role of texture map in rendering. From MuJoCo's headers, as numbers. All 11 values carry a number in the header.

mjtTimer — internal timers. From MuJoCo's headers, as numbers. All 16 values carry a number in the header.

mjtTrn — type of actuator transmission. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.

mjtVisFlag_ — flags enabling model element visualization. From MuJoCo's headers, as numbers. All 32 values carry a number in the header.

mjtWarning — warning types. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.

mjtWrap — type of tendon wrap object. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

Mix Tasks

Rewrites the NIF bindings, the Elixir that calls them, and docs/coverage.md from the MuJoCo headers this build is against.