Dev.GaitSelector (BB.TUI v0.7.0)

Copy Markdown View Source

Minimal parameter-owning component for the dev robot.

Registers a hand-written param_schema/0 under [:gait], the way a real locomotion component would. The schema's {:in, values} type cannot be declared through the robot DSL's param entity, and it is what drives the parameter panel's fixed-set cycling — h/l on the gait.pattern row steps through the allowed values with wrap-around.

The process itself does nothing beyond the registration; the robot's runtime owns the parameter value once the schema is registered.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the selector and registers its parameter schema with :robot.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()

Starts the selector and registers its parameter schema with :robot.