Based on 7_keyboard_ee_control_joint_impedance.py, with pygame replaced by a web UI. Remote control via browser, no X11 forwarding required.
with pygame keyboard input added. POS_STEP = 0.001 # Per-frame position step (m) ROT_STEP = 0.2 # Per-frame rotation step (degrees) CTRL_FREQ_IMP = 2000 # Control thread frequency (Hz) CTRL_FREQ_KEY = ...