feathersdk.cli.control.keyboard Module

feathersdk.cli.control.keyboard.KEY_HOLD_S = 0.35

Seconds after the last key event before the whole chord is released.

Terminals only auto-repeat the most recently pressed key, so every motion key seen since the last idle gap stays in the chord until stdin goes quiet.

feathersdk.cli.control.keyboard.CONTROL_HZ = 20.0

How often held-key state is turned into robot commands.

feathersdk.cli.control.keyboard.control_loop(robot)

Interactive keyboard control with combinable holonomic keys.

Parameters:

robot (FeatherRobot)

Return type:

None

feathersdk.cli.control.keyboard.control_keyboard(config_path)
Parameters:

config_path (str | None)

Return type:

None