BB.LinkSupervisor (bb v0.15.3)

Copy Markdown View Source

Supervisor for a link and its joints.

Supervises:

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

Summary

Functions

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