Simple program to simulate a dog waiting to be pet with Spot.
For your best learning experience, please use the Quickstart Guide found in the SDK's docs/python directory. That will help you get your Python programming environment set up properly. Then, specifically for Hello Spot, you should look at the Understanding Spot Programming file in the same directory. This document walks you through all the commands found in this example!
See the requirements.txt file for a list of python dependencies which can be installed with pip using the command:
python3 -m pip install -r requirements.txt
- Remember, you will need to launch a software e-stop separately. The E-Stop programming example is here.
- Make sure the Motor Enable button on the Spot rear panel is depressed.
- If you have a problem with Pillow/PIL, did you run the pip install with the requirements.txt as described above?
- Make sure Spot is sitting upright, with the battery compartment on the side closest the floor.
To run the example:
python3 spot_good_boi.py ROBOT_IP