Search documentation of bb

# BB.Robot.Builder (bb v0.17.0)

Copy Markdown View Source

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.

## Summary

### Functions

build(robot_module)

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

build_from_dsl(name, root_dsl_link)

Build a Robot struct from a DSL root link.

## Functions

# build(robot_module)

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

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

# build_from_dsl(name, root_dsl_link)

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

Build a Robot struct from a DSL root link.