# `BB.Robot.Builder`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/robot/builder.ex#L5)

Builds an optimised `BB.Robot` struct from DSL output.

This module traverses the nested DSL structure and produces a flat,
optimised representation suitable for kinematic computations.

# `build`

```elixir
@spec build(module()) :: BB.Robot.t()
```

Build a Robot struct from a robot module that uses the BB DSL.

# `build_from_dsl`

```elixir
@spec build_from_dsl(atom(), BB.Dsl.Link.t()) :: BB.Robot.t()
```

Build a Robot struct from a DSL root link.

---

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