Search documentation of bb

# BB.LinkSupervisor (bb v0.8.0)

View Source

Supervisor for a link and its joints.

Supervises:

- Link sensors
- Joint supervisors for each joint attached to this link

# Summary

## Functions

start_link(arg)

Starts the link supervisor.

# Functions

# start_link(arg)

    @spec start_link({module(), BB.Dsl.Link.t(), [atom()], Keyword.t()}) ::
      Supervisor.on_start()

Starts the link supervisor.

## Arguments

- `robot_module` - The robot module (e.g., `MyRobot`)
- `link` - The `BB.Dsl.Link` struct
- `path` - The path to this link (e.g., `[]` for root, `[:base_link, :shoulder]` for nested)
- `opts` - Options passed through to child processes