mjtGain — type of actuator gain. From MuJoCo's headers, as numbers. All 7 values carry a number in the header.
Summary
Functions
mjGAIN_AFFINE is 1 — const + kplength + kvvelocity.
mjGAIN_DCMOTOR is 3 — DC motor gain: K or K/R.
mjGAIN_FIXED is 0 — fixed gain.
mjGAIN_MUSCLE is 2 — muscle FLV curve computed by mju_muscleGain().
mjGAIN_PID is 5 — PID controller: position and velocity setpoint inputs.
mjGAIN_SO3 is 4 — geodesic servo on an SO3 transmission: force = kp * log(error).
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjGAIN_USER is 6 — user-defined gain type.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec affine() :: 1
mjGAIN_AFFINE is 1 — const + kplength + kvvelocity.
@spec dcmotor() :: 3
mjGAIN_DCMOTOR is 3 — DC motor gain: K or K/R.
@spec fixed() :: 0
mjGAIN_FIXED is 0 — fixed gain.
@spec muscle() :: 2
mjGAIN_MUSCLE is 2 — muscle FLV curve computed by mju_muscleGain().
@spec pid() :: 5
mjGAIN_PID is 5 — PID controller: position and velocity setpoint inputs.
@spec so3() :: 4
mjGAIN_SO3 is 4 — geodesic servo on an SO3 transmission: force = kp * log(error).
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec user() :: 6
mjGAIN_USER is 6 — user-defined gain type.
Every value, as {name, integer}, in the order the header lists them.