BB.Kino.JointControl (bb_kino v0.3.3)
View SourceA 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. Position commands are not sent when the robot is disarmed.
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
@spec new(module()) :: Kino.JS.Live.t()
Creates a new joint control widget for the given robot.