Controlling the Robot with a Keyboard

This example creates an interface for operating Spot with your keyboard.

Setup Dependencies

See requirements.txt for the dependencies required for this example. Using pip, these dependencies can be installed using:

python3 -m pip install -r requirements.txt

Running the Example

python3 ROBOT_IP

When run, this example will create an interface in your terminal listing the controls which are as follows:

Button Functionality
wasd Directional Strafing
qe Turning
f Stand
v Sit
I Take image
T Time-sync
O Video mode
r Self-right
b Battery-Change Pose
l Return/Acquire Lease
P Motor power & Control
Tab Exit