# `ExMujoco.Types.Warning`
[🔗](https://github.com/d-led/ex.mujoco/blob/main/lib/ex_mujoco/types/warning.ex#L2)

`mjtWarning`, from MuJoCo's headers, as numbers. All 8 values carry a number in the header.

# `t`

```elixir
@type t() :: integer()
```

# `badctrl`

```elixir
@spec badctrl() :: 6
```

mjWARN_BADCTRL is 6.

# `badqacc`

```elixir
@spec badqacc() :: 5
```

mjWARN_BADQACC is 5.

# `badqpos`

```elixir
@spec badqpos() :: 3
```

mjWARN_BADQPOS is 3.

# `badqvel`

```elixir
@spec badqvel() :: 4
```

mjWARN_BADQVEL is 4.

# `cnstrfull`

```elixir
@spec cnstrfull() :: 2
```

mjWARN_CNSTRFULL is 2.

# `contactfull`

```elixir
@spec contactfull() :: 1
```

mjWARN_CONTACTFULL is 1.

# `inertia`

```elixir
@spec inertia() :: 0
```

mjWARN_INERTIA is 0.

# `mjnwarning`

```elixir
@spec mjnwarning() :: 7
```

mjNWARNING is 7.

# `to_atom`

```elixir
@spec to_atom(integer() | atom()) :: atom() | nil
```

The name behind an integer. An atom is already one.

# `to_integer`

```elixir
@spec to_integer(t() | atom()) :: integer() | nil
```

The integer behind a name. An integer is already one.

# `values`

```elixir
@spec values() :: [{atom(), integer()}]
```

Every value, as `{name, integer}`, in the order the header lists them.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
