This example creates an interface for operating Spot with your keyboard.
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
python3 wasd.py 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 |
SPACE | E-Stop |
P | Motor power & Control |
Tab | Exit |