Spot SDK Guides

Get-Image / Image-Viewer

Verify Connection First

You will want to make sure that Spot and your computer are connected to the same network. Follow this guide.

Get Image

This will get an image from one of Tape Measures cameras!

Windows 10/11

  1. Start by opening up command prompt and getting into your virtual environment.
  2. To get into virtual environment paste:
    .\my_spot_env\Scripts\activate.bat
  3. Paste in the command:
    python.exe -m pip install -r requirements.txt
  4. It’s normal if it takes a little bit.
  5. Next you will want to run the command:
    python.exe get_image.py SPOT-IP --image-sources frontleft_fisheye_image --image-sources frontleft_depth # Replace SPOT-IP with the network address given to it
  6. For username and password please see Dwight!
  7. With Get-Image you'll find the images saved in the get_image folder. Here is an example:

For Mac & Ubuntu users:

  1.  You will want to navigate to the directory of your Spot-SDK
  2. The you will want to source your virtual environment so your computer know where to access the files:
    source my_spot_env/bin/activate
  3. Your going to want to navigate to your spot-sdk folder
  4. Then cd into your get_image folder of the Spot SDK
    cd ./python/examples/get_image
  5. Paste the following command to make sure the required python packages are installed:
    python3 -m pip install -r requirements.txt

  6. It’s normal if it takes a little bit.
  7. Next you will want to run the command:
    python3 get_image.py SPOT-IP --image-sources frontleft_fisheye_image --image-sources frontleft_depth # Replace SPOT-IP with the network address given to it

  8. For username and password please see Dwight!
  9. With Get-Image you'll find the images saved in the get_image folder. Here is an example:

Image-Viewer

For streaming one of Spot's cameras.

Windows 10/11

  1. Start by opening up command prompt and getting into your virtual environment.
  2. To get into virtual environment paste:
    .\my_spot_env\Scripts\activate.bat
  3. Paste in the command:
    python.exe -m pip install -r requirements.txt
  4. It’s normal if it takes a little bit.
  5. Next you will want to run the command:
    python.exe get_image.py SPOT-IP --image-sources frontleft_fisheye_image --image-sources frontleft_depth # Replace SPOT-IP with the network address given to it
  6. For username and password please see Dwight!
  7. With Get-Image you'll find the images saved in the get_image folder.

*IMPORTANT* When in streaming mode press ESC to exit the viewer.

*You should get images such as this one:


Want it to show you color? How about adjusting the picture’s size? You can mess with arguments during meetings! So be there!

Camera Streams

This is an Spot-SDK python example edited by John Sermarini. Basically it stiches together Spot's front two RGB cameras and streams them back to the users computer.

This stream can be unreliable and be intensive to run. No current work is being done to optimize it.

Live_Feed.zip

Verifying Connection to Spot

Verifying Connection:

  1. Make sure Tape Measure and your device are on the same network.
  2. Ping Spot by opening command prompt and paste:

Windows 10/11: 

python.exe -m bosdyn.client SPOT-IP id   # Replace SPOT-IP with the network address given to it

For Mac & Ubuntu users:

python3 -m bosdyn.client SPOT-IP id # Replace SPOT-IP with the network address given to it

This should return Tape Measure's name and ID.

*Should look something like this: