BB.Robot.Builder (bb v0.15.2)

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 a Robot struct from a robot module that uses the BB DSL.

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.