BB.Kino.JointControl (bb_kino v0.4.1)

Copy Markdown View Source

A Kino widget for controlling robot joint positions.

Displays a table of all movable joints with:

  • Joint name and type
  • Current position (updated in real-time)
  • Position limits (min/max)
  • Draggable slider for setting target position

Safety: Controls are only enabled when the robot is armed. Moving a slider waits for the actuator to accept the command and shows the refusal if it doesn't, so a joint that isn't moving says why.

Usage

BB.Kino.JointControl.new(MyRobot)

The widget automatically:

  • Discovers all joints from the robot topology
  • Subscribes to sensor messages for position updates
  • Subscribes to state machine for armed/disarmed state
  • Sends position commands to actuators when slider changes

Summary

Functions

Creates a new joint control widget for the given robot.

Functions

new(robot_module)

@spec new(module()) :: Kino.JS.Live.t()

Creates a new joint control widget for the given robot.