API Example - Using the World Object Service¶
These examples demonstrate how to use the world object service to list the objects Spot can detect, and filter these lists for specific objects or objects after a certain time stamp.
These examples need to be run with python3, and have the SDK 2.0 installed. See the requirements.txt file for a list of dependencies which can be installed with pip using the command:
python -m pip install -r requirements.txt
Running the Example¶
To run the examples:
python get_world_objects.py --username USER --password PASSWORD ROBOT_IP