Resources

Setup to work with TapeMeasure

Setup to work with TapeMeasure

Tape Measure Basic Step Up - SDK File & Virtualenv

This setup guide is for Windows 10/11 & Mac users only!

System Requirements:

A screenshot of a computer

Description automatically generated

*Click on the extensions button

A screenshot of a computer

Description automatically generated

*Type “python” into the search bar and it should be the first option by Microsoft

A screenshot of a computer

Description automatically generated


Spot SDK File:

*Should look like this:

A computer screen shot of a black screen

Description automatically generated

*Should look something like this:

A screenshot of a computer

Description automatically generated

A screenshot of a computer program

Description automatically generated

If this for some reason does not work for you, you can manually install it by going here.

*Click on the green “Code” button

A screenshot of a computer

Description automatically generated

*Then click Download ZIP

A screenshot of a computer

Description automatically generated

*After it finishes downloading, right-click on the folder in your download and click on extract all

A screenshot of a computer

Description automatically generated

*Open the extracted folder and right-click it to “Open with Code.”

*It should look something like this, with the contents of the folder on either the left- or right-hand side of the window.

A screenshot of a computer program

Description automatically generated

Pip Installation:

For Windows 11/Mac users:

Virtualenv

For Windows 11/Mac users:

*Should look like something like this:

A screenshot of a computer screen

Description automatically generated

Spot Packages

*Should look something like this:

A black screen with white text

Description automatically generated

*Should look like this:

A screenshot of a computer program

Description automatically generated

After this you're all set up! If you run into any trouble while setting up contact @Cai or @Dwight Howard, II on Discord.

Setup to work with TapeMeasure

VS Code setup for TapeMeasure

Linux

Ubuntu

  1. First thing your going to want to do is download the .deb to the VS Code download site. If you download the the .rpm file you will need to follow another guide.
  2. Once the file has finished downloading you will want to open up your files software and navigate to your downloads folder or whenever you have set your browser to download. 
  3. Right click and then Open in terminal.
  4. Press Tab and Enter:
    sudo apt inatall ./code
  5. Once the install has finished you will want to open up VS Code and then Open folder and you will want to find your Spot-SDK folder or workspace folder.

Windows

Windows 10/11

  1. First thing your going to want to do is download the windows installer to the VS Code download site.
  2. Once the file has finished downloading you will want to run the installer.
  3. Once the install has finished you will want to open up VS Code and then Open folder and you will want to find your Spot-SDK folder or workspace folder.
Setup to work with TapeMeasure

New Page

Docker

Docker

Ubuntu Example Docker

Spot SDK Guides

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!

Spot SDK Guides

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

Spot SDK Guides

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: